Economy
GET
/v1/economy/{iso}Growth, inflation, size, income per head, population, unemployment and the current account by year, with the years ahead flagged as projections.
Analyst plan and upKey requiredJSON or CSVCached until the next release
Parameters
| Name | Type | Description |
|---|---|---|
| isorequired | string path | ISO 3166 two-letter country code e.g. CL |
| fromoptional | period query | First period to return e.g. 2025-01 |
Request
# A country's economy by year
curl "https://api.tourismapi.com/v1/economy/CL?from=2025-01" \
-H "X-API-Key: $TOURISM_API_KEY"const res = await fetch("https://api.tourismapi.com/v1/economy/CL?from=2025-01", {
headers: { "X-API-Key": process.env.TOURISM_API_KEY }
});
if (!res.ok) throw new Error(`Tourism API ${res.status}`);
const { meta, data } = await res.json();
console.log(meta.data_as_of, data);import os, requests
r = requests.get(
"https://api.tourismapi.com/v1/economy/CL?from=2025-01",
headers={"X-API-Key": os.environ["TOURISM_API_KEY"]},
timeout=10,
)
r.raise_for_status()
body = r.json()
print(body["meta"]["data_as_of"], body["data"])$ch = curl_init("https://api.tourismapi.com/v1/economy/CL?from=2025-01");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-Key: " . getenv("TOURISM_API_KEY")],
]);
$body = json_decode(curl_exec($ch), true);
print_r($body["data"]);
Example response
{
"meta": {
"request_id": "req_3a57d6be33",
"data_as_of": "2026-10-20T04:48:19Z",
"count": 7,
"country": "CL",
"name": "Chile",
"note": "Years from 2026 on are projections and are revised as new figures arrive."
},
"data": [
{
"year": 2031,
"projection": true,
"gdp_growth_pct": 2.3,
"inflation_pct": 3,
"gdp_usd_bn": 486.5,
"gdp_per_capita_usd": 23676,
"population_m": 20.55,
"unemployment_pct": 7.8,
"current_account_pct_gdp": -1.5
},
{
"year": 2030,
"projection": true,
"gdp_growth_pct": 2.3,
"inflation_pct": 3,
"gdp_usd_bn": 466.6,
"gdp_per_capita_usd": 22772,
"population_m": 20.49,
"unemployment_pct": 8,
"current_account_pct_gdp": -1.5
},
{
"year": 2029,
"projection": true,
"gdp_growth_pct": 2.3,
"inflation_pct": 3,
"gdp_usd_bn": 447.3,
"gdp_per_capita_usd": 21905,
"population_m": 20.42,
"unemployment_pct": 8.5,
"current_account_pct_gdp": -1.4
}
]
}Response fields
| Field | Type | Example |
|---|---|---|
| year | number | 2031 |
| projection | boolean | true |
| gdp_growth_pct | number | 2.3 |
| inflation_pct | number | 3 |
| gdp_usd_bn | number | 486.5 |
| gdp_per_capita_usd | number | 23676 |
| population_m | number | 20.55 |
| unemployment_pct | number | 7.8 |
| current_account_pct_gdp | number | -1.5 |