List Indicators and Countries
Trading Economics National Statistical database includes more than 15,000
dataseries that come directly from official sources like central banks, national statistical agencies.
List indicators
/indicators
import tradingeconomics as te
te.login('your_api_key')
te.getIndicatorData()
const te = require('tradingeconomics');
te.login('your_api_key');
data = te.getIndicatorData().then(function(data){
console.log(data)
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/indicators?c=guest:guest");
Category | CategoryGroup |
---|
1 Year MLF Rate | Money |
14-Day Reverse Repo Rate | Money |
15 Year Mortgage Rate | Housing |
List countries
/country
data = te.getAllCountries().then(function(data){
console.log(data)
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/country?c=guest:guest");
Country | Continent | Group | ISO3 | ISO2 |
---|
Afghanistan | Asia | Asia | AFG | AF |
Albania | Europe | Europe | ALB | AL |
Algeria | Africa | “North Africa, OPEC” | DZA | DZ |
Response fields
Fields available in ‘List indicators’
Field | Type | Description | Example |
---|
Category | string | Category name | “Auto Exports”, |
CategoryGroup | string | Category group name | “Trade” |
Fields available in ‘List Countries’
Field | Type | Description | Example |
---|
Country | string | Country name | “Algeria” |
Continent | string | Continent name from the country | “Africa” |
Group | string | Group name from the country | “North Africa, OPEC” |
ISO3 | string | Country ISO3 code | “DZA” |
ISO2 | string | Country ISO2 code | “DZ” |