Skip to main content
POST
/
api
/
tradingeconomics
/
indicators
/tradingeconomics/indicators
curl --request POST \
  --url https://api.anysite.io/api/tradingeconomics/indicators \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "country": "<string>",
  "indicator": "<string>",
  "timeout": 300
}
'
[
  {
    "country": "<string>",
    "indicator": "<string>",
    "@type": "@trading_economics_indicator",
    "name": "<string>",
    "symbol": "<string>",
    "category": "<string>",
    "description": "<string>",
    "last": 123,
    "previous": 123,
    "highest": 123,
    "lowest": 123,
    "unit": "<string>",
    "frequency": "<string>",
    "date_range": "<string>",
    "summary": "<string>",
    "image": "<string>",
    "url": "<string>",
    "components": [],
    "related": [],
    "releases": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
country
string
required

Country slug as used in the page URL

Minimum string length: 1
Examples:

"united-states"

"germany"

"japan"

indicator
string
required

Indicator slug as used in the page URL

Minimum string length: 1
Examples:

"unemployment-rate"

"inflation-cpi"

"gdp-growth"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

country
string
required
indicator
string
required
@type
string
default:@trading_economics_indicator
name
string | null
symbol
string | null
category
string | null
description
string | null
last
number | null
previous
number | null
highest
number | null
lowest
number | null
unit
string | null
frequency
string | null
date_range
string | null
summary
string | null
image
string | null
url
string | null
components
TradingEconomicsIndicatorPeer · object[]
releases
TradingEconomicsCalendarRelease · object[]