Economy and tourism
GET
/v1/economy/{iso}/tourismArrivals added up from the country's own monthly count for each whole year, beside the size of the economy. Receipts and spending abroad are not served: their fields come back null.
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 |
Request
# Tourism's weight in a country's economy
curl "https://api.tourismapi.com/v1/economy/ES/tourism" \
-H "X-API-Key: $TOURISM_API_KEY"const res = await fetch("https://api.tourismapi.com/v1/economy/ES/tourism", {
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/ES/tourism",
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/ES/tourism");
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_bb78ee64ca",
"data_as_of": "2026-11-07T04:51:50Z",
"count": 27,
"country": "ES",
"name": "Spain",
"latest_year": 2025,
"quarters": [],
"note": "Arrivals are the country's own monthly count added up over each whole year (all twelve months held), beside the size of the economy. Receipts and spending abroad are not served: their fields, receipts per arrival and meta.quarters come back empty. Monthly arrivals are at /v1/arrivals."
},
"data": [
{
"year": 2025,
"receipts_usd": null,
"spending_abroad_usd": null,
"arrivals": 118327077,
"receipts_per_arrival_usd": null,
"receipts_share_gdp_pct": null
},
{
"year": 2024,
"receipts_usd": null,
"spending_abroad_usd": null,
"arrivals": 116166159,
"receipts_per_arrival_usd": null,
"receipts_share_gdp_pct": null
},
{
"year": 2023,
"receipts_usd": null,
"spending_abroad_usd": null,
"arrivals": 111991772,
"receipts_per_arrival_usd": null,
"receipts_share_gdp_pct": null
}
]
}Response fields
| Field | Type | Example |
|---|---|---|
| year | number | 2025 |
| receipts_usd | null | null |
| spending_abroad_usd | null | null |
| arrivals | number | 118327077 |
| receipts_per_arrival_usd | null | null |
| receipts_share_gdp_pct | null | null |