Get started
The Trading Economics Application Programming Interface (API) provides direct access to 300.000 economic indicators, exchange rates, stock market indexes, government bond yields, commodity prices and company financials. You can also subscribe to quotes from our markets and streaming updates from our economic calendar and earnings releases calendar.
We offer two distinct clients that serve as convenient gateways to interact with our API: one in Python and the other in Node.js. However, you can interact with our API in different programming languages and we provide samples for some in our open source github repository.
Pre-requirements
- Recent version of Python .
Install the tradingeconomics package using pip, a package management system used to install and manage software packages written in Python. In Windows Command Prompt or Linux bash type:
pip install tradingeconomics
Pre-requirements
- Recent Node.js version.
Install the tradingeconomics package using npm, a package management system used to install and manage software packages written in JavaScript. In Windows Command Prompt or Linux bash type:
npm install tradingeconomics