Historical

GET /historical/country/{country}/indicator/{indicator}

Request

  • Base URL
    https://api.tradingeconomics.com (the document declares no server; this is the origin it was published from)
  • Auth
    API key in query parameter c

Path parameters

countrystring required

Country name, e.g. European Union, Denmark, world

indicatorstring required

Indicator name, e.g. unemployement rate, interest rate

Query parameters

d1string

Start date in yyyy-MM-dd format. eg. 2024-01-01

d2string

End date in yyyy-MM-dd format. eg. 2025-01-01

lustring

Last update date, yyyy-MM-dd. eg. 2025-01-01

f'json' | 'csv' | 'html'

Response format: json (default), csv, or html

Response

OK

Changes

No recorded changes to this operation across all 6 revisions of this API.