Economic outlook
GET
/v1/economy/outlookProjected growth and inflation for every country, or the ones you name, from a starting year.
Analyst plan and upKey requiredJSON or CSVCached until the next release
Parameters
| Name | Type | Description |
|---|---|---|
| yearoptional | integer query | Calendar year e.g. 2026 |
| countryoptional | string query | One or more ISO codes, comma separated e.g. CL,BA,AT |
Request
# Growth and inflation outlook for the next three years
curl "https://api.tourismapi.com/v1/economy/outlook?country=CL" \
-H "X-API-Key: $TOURISM_API_KEY"const res = await fetch("https://api.tourismapi.com/v1/economy/outlook?country=CL", {
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/outlook?country=CL",
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/outlook?country=CL");
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_5b6ab1cda8",
"data_as_of": "2026-10-20T04:48:19Z",
"count": 1,
"years": [
2026,
2027,
2028
],
"note": "Projections, revised as new figures arrive."
},
"data": [
{
"country": "CL",
"name": "Chile",
"gdp_growth_2026": 0.6,
"inflation_2026": 3.7,
"gdp_growth_2027": 2.6,
"inflation_2027": 3.5,
"gdp_growth_2028": 2.4,
"inflation_2028": 3
}
]
}Response fields
| Field | Type | Example |
|---|---|---|
| country | string | CL |
| name | string | Chile |
| gdp_growth_2026 | number | 0.6 |
| inflation_2026 | number | 3.7 |
| gdp_growth_2027 | number | 2.6 |
| inflation_2027 | number | 3.5 |
| gdp_growth_2028 | number | 2.4 |
| inflation_2028 | number | 3 |