Arrivals by purpose
GET
/v1/arrivals/by-purposeArrivals by purpose of trip where the country asks visitors why they came.
Developer 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 |
| periodoptional | period query | One period; defaults to the latest finished one e.g. 2026-08 |
Request
# Leisure, business and visiting friends
curl "https://api.tourismapi.com/v1/arrivals/by-purpose?iso=NL" \
-H "X-API-Key: $TOURISM_API_KEY"const res = await fetch("https://api.tourismapi.com/v1/arrivals/by-purpose?iso=NL", {
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/arrivals/by-purpose?iso=NL",
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/arrivals/by-purpose?iso=NL");
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_42ffdfc566",
"data_as_of": "2026-10-20T04:48:15Z",
"count": 50,
"country": "NL",
"measure": "arrivals",
"breakdown": "purpose",
"period": "2010",
"freq": "A"
},
"data": [
{
"series": "sr_qv12q8ks",
"name": "The Netherlands, All leisure accommodation, Netherlands (x1 000), year",
"unit": "number",
"value": 40540800
},
{
"series": "sr_e6x7v623",
"name": "The Netherlands, Holiday parks, Netherlands (x1 000), year",
"unit": "number",
"value": 21176900
},
{
"series": "sr_x3qbr2e9",
"name": "The Netherlands, Camp sites, Netherlands (x1 000), year",
"unit": "number",
"value": 16043700
}
]
}Response fields
| Field | Type | Example |
|---|---|---|
| series | string | sr_qv12q8ks |
| name | string | The Netherlands, All leisure accommodation, Netherlands (x1 000), year |
| unit | string | number |
| value | number | 40540800 |