How it is counted
GET
/v1/countries/{iso}/methodHow the country counts its visitors (border records, accommodation registers, a traveller survey or airport counts), what is counted, how often and how late it publishes, whether figures are revised, the changes that explain breaks and gaps, and, where the national nights differ from the EU's harmonised count, every month that differs and why (compared_with_eu). Free.
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
# How a country counts its visitors
curl "https://api.tourismapi.com/v1/countries/CL/method" \
-H "X-API-Key: $TOURISM_API_KEY"const res = await fetch("https://api.tourismapi.com/v1/countries/CL/method", {
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/method",
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/method");
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_d4e9e50435",
"data_as_of": "2026-11-07T04:49:21Z",
"count": 1,
"built_at": "2026-11-07T03:51:02Z"
},
"data": {
"country": "CL",
"name": "Chile",
"method": "accommodation",
"method_label": "Accommodation registers",
"method_words": "Guests and nights reported by registered tourist accommodation (hotels and similar), counted by the establishments themselves each month.",
"written": false,
"basis": "country",
"counts": "nights",
"frequency": "monthly",
"frequency_before": null,
"latest": "2026-08",
"delay_months": {
"now": 3,
"world_median": 4
},
"revised_periods": 0,
"flags": [],
"summary": "Accommodation registers, monthly, about 3 months behind",
"notes": [
"Guests and nights reported by registered tourist accommodation (hotels and similar), counted by the establishments themselves each month.",
"Published monthly; the newest figure is for August 2026, about 3 months behind (the usual delay across every country is 4 months).",
"Hotels and other establishments report each month's guests and nights to the office by a deadline after the month ends, and the office checks and adds them up, so figures usually come one to three months after the month."
],
"events": [
{
"date": "2020",
"what": "First figures held"
},
{
"date": "2026-08",
"what": "Newest figure held"
}
],
"compared_with_eu": null
}
}Response fields
| Field | Type | Example |
|---|---|---|
| country | string | CL |
| name | string | Chile |
| method | string | accommodation |
| method_label | string | Accommodation registers |
| method_words | string | Guests and nights reported by registered tourist accommodation (hotels and similar), counted by the establishments themselves each month. |
| written | boolean | false |
| basis | string | country |
| counts | string | nights |
| frequency | string | monthly |
| frequency_before | null | null |
| latest | string | 2026-08 |
| delay_months | object | object |
| revised_periods | number | 0 |
| flags | array | 0 items |
| summary | string | Accommodation registers, monthly, about 3 months behind |
| notes | array | 3 items |
| events | array | 2 items |
| compared_with_eu | null | null |