Economic Calendar

Trading Economics provides its users with a nearly real-time economic calendar updated 24 hours a day. Actual values stem from official sources, not third-party data providers. Previous values are available before an economic indicator is reported and marked as revised accordingly. Survey consensus figures are provided displaying the average forecast among a representative group of economists.

Events

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/calendar?c={api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

import tradingeconomics as te
te.login('your_api_key')
te.getCalendarData()

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/calendar?c=${api_key}`)
    console.log(response.data)
})()

Or using our package:

const te = require('tradingeconomics');
te.login('your_api_key');
data = te.getCalendar().then(function (data) {
  console.log(data)
});

Using Requests:

using (var httpClient = new HttpClient())
{
    using (var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/calendar?c=your_api_key"))
    {
        request.Headers.TryAddWithoutValidation("Upgrade-Insecure-Requests", "1");
        var response = await httpClient.SendAsync(request);
        if (response.IsSuccessStatusCode)
        {
            var content = await response.Content.ReadAsStringAsync(); 
            Console.WriteLine(content);
        }
    }
}

The response data format can be configured by appending the &f= parameter to the URL request.

/calendar

CalendarIdDateCountryCategoryEventReferenceReferenceDateSourceSourceURLActualPreviousForecastTEForecastURLDateSpanImportanceLastUpdateRevisedCurrencyUnitTickerSymbol
3149911/3/2023 12:00:00 AMArgentinaTax RevenueTax RevenueDec12/31/2022 12:00:00 AM“Ministerio de Hacienda, Argentina”https://www.minhacienda.gob.arARS2307.48BARS1953.86BARS1956B/argentina/tax-revenue011/3/2023 3:35:32 AMARSBARGENTINATAXREVARGENTINATAXREV
3146051/3/2023 12:00:00 AMSingaporeGDP Growth RateGDP Growth Rate QoQ AdvQ412/31/2022 12:00:00 AMStatistics Singaporehttps://www.singstat.gov.sg/0.2%1.1%0.3%/singapore/gdp-growth021/3/2023 12:01:31 AM%SGDPQOQSGDPQOQ
3146061/3/2023 12:00:00 AMSingaporeGDP Annual Growth RateGDP Growth Rate YoY AdvQ412/31/2022 12:00:00 AMStatistics Singaporehttps://www.singstat.gov.sg/2.2%4.2%2.1%2.1%/singapore/gdp-growth-annual021/3/2023 12:00:00 AM4.1%%SGDPYOYSGDPYOY

/calendar?f=json

[{"CalendarId":"318980","Date":"2023-03-30T00:00:00","Country":"New Zealand","Category":"Business Confidence","Event":"ANZ Business Confidence","Reference":"Mar","ReferenceDate":"2023-03-31T00:00:00","Source":"ANZ Bank New Zealand","SourceURL":"https://www.anz.co.nz","Actual":"-43.4","Previous":"-43.3","Forecast":"","TEForecast":"-40","URL":"/new-zealand/business-confidence","DateSpan":"0","Importance":2,"LastUpdate":"2023-03-30T00:00:00.187","Revised":"","Currency":"","Unit":"","Ticker":"NZIEBCAC","Symbol":"NZIEBCAC"},{"CalendarId":"318764","Date":"2023-03-30T00:01:00","Country":"United Kingdom","Category":"Car Production","Event":"Car Production YoY","Reference":"Feb","ReferenceDate":"2023-02-28T00:00:00","Source":"The Society of Motor Manufacturers and Traders Limited (SMMT)","SourceURL":"https://www.smmt.co.uk/","Actual":"13.1%","Previous":"-0.3%","Forecast":"","TEForecast":"0.8%","URL":"/united-kingdom/car-production","DateSpan":"0","Importance":1,"LastUpdate":"2023-03-30T00:02:25.927","Revised":"","Currency":"","Unit":"%","Ticker":"UNITEDKINCARPRO","Symbol":"UNITEDKINCARPRO"},{"CalendarId":"318983","Date":"2023-03-30T01:00:00","Country":"Philippines","Category":"Producer Prices Change","Event":"PPI YoY","Reference":"Feb","ReferenceDate":"2023-02-28T00:00:00","Source":"Philippine Statistics Authority","SourceURL":"https://psa.gov.ph","Actual":"3.6%","Previous":"4.4%","Forecast":"","TEForecast":"4.0%","URL":"/philippines/producer-prices-change","DateSpan":"0","Importance":1,"LastUpdate":"2023-03-30T01:01:02.3","Revised":"4.2%","Currency":"","Unit":"%","Ticker":"PHILIPPINEPROPRICHA","Symbol":"PHILIPPINEPROPRICHA"}]

/calendar?f=csv

CalendarId,Date,Country,Category,Event,Reference,ReferenceDate,Source,SourceURL,Actual,Previous,Forecast,TEForecast,URL,DateSpan,Importance,LastUpdate,Revised,Currency,Unit,Ticker,Symbol
318980,3/30/2023 12:00:00 AM,New Zealand,Business Confidence,ANZ Business Confidence,Mar,3/31/2023 12:00:00 AM,ANZ Bank New Zealand,https://www.anz.co.nz,-43.4,-43.3,,-40,/new-zealand/business-confidence,0,2,3/30/2023 12:00:00 AM,,,,NZIEBCAC,NZIEBCAC
318764,3/30/2023 12:01:00 AM,United Kingdom,Car Production,Car Production YoY,Feb,2/28/2023 12:00:00 AM,The Society of Motor Manufacturers and Traders Limited (SMMT),https://www.smmt.co.uk/,13.1%,-0.3%,,0.8%,/united-kingdom/car-production,0,1,3/30/2023 12:02:25 AM,,,%,UNITEDKINCARPRO,UNITEDKINCARPRO
318983,3/30/2023 1:00:00 AM,Philippines,Producer Prices Change,PPI YoY,Feb,2/28/2023 12:00:00 AM,Philippine Statistics Authority,https://psa.gov.ph,3.6%,4.4%,,4.0%,/philippines/producer-prices-change,0,1,3/30/2023 1:01:02 AM,4.2%,,%,PHILIPPINEPROPRICHA,PHILIPPINEPROPRICHA

/calendar?f=xml

<ArrayOfCalendarItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<CalendarItem>
<CalendarId>318980</CalendarId>
<Date>2023-03-30T00:00:00</Date>
<Country>New Zealand</Country>
<Category>Business Confidence</Category>
<Event>ANZ Business Confidence</Event>
<Reference>Mar</Reference>
<ReferenceDate>2023-03-31T00:00:00</ReferenceDate>
<Source>ANZ Bank New Zealand</Source>
<SourceURL>https://www.anz.co.nz</SourceURL>
<Actual>-43.4</Actual>
<Previous>-43.3</Previous>
<Forecast/>
<TEForecast>-40</TEForecast>
<URL>/new-zealand/business-confidence</URL>
<DateSpan>0</DateSpan>
<Importance>2</Importance>
<LastUpdate>2023-03-30T00:00:00.187</LastUpdate>
<Revised/>
<Currency/>
<Unit/>
<Ticker>NZIEBCAC</Ticker>
<Symbol>NZIEBCAC</Symbol>
</CalendarItem>
<CalendarItem>
<CalendarId>318764</CalendarId>
<Date>2023-03-30T00:01:00</Date>
<Country>United Kingdom</Country>
<Category>Car Production</Category>
<Event>Car Production YoY</Event>
<Reference>Feb</Reference>
<ReferenceDate>2023-02-28T00:00:00</ReferenceDate>
<Source>The Society of Motor Manufacturers and Traders Limited (SMMT)</Source>
<SourceURL>https://www.smmt.co.uk/</SourceURL>
<Actual>13.1%</Actual>
<Previous>-0.3%</Previous>
<Forecast/>
<TEForecast>0.8%</TEForecast>
<URL>/united-kingdom/car-production</URL>
<DateSpan>0</DateSpan>
<Importance>1</Importance>
<LastUpdate>2023-03-30T00:02:25.927</LastUpdate>
<Revised/>
<Currency/>
<Unit>%</Unit>
<Ticker>UNITEDKINCARPRO</Ticker>
<Symbol>UNITEDKINCARPRO</Symbol>
</CalendarItem>
<CalendarItem>
<CalendarId>318983</CalendarId>
<Date>2023-03-30T01:00:00</Date>
<Country>Philippines</Country>
<Category>Producer Prices Change</Category>
<Event>PPI YoY</Event>
<Reference>Feb</Reference>
<ReferenceDate>2023-02-28T00:00:00</ReferenceDate>
<Source>Philippine Statistics Authority</Source>
<SourceURL>https://psa.gov.ph</SourceURL>
<Actual>3.6%</Actual>
<Previous>4.4%</Previous>
<Forecast/>
<TEForecast>4.0%</TEForecast>
<URL>/philippines/producer-prices-change</URL>
<DateSpan>0</DateSpan>
<Importance>1</Importance>
<LastUpdate>2023-03-30T01:01:02.3</LastUpdate>
<Revised>4.2%</Revised>
<Currency/>
<Unit>%</Unit>
<Ticker>PHILIPPINEPROPRICHA</Ticker>
<Symbol>PHILIPPINEPROPRICHA</Symbol>
</CalendarItem>
</ArrayOfCalendarItem>

Events list

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/calendar/events/country/china?c={api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

import tradingeconomics as te
te.login('your_api_key')
te.getCalendarEvents(country='china')

With multi countries:

te.getCalendarEvents(country=['china', 'canada'])

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/calendar/events/country/china?c=${api_key}`)
    console.log(response.data)
})()

Or using our package:

const te = require('tradingeconomics');
te.login('your_api_key');
data = te.getCalendarEvents(country = 'china').then(function(data){
    console.log(data)     
});

With multi countries:

data = te.getCalendarEvents(country = ['china', 'canada']).then(function(data){
    console.log(data)     
});

Using Requests:

using (var httpClient = new HttpClient())
{
    using (var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/calendar/events/country/china?c=your_api_key"))
    {
        request.Headers.TryAddWithoutValidation("Upgrade-Insecure-Requests", "1");
        var response = await httpClient.SendAsync(request);
        if (response.IsSuccessStatusCode)
        {
            var content = await response.Content.ReadAsStringAsync(); 
            Console.WriteLine(content);
        }
    }
}

With multi countries:

new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/calendar/events/country/china,canada?c=your_api_key");

The response data format can be configured by appending the &f= parameter to the URL request.

/calendar/events/country/{country}

CategoryEvent
1 Year MLF RatePBoC 1-Year MLF Announcement
Balance of TradeBalance of Trade
Banks Balance SheetNew Yuan Loans

/calendar/events/country/{country}?f=json

[{"Category":"1 Year MLF Rate","Event":"PBoC 1-Year MLF Announcement"},{"Category":"Balance of Trade","Event":"Balance of Trade"},{"Category":"Banks Balance Sheet","Event":"New Yuan Loans"}]

/calendar/events/country/{country}?f=csv

Category,Event
1 Year MLF Rate,PBoC 1-Year MLF Announcement
Balance of Trade,Balance of Trade
Banks Balance Sheet,New Yuan Loans

/calendar/events/country/{country}?f=xml

<ArrayOfEventsItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<EventsItem>
<Category>1 Year MLF Rate</Category>
<Event>PBoC 1-Year MLF Announcement</Event>
</EventsItem>
<EventsItem>
<Category>Balance of Trade</Category>
<Event>Balance of Trade</Event>
</EventsItem>
<EventsItem>
<Category>Banks Balance Sheet</Category>
<Event>New Yuan Loans</Event>
</EventsItem>
</ArrayOfEventsItem>

By date

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/calendar/country/All/2016-12-02/2016-12-03?c={api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

te.getCalendarData(initDate='2016-12-02', endDate='2016-12-03')

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/calendar/country/All/2016-12-02/2016-12-03?c=${api_key}`)
    console.log(response.data)
})()

Or using our package:

data = te.getCalendar(start_date = '2016-12-02', end_date = '2016-12-03').then(function(data){
    console.log(data)     
});

Using Requests:

new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/calendar/country/All/2016-12-02/2016-12-03?c=guest:guest");

/calendar/country/All/{yyyy-mm-dd}/{yyyy-mm-dd}

CalendarIdDateCountryCategoryEventReferenceReferenceDateSourceSourceURLActualPreviousForecastTEForecastURLDateSpanImportanceLastUpdateRevisedCurrencyUnitTickerSymbol
8565312/2/2016 12:30:00 AMAustraliaRetail Sales MoMRetail Sales MoMOct10/31/2016 12:00:00 AMAustralian Bureau of Statisticshttps://www.abs.gov.au0.5%0.6%0.3%0.2%/australia/retail-sales0212/2/2016 12:30:00 AM%AUSRETAILSALESMOMAUSRetailSalesMoM
10353612/2/2016 2:00:00 AMPhilippinesRetail Price IndexRetail Price Index YoYOct10/31/2016 12:00:00 AMPhilippine Statistics Authorityhttps://psa.gov.ph3.4%3%3.49%/philippines/retail-price-index0112/2/2016 8:35:00 AM%PHLRPIPHLRPI
10382712/2/2016 4:00:00 AMEast TimorInflation RateInflation Rate YoYOct10/31/2016 12:00:00 AM“National Statistics Directorate, Timor”https://www.statistics.gov.tl-1.3%-1.3%-1.1%/east-timor/inflation-cpi0112/2/2016 6:21:00 PM%TIMIMORINFNRATETIMIMORINFNRATE

/calendar/country/All/{yyyy-mm-dd}/{yyyy-mm-dd}?f=json

[{"CalendarId":"85653","Date":"2016-12-02T00:30:00","Country":"Australia","Category":"Retail Sales MoM","Event":"Retail Sales MoM","Reference":"Oct","ReferenceDate":"2016-10-31T00:00:00","Source":"Australian Bureau of Statistics","SourceURL":"http://www.abs.gov.au","Actual":"0.5%","Previous":"0.6%","Forecast":"0.3%","TEForecast":"0.2%","URL":"/australia/retail-sales","DateSpan":"0","Importance":2,"LastUpdate":"2016-12-02T00:30:00","Revised":"","Currency":"","Unit":"%","Ticker":"AUSRETAILSALESMOM","Symbol":"AUSRetailSalesMoM"},{"CalendarId":"103536","Date":"2016-12-02T02:00:00","Country":"Philippines","Category":"Retail Price Index","Event":"Retail Price Index YoY","Reference":"Oct","ReferenceDate":"2016-10-31T00:00:00","Source":"Philippine Statistics Authority","SourceURL":"https://psa.gov.ph","Actual":"3.4%","Previous":"3%","Forecast":"","TEForecast":"3.49%","URL":"/philippines/retail-price-index","DateSpan":"0","Importance":1,"LastUpdate":"2016-12-02T08:35:00","Revised":"","Currency":"","Unit":"%","Ticker":"PHLRPI","Symbol":"PHLRPI"},{"CalendarId":"103827","Date":"2016-12-02T04:00:00","Country":"East Timor","Category":"Inflation Rate","Event":"Inflation Rate YoY","Reference":"Oct","ReferenceDate":"2016-10-31T00:00:00","Source":"National Statistics Directorate, Timor","SourceURL":"https://inetl-ip.gov.tl/","Actual":"-1.3%","Previous":"-1.3%","Forecast":"","TEForecast":"-1.1%","URL":"/east-timor/inflation-cpi","DateSpan":"0","Importance":1,"LastUpdate":"2016-12-02T18:21:00","Revised":"","Currency":"","Unit":"%","Ticker":"TIMIMORINFNRATE","Symbol":"TIMIMORINFNRATE"}]

/calendar/country/All/{yyyy-mm-dd}/{yyyy-mm-dd}?f=csv

CalendarId,Date,Country,Category,Event,Reference,ReferenceDate,Source,SourceURL,Actual,Previous,Forecast,TEForecast,URL,DateSpan,Importance,LastUpdate,Revised,Currency,Unit,Ticker,Symbol
103536,12/2/2016 2:00:00 AM,Philippines,Retail Price Index,Retail Price Index YoY,Oct,10/31/2016 12:00:00 AM,Philippine Statistics Authority,https://psa.gov.ph,3.4%,3%,,3.49%,/philippines/retail-price-index,0,1,12/2/2016 8:35:00 AM,,,%,PHLRPI,PHLRPI
103536,12/2/2016 2:00:00 AM,Philippines,Retail Price Index,Retail Price Index YoY,Oct,10/31/2016 12:00:00 AM,Philippine Statistics Authority,https://psa.gov.ph,3.4%,3%,,3.49%,/philippines/retail-price-index,0,1,12/2/2016 8:35:00 AM,,,%,PHLRPI,PHLRPI
103827,12/2/2016 4:00:00 AM,East Timor,Inflation Rate,Inflation Rate YoY,Oct,10/31/2016 12:00:00 AM,"National Statistics Directorate, Timor",https://inetl-ip.gov.tl/,-1.3%,-1.3%,,-1.1%,/east-timor/inflation-cpi,0,1,12/2/2016 6:21:00 PM,,,%,TIMIMORINFNRATE,TIMIMORINFNRATE

/calendar/country/All/{yyyy-mm-dd}/{yyyy-mm-dd}?f=xml

<ArrayOfCalendarItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<CalendarItem>
<CalendarId>85653</CalendarId>
<Date>2016-12-02T00:30:00</Date>
<Country>Australia</Country>
<Category>Retail Sales MoM</Category>
<Event>Retail Sales MoM</Event>
<Reference>Oct</Reference>
<ReferenceDate>2016-10-31T00:00:00</ReferenceDate>
<Source>Australian Bureau of Statistics</Source>
<SourceURL>http://www.abs.gov.au</SourceURL>
<Actual>0.5%</Actual>
<Previous>0.6%</Previous>
<Forecast>0.3%</Forecast>
<TEForecast>0.2%</TEForecast>
<URL>/australia/retail-sales</URL>
<DateSpan>0</DateSpan>
<Importance>2</Importance>
<LastUpdate>2016-12-02T00:30:00</LastUpdate>
<Revised/>
<Currency/>
<Unit>%</Unit>
<Ticker>AUSRETAILSALESMOM</Ticker>
<Symbol>AUSRetailSalesMoM</Symbol>
</CalendarItem>
<CalendarItem>
<CalendarId>103536</CalendarId>
<Date>2016-12-02T02:00:00</Date>
<Country>Philippines</Country>
<Category>Retail Price Index</Category>
<Event>Retail Price Index YoY</Event>
<Reference>Oct</Reference>
<ReferenceDate>2016-10-31T00:00:00</ReferenceDate>
<Source>Philippine Statistics Authority</Source>
<SourceURL>https://psa.gov.ph</SourceURL>
<Actual>3.4%</Actual>
<Previous>3%</Previous>
<Forecast/>
<TEForecast>3.49%</TEForecast>
<URL>/philippines/retail-price-index</URL>
<DateSpan>0</DateSpan>
<Importance>1</Importance>
<LastUpdate>2016-12-02T08:35:00</LastUpdate>
<Revised/>
<Currency/>
<Unit>%</Unit>
<Ticker>PHLRPI</Ticker>
<Symbol>PHLRPI</Symbol>
</CalendarItem>
<CalendarItem>
<CalendarId>103827</CalendarId>
<Date>2016-12-02T04:00:00</Date>
<Country>East Timor</Country>
<Category>Inflation Rate</Category>
<Event>Inflation Rate YoY</Event>
<Reference>Oct</Reference>
<ReferenceDate>2016-10-31T00:00:00</ReferenceDate>
<Source>National Statistics Directorate, Timor</Source>
<SourceURL>https://inetl-ip.gov.tl/</SourceURL>
<Actual>-1.3%</Actual>
<Previous>-1.3%</Previous>
<Forecast/>
<TEForecast>-1.1%</TEForecast>
<URL>/east-timor/inflation-cpi</URL>
<DateSpan>0</DateSpan>
<Importance>1</Importance>
<LastUpdate>2016-12-02T18:21:00</LastUpdate>
<Revised/>
<Currency/>
<Unit>%</Unit>
<Ticker>TIMIMORINFNRATE</Ticker>
<Symbol>TIMIMORINFNRATE</Symbol>
</CalendarItem>
</ArrayOfCalendarItem>

By importance

importance = (1-Low, 2-Medium, 3-High)

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/calendar?c={api_key}&importance=2'
data = requests.get(url).json()
print(data)

Or using our package:

te.getCalendarData(importance='2')

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/calendar?c=${api_key}&importance=2`)
    console.log(response.data)
})()

Or using our package:

data = te.getCalendar(importance = '2').then(function(data){
    console.log(data)       
});

Using Requests:

new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/calendar?c=guest:guest&importance=2");

/calendar?importance={importance}

CalendarIdDateCountryCategoryEventReferenceReferenceDateSourceSourceURLActualPreviousForecastTEForecastURLDateSpanImportanceLastUpdateRevisedCurrencyUnitTickerSymbol
3146051/3/2023 12:00:00 AMSingaporeGDP Growth RateGDP Growth Rate QoQ AdvQ412/31/2022 12:00:00 AMStatistics Singaporehttps://www.singstat.gov.sg/0.2%1.1%0.3%/singapore/gdp-growth021/3/2023 12:01:31 AM%SGDPQOQSGDPQOQ
3146061/3/2023 12:00:00 AMSingaporeGDP Annual Growth RateGDP Growth Rate YoY AdvQ412/31/2022 12:00:00 AMStatistics Singaporehttps://www.singstat.gov.sg/2.2%4.2%2.1%2.1%/singapore/gdp-growth-annual021/3/2023 12:00:00 AM4.1%%SGDPYOYSGDPYOY
3146251/3/2023 7:00:00 AMTurkeyInflation Rate MomInflation Rate MoMDec12/31/2022 12:00:00 AMTurkish Statistical Institutehttps://www.tuik.gov.tr/1.18%2.88%2.58%2.4%/turkey/inflation-rate-mom021/3/2023 7:00:38 AM%TURKEYINFRATMOMTURKEYINFRATMOM

/calendar?importance={importance}?f=json

[{"CalendarId":"319311","Date":"2023-04-02T23:00:00","Country":"Australia","Category":"manufacturing pmi","Event":"Judo Bank Manufacturing PMI Final","Reference":"Mar","ReferenceDate":"2023-03-31T00:00:00","Source":"Markit Economics","SourceURL":"https://www.markiteconomics.com","Actual":"49.1","Previous":"50.5","Forecast":"","TEForecast":"48.7","URL":"/australia/manufacturing-pmi","DateSpan":"0","Importance":2,"LastUpdate":"2023-04-02T23:08:12.6","Revised":"","Currency":"","Unit":"","Ticker":"AUSTRALIAMANPMI","Symbol":"AUSTRALIAMANPMI"},{"CalendarId":"319079","Date":"2023-04-03T00:30:00","Country":"Japan","Category":"Manufacturing PMI","Event":"Jibun Bank Manufacturing PMI Final","Reference":"Mar","ReferenceDate":"2023-03-31T00:00:00","Source":"Markit Economics","SourceURL":"https://www.markiteconomics.com","Actual":"49.2","Previous":"47.7","Forecast":"","TEForecast":"48.6","URL":"/japan/manufacturing-pmi","DateSpan":"0","Importance":2,"LastUpdate":"2023-04-03T00:30:01.163","Revised":"","Currency":"","Unit":"","Ticker":"JAPANMANPMI","Symbol":"JAPANMANPMI"},{"CalendarId":"319324","Date":"2023-04-03T00:30:00","Country":"South Korea","Category":"Manufacturing PMI","Event":"S&P Global Manufacturing PMI","Reference":"Mar","ReferenceDate":"2023-03-31T00:00:00","Source":"Markit Economics","SourceURL":"https://www.markiteconomics.com","Actual":"47.6","Previous":"48.5","Forecast":"","TEForecast":"49.1","URL":"/south-korea/manufacturing-pmi","DateSpan":"0","Importance":2,"LastUpdate":"2023-04-03T00:30:00.513","Revised":"","Currency":"","Unit":"","Ticker":"SOUTHKOREMANPMI","Symbol":"SOUTHKOREMANPMI"}]

/calendar?importance={importance}?f=csv

CalendarId,Date,Country,Category,Event,Reference,ReferenceDate,Source,SourceURL,Actual,Previous,Forecast,TEForecast,URL,DateSpan,Importance,LastUpdate,Revised,Currency,Unit,Ticker,Symbol
319311,4/2/2023 11:00:00 PM,Australia,manufacturing pmi,Judo Bank Manufacturing PMI Final,Mar,3/31/2023 12:00:00 AM,Markit Economics,https://www.markiteconomics.com,49.1,50.5,,48.7,/australia/manufacturing-pmi,0,2,4/2/2023 11:08:12 PM,,,,AUSTRALIAMANPMI,AUSTRALIAMANPMI
319079,4/3/2023 12:30:00 AM,Japan,Manufacturing PMI,Jibun Bank Manufacturing PMI Final,Mar,3/31/2023 12:00:00 AM,Markit Economics,https://www.markiteconomics.com,49.2,47.7,,48.6,/japan/manufacturing-pmi,0,2,4/3/2023 12:30:01 AM,,,,JAPANMANPMI,JAPANMANPMI
319324,4/3/2023 12:30:00 AM,South Korea,Manufacturing PMI,S&P Global Manufacturing PMI,Mar,3/31/2023 12:00:00 AM,Markit Economics,https://www.markiteconomics.com,47.6,48.5,,49.1,/south-korea/manufacturing-pmi,0,2,4/3/2023 12:30:00 AM,,,,SOUTHKOREMANPMI,SOUTHKOREMANPMI

/calendar?importance={importance}?f=xml

<ArrayOfCalendarItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<CalendarItem>
<CalendarId>319311</CalendarId>
<Date>2023-04-02T23:00:00</Date>
<Country>Australia</Country>
<Category>manufacturing pmi</Category>
<Event>Judo Bank Manufacturing PMI Final</Event>
<Reference>Mar</Reference>
<ReferenceDate>2023-03-31T00:00:00</ReferenceDate>
<Source>Markit Economics</Source>
<SourceURL>https://www.markiteconomics.com</SourceURL>
<Actual>49.1</Actual>
<Previous>50.5</Previous>
<Forecast/>
<TEForecast>48.7</TEForecast>
<URL>/australia/manufacturing-pmi</URL>
<DateSpan>0</DateSpan>
<Importance>2</Importance>
<LastUpdate>2023-04-02T23:08:12.6</LastUpdate>
<Revised/>
<Currency/>
<Unit/>
<Ticker>AUSTRALIAMANPMI</Ticker>
<Symbol>AUSTRALIAMANPMI</Symbol>
</CalendarItem>
<CalendarItem>
<CalendarId>319079</CalendarId>
<Date>2023-04-03T00:30:00</Date>
<Country>Japan</Country>
<Category>Manufacturing PMI</Category>
<Event>Jibun Bank Manufacturing PMI Final</Event>
<Reference>Mar</Reference>
<ReferenceDate>2023-03-31T00:00:00</ReferenceDate>
<Source>Markit Economics</Source>
<SourceURL>https://www.markiteconomics.com</SourceURL>
<Actual>49.2</Actual>
<Previous>47.7</Previous>
<Forecast/>
<TEForecast>48.6</TEForecast>
<URL>/japan/manufacturing-pmi</URL>
<DateSpan>0</DateSpan>
<Importance>2</Importance>
<LastUpdate>2023-04-03T00:30:01.163</LastUpdate>
<Revised/>
<Currency/>
<Unit/>
<Ticker>JAPANMANPMI</Ticker>
<Symbol>JAPANMANPMI</Symbol>
</CalendarItem>
<CalendarItem>
<CalendarId>319324</CalendarId>
<Date>2023-04-03T00:30:00</Date>
<Country>South Korea</Country>
<Category>Manufacturing PMI</Category>
<Event>S&P Global Manufacturing PMI</Event>
<Reference>Mar</Reference>
<ReferenceDate>2023-03-31T00:00:00</ReferenceDate>
<Source>Markit Economics</Source>
<SourceURL>https://www.markiteconomics.com</SourceURL>
<Actual>47.6</Actual>
<Previous>48.5</Previous>
<Forecast/>
<TEForecast>49.1</TEForecast>
<URL>/south-korea/manufacturing-pmi</URL>
<DateSpan>0</DateSpan>
<Importance>2</Importance>
<LastUpdate>2023-04-03T00:30:00.513</LastUpdate>
<Revised/>
<Currency/>
<Unit/>
<Ticker>SOUTHKOREMANPMI</Ticker>
<Symbol>SOUTHKOREMANPMI</Symbol>
</CalendarItem>
</ArrayOfCalendarItem>

By importance and date

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/calendar/country/All/2016-12-02/2016-12-03?c={api_key}&importance=3'
data = requests.get(url).json()
print(data)

Or using our package:

te.getCalendarData(initDate='2016-12-02', endDate='2016-12-03', 
 importance='3')

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/calendar/country/All/2016-12-02/2016-12-03?c=${api_key}&importance=3`)
    console.log(response.data)
})()

Or using our package:

data = te.getCalendar(start_date = '2016-12-02', end_date = '2016-12-03', 
 importance = '3').then(function(data){
    console.log(data)     
});

Using Requests:

new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/calendar/country/All/2016-12-02/2016-12-03?c=guest:guest&importance=3");

/calendar/country/All/{yyyy-mm-dd}/{yyyy-mm-dd}?importance={importance}

CalendarIdDateCountryCategoryEventReferenceReferenceDateSourceSourceURLActualPreviousForecastTEForecastURLDateSpanImportanceLastUpdateRevisedCurrencyUnitTickerSymbol
8722012/2/2016 1:30:00 PMUnited StatesNon Farm PayrollsNon Farm PayrollsNov11/30/2016 12:00:00 AMU.S. Bureau of Labor Statisticshttps://www.bls.gov/178K142K175K180K/united-states/non-farm-payrolls0312/2/2016 1:31:00 PM161KKNFP TCHNFP TCH
8566112/5/2016 5:00:00 AMJapanConsumer ConfidenceConsumer ConfidenceNov11/30/2016 12:00:00 AM“Cabinet Office, Japan”https://www.cao.go.jp40.942.343.842.53/japan/consumer-confidence0312/5/2016 5:03:00 AMJCOMACFJCOMACF
8570012/6/2016 1:30:00 PMCanadaBalance of TradeBalance of TradeOct10/31/2016 12:00:00 AMStatistics Canadahttps://www.statcan.gc.caC$-1.13BC$-4.38BC$-2.0BC$-3B/canada/balance-of-trade0312/6/2016 1:30:00 PMC$-4.08BC$BCATBTOTBCATBTOTB

/calendar/country/All/{yyyy-mm-dd}/{yyyy-mm-dd}?importance={importance}?f=json

[{"CalendarId":"87220","Date":"2016-12-02T13:30:00","Country":"United States","Category":"Non Farm Payrolls","Event":"Non Farm Payrolls","Reference":"Nov","ReferenceDate":"2016-11-30T00:00:00","Source":"U.S. Bureau of Labor Statistics","SourceURL":"http://www.bls.gov/","Actual":"178K","Previous":"142K","Forecast":"175K","TEForecast":"180K","URL":"/united-states/non-farm-payrolls","DateSpan":"0","Importance":3,"LastUpdate":"2016-12-02T13:31:00","Revised":"161K","Currency":"","Unit":"K","Ticker":"NFP TCH","Symbol":"NFP TCH"},{"CalendarId":"85661","Date":"2016-12-05T05:00:00","Country":"Japan","Category":"Consumer Confidence","Event":"Consumer Confidence","Reference":"Nov","ReferenceDate":"2016-11-30T00:00:00","Source":"Cabinet Office, Japan","SourceURL":"https://www.cao.go.jp","Actual":"40.9","Previous":"42.3","Forecast":"43.8","TEForecast":"42.53","URL":"/japan/consumer-confidence","DateSpan":"0","Importance":3,"LastUpdate":"2016-12-05T05:03:00","Revised":"","Currency":"","Unit":"","Ticker":"JCOMACF","Symbol":"JCOMACF"},{"CalendarId":"85700","Date":"2016-12-06T13:30:00","Country":"Canada","Category":"Balance of Trade","Event":"Balance of Trade","Reference":"Oct","ReferenceDate":"2016-10-31T00:00:00","Source":"Statistics Canada","SourceURL":"https://www.statcan.gc.ca","Actual":"C$-1.13B","Previous":"C$-4.38B","Forecast":"C$-2.0B","TEForecast":"C$-3B","URL":"/canada/balance-of-trade","DateSpan":"0","Importance":3,"LastUpdate":"2016-12-06T13:30:00","Revised":"C$-4.08B","Currency":"C$","Unit":"B","Ticker":"CATBTOTB","Symbol":"CATBTOTB"}]

/calendar/country/All/{yyyy-mm-dd}/{yyyy-mm-dd}?importance={importance}?f=csv

CalendarId,Date,Country,Category,Event,Reference,ReferenceDate,Source,SourceURL,Actual,Previous,Forecast,TEForecast,URL,DateSpan,Importance,LastUpdate,Revised,Currency,Unit,Ticker,Symbol
87220,12/2/2016 1:30:00 PM,United States,Non Farm Payrolls,Non Farm Payrolls,Nov,11/30/2016 12:00:00 AM,U.S. Bureau of Labor Statistics,http://www.bls.gov/,178K,142K,175K,180K,/united-states/non-farm-payrolls,0,3,12/2/2016 1:31:00 PM,161K,,K,NFP TCH,NFP TCH
85661,12/5/2016 5:00:00 AM,Japan,Consumer Confidence,Consumer Confidence,Nov,11/30/2016 12:00:00 AM,"Cabinet Office, Japan",https://www.cao.go.jp,40.9,42.3,43.8,42.53,/japan/consumer-confidence,0,3,12/5/2016 5:03:00 AM,,,,JCOMACF,JCOMACF
85700,12/6/2016 1:30:00 PM,Canada,Balance of Trade,Balance of Trade,Oct,10/31/2016 12:00:00 AM,Statistics Canada,https://www.statcan.gc.ca,C$-1.13B,C$-4.38B,C$-2.0B,C$-3B,/canada/balance-of-trade,0,3,12/6/2016 1:30:00 PM,C$-4.08B,C$,B,CATBTOTB,CATBTOTB

/calendar/country/All/{yyyy-mm-dd}/{yyyy-mm-dd}?importance={importance}?f=xml

<ArrayOfCalendarItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<CalendarItem>
<CalendarId>87220</CalendarId>
<Date>2016-12-02T13:30:00</Date>
<Country>United States</Country>
<Category>Non Farm Payrolls</Category>
<Event>Non Farm Payrolls</Event>
<Reference>Nov</Reference>
<ReferenceDate>2016-11-30T00:00:00</ReferenceDate>
<Source>U.S. Bureau of Labor Statistics</Source>
<SourceURL>http://www.bls.gov/</SourceURL>
<Actual>178K</Actual>
<Previous>142K</Previous>
<Forecast>175K</Forecast>
<TEForecast>180K</TEForecast>
<URL>/united-states/non-farm-payrolls</URL>
<DateSpan>0</DateSpan>
<Importance>3</Importance>
<LastUpdate>2016-12-02T13:31:00</LastUpdate>
<Revised>161K</Revised>
<Currency/>
<Unit>K</Unit>
<Ticker>NFP TCH</Ticker>
<Symbol>NFP TCH</Symbol>
</CalendarItem>
<CalendarItem>
<CalendarId>85661</CalendarId>
<Date>2016-12-05T05:00:00</Date>
<Country>Japan</Country>
<Category>Consumer Confidence</Category>
<Event>Consumer Confidence</Event>
<Reference>Nov</Reference>
<ReferenceDate>2016-11-30T00:00:00</ReferenceDate>
<Source>Cabinet Office, Japan</Source>
<SourceURL>https://www.cao.go.jp</SourceURL>
<Actual>40.9</Actual>
<Previous>42.3</Previous>
<Forecast>43.8</Forecast>
<TEForecast>42.53</TEForecast>
<URL>/japan/consumer-confidence</URL>
<DateSpan>0</DateSpan>
<Importance>3</Importance>
<LastUpdate>2016-12-05T05:03:00</LastUpdate>
<Revised/>
<Currency/>
<Unit/>
<Ticker>JCOMACF</Ticker>
<Symbol>JCOMACF</Symbol>
</CalendarItem>
<CalendarItem>
<CalendarId>85700</CalendarId>
<Date>2016-12-06T13:30:00</Date>
<Country>Canada</Country>
<Category>Balance of Trade</Category>
<Event>Balance of Trade</Event>
<Reference>Oct</Reference>
<ReferenceDate>2016-10-31T00:00:00</ReferenceDate>
<Source>Statistics Canada</Source>
<SourceURL>https://www.statcan.gc.ca</SourceURL>
<Actual>C$-1.13B</Actual>
<Previous>C$-4.38B</Previous>
<Forecast>C$-2.0B</Forecast>
<TEForecast>C$-3B</TEForecast>
<URL>/canada/balance-of-trade</URL>
<DateSpan>0</DateSpan>
<Importance>3</Importance>
<LastUpdate>2016-12-06T13:30:00</LastUpdate>
<Revised>C$-4.08B</Revised>
<Currency>C$</Currency>
<Unit>B</Unit>
<Ticker>CATBTOTB</Ticker>
<Symbol>CATBTOTB</Symbol>
</CalendarItem>
</ArrayOfCalendarItem>

By ID

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/calendar/calendarid/174108,160025,160030?c={api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

te.getCalendarId(id = '174108')

With multi IDs:

te.getCalendarId(id = [ '174108', '160025', '160030'])

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/calendar/calendarid/174108,160025,160030?c=${api_key}`)
    console.log(response.data)
})()

Or using our package:

data = te.getCalendar(id = '174108').then(function(data){
  console.log(data)     
});

With multi IDs:

data = te.getCalendar(id = ['174108','160025','160030']).then(function(data){
    console.log(data)     
});

Using Requests:

new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/calendar/calendarid/174108c=guest:guest");

With multi IDs:

new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/calendar/calendarid/174108,160025,160030?c=guest:guest");

/calendar/calendarid/{calendarIDs}

CalendarIdDateCountryCategoryEventReferenceReferenceDateSourceSourceURLActualPreviousForecastTEForecastURLDateSpanImportanceLastUpdateRevisedCurrencyUnitTickerSymbol
1600256/21/2018 7:00:00 AMSpainFactory OrdersIndustrial Orders YoYApr4/30/2018 12:00:00 AMNational Statistics Institute (INE)https://www.ine.es/4.8%3.9%4.5%/spain/factory-orders016/21/2018 7:02:00 AM%SPAINFACORDSPAINFACORD
1600306/23/2018 6:15:00 AMBahrainInflation RateInflation Rate YoYMay5/31/2018 12:00:00 AMInformatics Organisation - Kingdom of Bahrainhttps://www.data.gov.bh2.8%2.6%2.80%/bahrain/inflation-cpi016/23/2018 6:13:00 AM%BAHRAININFNRATEBAHRAININFNRATE
1741086/19/2018 12:00:00 AMAzerbaijanHolidaysEnd of Ramadan (Substitute Day)/azerbaijan/holidays111/15/2018 1:39:00 PMHOLIDAYSAZERBAIJAN

/calendar/calendarid/{calendarIDs}?f=json

[{"CalendarId":"160025","Date":"2018-06-21T07:00:00","Country":"Spain","Category":"Factory Orders","Event":"Industrial Orders YoY","Reference":"Apr","ReferenceDate":"2018-04-30T00:00:00","Source":"National Statistics Institute (INE)","SourceURL":"https://www.ine.es/","Actual":"4.8%","Previous":"3.9%","Forecast":"","TEForecast":"4.5%","URL":"/spain/factory-orders","DateSpan":"0","Importance":1,"LastUpdate":"2018-06-21T07:02:00","Revised":"","Currency":"","Unit":"%","Ticker":"SPAINFACORD","Symbol":"SPAINFACORD"},{"CalendarId":"160030","Date":"2018-06-23T06:15:00","Country":"Bahrain","Category":"Inflation Rate","Event":"Inflation Rate YoY","Reference":"May","ReferenceDate":"2018-05-31T00:00:00","Source":"Central Informatics Organisation - Kingdom of Bahrain","SourceURL":"http://www.data.gov.bh","Actual":"2.8%","Previous":"2.6%","Forecast":"","TEForecast":"2.80%","URL":"/bahrain/inflation-cpi","DateSpan":"0","Importance":1,"LastUpdate":"2018-06-23T06:13:00","Revised":"","Currency":"","Unit":"%","Ticker":"BAHRAININFNRATE","Symbol":"BAHRAININFNRATE"},{"CalendarId":"174108","Date":"2018-06-19T00:00:00","Country":"Azerbaijan","Category":"Holidays","Event":"End of Ramadan (Substitute Day)","Reference":"","ReferenceDate":null,"Source":"","SourceURL":"","Actual":"","Previous":"","Forecast":"","TEForecast":"","URL":"/azerbaijan/holidays","DateSpan":"1","Importance":1,"LastUpdate":"2018-01-15T13:39:00","Revised":"","Currency":"","Unit":"","Ticker":"HOLIDAYSAZERBAIJAN","Symbol":""}]

/calendar/calendarid/{calendarIDs}?f=csv

CalendarId,Date,Country,Category,Event,Reference,ReferenceDate,Source,SourceURL,Actual,Previous,Forecast,TEForecast,URL,DateSpan,Importance,LastUpdate,Revised,Currency,Unit,Ticker,Symbol
160025,6/21/2018 7:00:00 AM,Spain,Factory Orders,Industrial Orders YoY,Apr,4/30/2018 12:00:00 AM,National Statistics Institute (INE),https://www.ine.es/,4.8%,3.9%,,4.5%,/spain/factory-orders,0,1,6/21/2018 7:02:00 AM,,,%,SPAINFACORD,SPAINFACORD
160030,6/23/2018 6:15:00 AM,Bahrain,Inflation Rate,Inflation Rate YoY,May,5/31/2018 12:00:00 AM,Central Informatics Organisation - Kingdom of Bahrain,http://www.data.gov.bh,2.8%,2.6%,,2.80%,/bahrain/inflation-cpi,0,1,6/23/2018 6:13:00 AM,,,%,BAHRAININFNRATE,BAHRAININFNRATE
174108,6/19/2018 12:00:00 AM,Azerbaijan,Holidays,End of Ramadan (Substitute Day),,,,,,,,,/azerbaijan/holidays,1,1,1/15/2018 1:39:00 PM,,,,HOLIDAYSAZERBAIJAN,

/calendar/calendarid/{calendarIDs}?f=xml

<ArrayOfCalendarItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<CalendarItem>
<CalendarId>160025</CalendarId>
<Date>2018-06-21T07:00:00</Date>
<Country>Spain</Country>
<Category>Factory Orders</Category>
<Event>Industrial Orders YoY</Event>
<Reference>Apr</Reference>
<ReferenceDate>2018-04-30T00:00:00</ReferenceDate>
<Source>National Statistics Institute (INE)</Source>
<SourceURL>https://www.ine.es/</SourceURL>
<Actual>4.8%</Actual>
<Previous>3.9%</Previous>
<Forecast/>
<TEForecast>4.5%</TEForecast>
<URL>/spain/factory-orders</URL>
<DateSpan>0</DateSpan>
<Importance>1</Importance>
<LastUpdate>2018-06-21T07:02:00</LastUpdate>
<Revised/>
<Currency/>
<Unit>%</Unit>
<Ticker>SPAINFACORD</Ticker>
<Symbol>SPAINFACORD</Symbol>
</CalendarItem>
<CalendarItem>
<CalendarId>160030</CalendarId>
<Date>2018-06-23T06:15:00</Date>
<Country>Bahrain</Country>
<Category>Inflation Rate</Category>
<Event>Inflation Rate YoY</Event>
<Reference>May</Reference>
<ReferenceDate>2018-05-31T00:00:00</ReferenceDate>
<Source>Central Informatics Organisation - Kingdom of Bahrain</Source>
<SourceURL>http://www.data.gov.bh</SourceURL>
<Actual>2.8%</Actual>
<Previous>2.6%</Previous>
<Forecast/>
<TEForecast>2.80%</TEForecast>
<URL>/bahrain/inflation-cpi</URL>
<DateSpan>0</DateSpan>
<Importance>1</Importance>
<LastUpdate>2018-06-23T06:13:00</LastUpdate>
<Revised/>
<Currency/>
<Unit>%</Unit>
<Ticker>BAHRAININFNRATE</Ticker>
<Symbol>BAHRAININFNRATE</Symbol>
</CalendarItem>
<CalendarItem>
<CalendarId>174108</CalendarId>
<Date>2018-06-19T00:00:00</Date>
<Country>Azerbaijan</Country>
<Category>Holidays</Category>
<Event>End of Ramadan (Substitute Day)</Event>
<Reference/>
<ReferenceDate i:nil="true"/>
<Source/>
<SourceURL/>
<Actual/>
<Previous/>
<Forecast/>
<TEForecast/>
<URL>/azerbaijan/holidays</URL>
<DateSpan>1</DateSpan>
<Importance>1</Importance>
<LastUpdate>2018-01-15T13:39:00</LastUpdate>
<Revised/>
<Currency/>
<Unit/>
<Ticker>HOLIDAYSAZERBAIJAN</Ticker>
<Symbol/>
</CalendarItem>
</ArrayOfCalendarItem>

Updates

This includes any modifications made to an event as well as newly created events.

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/calendar/updates?c={api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

te.getCalendarUpdates()

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/calendar/updates?c=${api_key}`)
    console.log(response.data)
})()

Or using our package:

data = te.getCalendarUpdates().then(function(data){
    console.log(data)     
});

Using Requests:

new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/calendar/updates?c=guest:guest");

/calendar/updates?c=guest:guest

CalendarIdCountryEventLastUpdate
328304Costa RicaCurrent Account10/2/2023 6:03:46 PM
328422BrazilBalance of Trade10/2/2023 6:00:00 PM
328286BrazilNet Payrolls10/2/2023 5:39:15 PM

/calendar/updates?c=guest:guest?f=json

[{"CalendarId":"328304","Country":"Costa Rica","Event":"Current Account","LastUpdate":"2023-10-02T18:03:46.623"},{"CalendarId":"328422","Country":"Brazil","Event":"Balance of Trade","LastUpdate":"2023-10-02T18:00:00.203"},{"CalendarId":"328286","Country":"Brazil","Event":"Net Payrolls","LastUpdate":"2023-10-02T17:39:15.047"}]

/calendar/updates?c=guest:guest?f=csv

CalendarId,Country,Event,LastUpdate
328304,Costa Rica,Current Account,10/2/2023 6:03:46 PM
328422,Brazil,Balance of Trade,10/2/2023 6:00:00 PM
328286,Brazil,Net Payrolls,10/2/2023 5:39:15 PM

/calendar/updates?c=guest:guest?f=xml

<ArrayOfCalendarUpdateItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<CalendarUpdateItem>
<CalendarId>328304</CalendarId>
<Country>Costa Rica</Country>
<Event>Current Account</Event>
<LastUpdate>2023-10-02T18:03:46.623</LastUpdate>
</CalendarUpdateItem>
<CalendarUpdateItem>
<CalendarId>328422</CalendarId>
<Country>Brazil</Country>
<Event>Balance of Trade</Event>
<LastUpdate>2023-10-02T18:00:00.203</LastUpdate>
</CalendarUpdateItem>
<CalendarUpdateItem>
<CalendarId>328286</CalendarId>
<Country>Brazil</Country>
<Event>Net Payrolls</Event>
<LastUpdate>2023-10-02T17:39:15.047</LastUpdate>
</CalendarUpdateItem>
</ArrayOfCalendarUpdateItem>

Date format

Calendar methods described above support string dates in different formats

Date FormatExample
yyyy-MM-dd2018-01-01
yyyy-mm-dd HH:mm2016-12-03 23:59:59