One country
GET
/v1/countries/{iso}Everything held for one country: each measure, its frequency, first and latest period, and the series behind it.
On every plan, Free includedKey requiredJSON or CSVCached until the next release
Parameters
| Name | Type | Description |
|---|---|---|
| isorequired | string path | ISO 3166 two-letter country code e.g. CL |
Request
# One country: measures, first and latest period
curl "https://api.tourismapi.com/v1/countries/CL" \
-H "X-API-Key: $TOURISM_API_KEY"const res = await fetch("https://api.tourismapi.com/v1/countries/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/countries/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/countries/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_854b538771",
"data_as_of": "2026-10-20T04:47:58Z",
"count": 1
},
"data": {
"iso": "CL",
"name": "Chile",
"region": "Americas",
"monthly": true,
"first": "2026",
"latest": "2026-08",
"months_behind": 2,
"measures": [
"arrivals",
"nights",
"spend"
],
"statistics": [],
"iso3": "CHL",
"wikidata_id": "Q298"
}
}Response fields
| Field | Type | Example |
|---|---|---|
| iso | string | CL |
| name | string | Chile |
| region | string | Americas |
| monthly | boolean | true |
| first | string | 2026 |
| latest | string | 2026-08 |
| months_behind | number | 2 |
| measures | array | 3 items |
| statistics | array | 0 items |
| iso3 | string | CHL |
| wikidata_id | string | Q298 |