Finance
TradingEconomics logo

TradingEconomics API

tradingeconomics.com

TradingEconomics — global economic calendar, live commodity/currency/index/bond prices, earnings calendar, and economic news for 196 countries.

Actions
3
Category
Finance
Login
Not required
Output
JSON

Call the TradingEconomics API

Submit a task, then poll the job until it settles. This example runs te_country_indicators.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "te_country_indicators",
    "params": {
      "country": "<country>"
    }
  }'

3 actions on tradingeconomics.com

Read

  • Country Indicators

    te_country_indicatorsread1 credit / call

    All macro indicators for a country — GDP, inflation, unemployment, interest rates, trade, and 400+ more.

    country
    string
  • Economic News

    te_newsread1 credit / call

    Latest global financial and economic news headlines with country and category.

  • Markets

    te_marketsread1 credit / call

    Live prices for commodities, currencies, indices, and bonds with daily/weekly/monthly/yearly changes.

    category
    string

TradingEconomics API questions

Is there an API for TradingEconomics?
TradingEconomics does not offer a public data API for this, but Anakin Wire provides 3 maintained endpoints for tradingeconomics.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape TradingEconomics data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when tradingeconomics.com changes its markup, Anakin updates the action.
Do I need a TradingEconomics account?
No. Every TradingEconomics action listed here runs anonymously — no account and no credentials required.
What does the TradingEconomics API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Finance APIs

All Finance sites