News by Country and Indicator

This endpoint allows for the retrieval of news filtered by country and indicator.

Using Requests:

import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/news/country/mexico/inflation%20rate?c={your_api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

te.getNews(country = 'mexico', indicator = 'inflation rate')  

Using Requests:

const axios = require('axios');
(async () => {
    const your_api_key = 'your_api_key'
    const response = await axios.get(`https://api.tradingeconomics.com/news/country/mexico/inflation%20rate?c=${your_api_key}`)
    console.log(response.data)
})()

Or using our package:

data = te.getNews(country = 'mexico', indicator = 'inflation rate').then(function(data){
    console.log(data)     
});

Using Requests:

new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/news/country/mexico/inflation%20rate?c=your_api_key");
https://api.tradingeconomics.com/news/country/{countries}/{indicators}?c={your_api_key}&f=json
[
  {
    "id": "364348",
    "title": "Mexico Inflation Rate Close to 6-Month Lows",
    "date": "2023-01-09T12:12:00",
    "description": "Mexico’s annual inflation rate rose marginally to 7.82% in December of 2022, from 7.80% in the prior month, but holding close to six-month lows and below market forecasts of 7.86%. Prices increased slightly faster for food & non-alcoholic beverages (12.70% vs 12.41% in November); housing & utilities (2.26% vs 1.38%) and health (6.50% vs 6.33%). Meanwhile, there was a slowdown in prices of other CPI items such as alcoholic beverages & tobacco (9.02% vs 9.27%); furnishings & household equipment (8.21% vs 8.63%); transportation (6.52% vs 7.74%); recreation & culture (4.68% vs 5.50%) and clothing & footwear (6% vs 6.74%). The annual core inflation rate eased to 8.35% from an over 22-year high of 8.51% in the prior month and roughly in line with market expectations of 8.36%. On a monthly basis, consumer prices rose by 0.38% in December, the least in seven months and under market estimates of a 0.43% increase.",
    "country": "Mexico",
    "category": "Inflation Rate",
    "symbol": "MXCPYOY",
    "url": "/mexico/inflation-cpi",
    "importance": 2
  },
  {
    "id": "361985",
    "title": "Mexico November Inflation Rate Falls to 7.8%",
    "date": "2022-12-08T12:11:00",
    "description": "Mexico’s annual inflation rate eased for the second month to 7.8% in November of 2022, from 8.41% in the prior month, below a two-decade high of 8.7% in August and September, and market estimates of 7.93%. This was the lowest reading since May largely due to the impact of pre-Christmas offers and discounts known as \"Buen Fin\" on some goods and services. Prices slowed down mostly for food & non-alcoholic beverages (12.41% vs  14.54% in October); furnishing & household equipment (8.63% vs 8.8%) and transportation (7.74% vs 7.86%). Meanwhile, prices accelerated for restaurants & hotels (12.42% vs 12.26%); miscellaneous goods & services (10.44% vs 10.18%), and clothing & footwear (6.74% vs 6.03%). Still, the annual core inflation rate ticked up to 8.51%, the highest since August of 2000, from 8.42% in the previous month. On a monthly basis, consumer prices were up by 0.58% in November, up slightly from a 0.57% rise in October but below market forecasts of a 0.69% increase.",
    "country": "Mexico",
    "category": "Inflation Rate",
    "symbol": "MXCPYOY",
    "url": "/mexico/inflation-cpi",
    "importance": 2
  },
  {
    "id": "359188",
    "title": "Mexico Inflation Remains Near 2-Decade High",
    "date": "2022-11-09T12:11:00",
    "description": "Mexico’s annual inflation rate eased to 8.41% in October of 2022, from 8.70% in September but remained close to the highest level in nearly 22 years, well above the central bank’s 2%–4.0% target range. The reading came slightly below market forecasts of 8.46%. Prices slowed a bit for food & non-alcoholic beverages (14.54% vs 14.55% in September); furnishings & household equipment (8.80% vs 9.10%); recreation & culture (5.54% vs 5.73%) and housing & utilities (1.75% vs 3.60%). Meanwhile, prices continued to climb for other CPI items, such as restaurants & hotels (12.26% vs 11.49%); miscellaneous goods & services (10.18% vs 9.94%); transportation (7.86% vs 7.53%); alcoholic beverages & tobacco (9.52% vs 9.03%) and clothing & footwear (6.03% vs 5.79%). The annual core inflation rate rose to 8.42%, the highest since late 2000,  quickening from 8.28% in the previous month. On a monthly basis, consumer prices were up by 0.57% in October, the least in five months and below forecasts of 0.61%.",
    "country": "Mexico",
    "category": "Inflation Rate",
    "symbol": "MXCPYOY",
    "url": "/mexico/inflation-cpi",
    "importance": 3
  },
  {
    "id": "356019",
    "title": "Mexico Inflation Rate Steady at Highest Since 2000",
    "date": "2022-10-07T11:26:43.877",
    "description": "Consumer prices in Mexico rose 8.7 percent year-on-year in September of 2022, the same as in the previous month, remaining the highest inflation rate since December 2000 and almost in line with market expectations of 8.75 percent. On a monthly basis, consumer prices went up 0.62 percent, below forecasts of 0.67 percent and easing from a 0.7 percent increase in August.",
    "country": "Mexico",
    "category": "Inflation Rate",
    "symbol": "MXCPYOY",
    "url": "/mexico/inflation-cpi",
    "importance": 1
  },
  {
    "id": "353429",
    "title": "Mexico Inflation Rate Hits Highest Level Since 2000",
    "date": "2022-09-08T11:15:00",
    "description": "Mexico’s annual inflation rate rose to 8.70 percent in August of 2022 from 8.15 percent in the previous month, the highest reading since December of 2000 and slightly above expectations of 8.67 percent. Prices accelerated for both goods (10.55 percent vs. 10.07 percent in July), due to processed foods and beverages (12.94 percent vs. 12.09 percent), and services (5.19 percent vs. 4.90 percent), as housing costs edged higher (3.12 percent vs. 3.02 percent). At the same time, energy prices rose faster (7.25 percent vs. 4.76 percent). The core inflation rate rose to 8.05 percent, the highest since 2000, and picked up from 7.65 percent in the prior month. Monthly, consumer prices rose by 0.70 percent, above market expectations of 0.66 percent, but easing from the 0.74 percent increase in July.",
    "country": "Mexico",
    "category": "Inflation Rate",
    "symbol": "MXCPYOY",
    "url": "/mexico/inflation-cpi",
    "importance": 2
  }
]
https://api.tradingeconomics.com/news/country/{countries}/{indicators}?c={your_api_key}&f=csv
id,title,date,description,country,category,symbol,url,importance
364348,Mexico Inflation Rate Close to 6-Month Lows,1/9/2023 12:12:00 PM,"Mexico’s annual inflation rate rose marginally to 7.82% in December of 2022, from 7.80% in the prior month, but holding close to six-month lows and below market forecasts of 7.86%. Prices increased slightly faster for food & non-alcoholic beverages (12.70% vs 12.41% in November); housing & utilities (2.26% vs 1.38%) and health (6.50% vs 6.33%). Meanwhile, there was a slowdown in prices of other CPI items such as alcoholic beverages & tobacco (9.02% vs 9.27%); furnishings & household equipment (8.21% vs 8.63%); transportation (6.52% vs 7.74%); recreation & culture (4.68% vs 5.50%) and clothing & footwear (6% vs 6.74%). The annual core inflation rate eased to 8.35% from an over 22-year high of 8.51% in the prior month and roughly in line with market expectations of 8.36%. On a monthly basis, consumer prices rose by 0.38% in December, the least in seven months and under market estimates of a 0.43% increase.",Mexico,Inflation Rate,MXCPYOY,/mexico/inflation-cpi,2
361985,Mexico November Inflation Rate Falls to 7.8%,12/8/2022 12:11:00 PM,"Mexico’s annual inflation rate eased for the second month to 7.8% in November of 2022, from 8.41% in the prior month, below a two-decade high of 8.7% in August and September, and market estimates of 7.93%. This was the lowest reading since May largely due to the impact of pre-Christmas offers and discounts known as ""Buen Fin"" on some goods and services. Prices slowed down mostly for food & non-alcoholic beverages (12.41% vs  14.54% in October); furnishing & household equipment (8.63% vs 8.8%) and transportation (7.74% vs 7.86%). Meanwhile, prices accelerated for restaurants & hotels (12.42% vs 12.26%); miscellaneous goods & services (10.44% vs 10.18%), and clothing & footwear (6.74% vs 6.03%). Still, the annual core inflation rate ticked up to 8.51%, the highest since August of 2000, from 8.42% in the previous month. On a monthly basis, consumer prices were up by 0.58% in November, up slightly from a 0.57% rise in October but below market forecasts of a 0.69% increase.",Mexico,Inflation Rate,MXCPYOY,/mexico/inflation-cpi,2
359188,Mexico Inflation Remains Near 2-Decade High,11/9/2022 12:11:00 PM,"Mexico’s annual inflation rate eased to 8.41% in October of 2022, from 8.70% in September but remained close to the highest level in nearly 22 years, well above the central bank’s 2%–4.0% target range. The reading came slightly below market forecasts of 8.46%. Prices slowed a bit for food & non-alcoholic beverages (14.54% vs 14.55% in September); furnishings & household equipment (8.80% vs 9.10%); recreation & culture (5.54% vs 5.73%) and housing & utilities (1.75% vs 3.60%). Meanwhile, prices continued to climb for other CPI items, such as restaurants & hotels (12.26% vs 11.49%); miscellaneous goods & services (10.18% vs 9.94%); transportation (7.86% vs 7.53%); alcoholic beverages & tobacco (9.52% vs 9.03%) and clothing & footwear (6.03% vs 5.79%). The annual core inflation rate rose to 8.42%, the highest since late 2000,  quickening from 8.28% in the previous month. On a monthly basis, consumer prices were up by 0.57% in October, the least in five months and below forecasts of 0.61%.",Mexico,Inflation Rate,MXCPYOY,/mexico/inflation-cpi,3
https://api.tradingeconomics.com/news/country/{countries}/{indicators}?c={your_api_key}&f=xml
<ArrayOfArticlePreview xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<ArticlePreview>
<category>Inflation Rate</category>
<country>Mexico</country>
<date>2023-01-09T12:12:00</date>
<description>Mexico’s annual inflation rate rose marginally to 7.82% in December of 2022, from 7.80% in the prior month, but holding close to six-month lows and below market forecasts of 7.86%. Prices increased slightly faster for food & non-alcoholic beverages (12.70% vs 12.41% in November); housing & utilities (2.26% vs 1.38%) and health (6.50% vs 6.33%). Meanwhile, there was a slowdown in prices of other CPI items such as alcoholic beverages & tobacco (9.02% vs 9.27%); furnishings & household equipment (8.21% vs 8.63%); transportation (6.52% vs 7.74%); recreation & culture (4.68% vs 5.50%) and clothing & footwear (6% vs 6.74%). The annual core inflation rate eased to 8.35% from an over 22-year high of 8.51% in the prior month and roughly in line with market expectations of 8.36%. On a monthly basis, consumer prices rose by 0.38% in December, the least in seven months and under market estimates of a 0.43% increase.</description>
<id>364348</id>
<importance>2</importance>
<symbol>MXCPYOY</symbol>
<title>Mexico Inflation Rate Close to 6-Month Lows</title>
<url>/mexico/inflation-cpi</url>
</ArticlePreview>
<ArticlePreview>
<category>Inflation Rate</category>
<country>Mexico</country>
<date>2022-12-08T12:11:00</date>
<description>Mexico’s annual inflation rate eased for the second month to 7.8% in November of 2022, from 8.41% in the prior month, below a two-decade high of 8.7% in August and September, and market estimates of 7.93%. This was the lowest reading since May largely due to the impact of pre-Christmas offers and discounts known as "Buen Fin" on some goods and services. Prices slowed down mostly for food & non-alcoholic beverages (12.41% vs 14.54% in October); furnishing & household equipment (8.63% vs 8.8%) and transportation (7.74% vs 7.86%). Meanwhile, prices accelerated for restaurants & hotels (12.42% vs 12.26%); miscellaneous goods & services (10.44% vs 10.18%), and clothing & footwear (6.74% vs 6.03%). Still, the annual core inflation rate ticked up to 8.51%, the highest since August of 2000, from 8.42% in the previous month. On a monthly basis, consumer prices were up by 0.58% in November, up slightly from a 0.57% rise in October but below market forecasts of a 0.69% increase.</description>
<id>361985</id>
<importance>2</importance>
<symbol>MXCPYOY</symbol>
<title>Mexico November Inflation Rate Falls to 7.8%</title>
<url>/mexico/inflation-cpi</url>
</ArticlePreview>
<ArticlePreview>
<category>Inflation Rate</category>
<country>Mexico</country>
<date>2022-11-09T12:11:00</date>
<description>Mexico’s annual inflation rate eased to 8.41% in October of 2022, from 8.70% in September but remained close to the highest level in nearly 22 years, well above the central bank’s 2%–4.0% target range. The reading came slightly below market forecasts of 8.46%. Prices slowed a bit for food & non-alcoholic beverages (14.54% vs 14.55% in September); furnishings & household equipment (8.80% vs 9.10%); recreation & culture (5.54% vs 5.73%) and housing & utilities (1.75% vs 3.60%). Meanwhile, prices continued to climb for other CPI items, such as restaurants & hotels (12.26% vs 11.49%); miscellaneous goods & services (10.18% vs 9.94%); transportation (7.86% vs 7.53%); alcoholic beverages & tobacco (9.52% vs 9.03%) and clothing & footwear (6.03% vs 5.79%). The annual core inflation rate rose to 8.42%, the highest since late 2000, quickening from 8.28% in the previous month. On a monthly basis, consumer prices were up by 0.57% in October, the least in five months and below forecasts of 0.61%.</description>
<id>359188</id>
<importance>3</importance>
<symbol>MXCPYOY</symbol>
<title>Mexico Inflation Remains Near 2-Decade High</title>
<url>/mexico/inflation-cpi</url>
</ArticlePreview>
<ArticlePreview>
<category>Inflation Rate</category>
<country>Mexico</country>
<date>2022-10-07T11:26:43.877</date>
<description>Consumer prices in Mexico rose 8.7 percent year-on-year in September of 2022, the same as in the previous month, remaining the highest inflation rate since December 2000 and almost in line with market expectations of 8.75 percent. On a monthly basis, consumer prices went up 0.62 percent, below forecasts of 0.67 percent and easing from a 0.7 percent increase in August.</description>
<id>356019</id>
<importance>1</importance>
<symbol>MXCPYOY</symbol>
<title>Mexico Inflation Rate Steady at Highest Since 2000</title>
<url>/mexico/inflation-cpi</url>
</ArticlePreview>
<ArticlePreview>
<category>Inflation Rate</category>
<country>Mexico</country>
<date>2022-09-08T11:15:00</date>
<description>Mexico’s annual inflation rate rose to 8.70 percent in August of 2022 from 8.15 percent in the previous month, the highest reading since December of 2000 and slightly above expectations of 8.67 percent. Prices accelerated for both goods (10.55 percent vs. 10.07 percent in July), due to processed foods and beverages (12.94 percent vs. 12.09 percent), and services (5.19 percent vs. 4.90 percent), as housing costs edged higher (3.12 percent vs. 3.02 percent). At the same time, energy prices rose faster (7.25 percent vs. 4.76 percent). The core inflation rate rose to 8.05 percent, the highest since 2000, and picked up from 7.65 percent in the prior month. Monthly, consumer prices rose by 0.70 percent, above market expectations of 0.66 percent, but easing from the 0.74 percent increase in July.</description>
<id>353429</id>
<importance>2</importance>
<symbol>MXCPYOY</symbol>
<title>Mexico Inflation Rate Hits Highest Level Since 2000</title>
<url>/mexico/inflation-cpi</url>
</ArticlePreview>
</ArrayOfArticlePreview>
https://api.tradingeconomics.com/news/country/{countries}/{indicators}?c={your_api_key}
idtitledatedescriptioncountrycategorysymbolurlimportance
353429Mexico Inflation Rate Hits Highest Level Since 20009/8/2022 11:15:00 AM“Mexico’s annual inflation rate rose to 8.70 percent in August of 2022 from 8.15 percent…”MexicoInflation RateMXCPYOY/mexico/inflation-cpi2
350967Mexico Inflation Rate at 21-Year High8/9/2022 11:13:00 AM“Mexico’s annual inflation rate rose to 8.15 percent in July of 2022 from 7.99 percent in the…”MexicoInflation RateMXCPYOY/mexico/inflation-cpi2
347712Mexico Inflation Rate at 21-Year High7/7/2022 11:14:58 AM“Mexico’s annual inflation rate rose to 7.99 percent in June of 2022 from 7.65 percent in the…”MexicoInflation RateMXCPYOY/mexico/inflation-cpi1