API Reference
Overview
https://docs.economicsapi.com/api-reference
34 endpoints · v1.0.0 · generated from the OpenAPI spec. Authenticate with a Bearer API key (see Authentication); all requests and responses are JSON.
Base URLhttps://api.economicsapi.com
Example
curl -X GET "https://api.economicsapi.com/v1/economics/available?country=mexico" \
-H "Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxx"Endpoints
economics
GDP, prices, labour, money, government and external-sector indicators for 50 countries
- get
/v1/economics/availableAvailable economics - get
/v1/countriesCountries - get
/v1/indicatorsIndicators - get
/v1/resolveData availability - get
/v1/latestLatest indicators - get
/v1/historyIndicator history - get
/v1/searchSearch indicators - get
/v1/updatesData updates - get
/v1/newsEconomic news - get
/v1/forecastIndicator forecasts
trade
Bilateral goods trade for 41 countries, 2015 to today
- get
/v1/trade/availableAvailable trade - get
/v1/tradeTrade flows - get
/v1/trade/summaryTrade summary - get
/v1/trade/monthlyMonthly trade - get
/v1/trade/coverageTrade coverage - get
/v1/trade/productsTrade products - get
/v1/trade/products/{pid}Product details - get
/v1/trade/products/{pid}/historyProduct history - get
/v1/trade/products/{pid}/marketsProduct trading partners - get
/v1/trade/countriesTrade countries - get
/v1/trade/countries/{cid}Country details - get
/v1/trade/countries/{cid}/importsCountry imports - get
/v1/trade/countries/{cid}/exportsCountry exports - get
/v1/trade/countries/{cid}/partnersCountry partners - get
/v1/trade/countries/{cid}/productsCountry products
fx
Currency pairs: official reference exchange rates
commodities
Energy, metals, industrial materials and electricity benchmarks
yields
Government bond yields by country and maturity