Country download
GET
/v1/bulk/{iso}.csvEvery series and value for one country as a single CSV, rebuilt after each release.
Intel plan and upKey requiredFile downloadCached until the next release
Parameters
| Name | Type | Description |
|---|---|---|
| isorequired | string path | ISO 3166 two-letter country code e.g. CL |
Request
# A whole country in one file
curl "https://api.tourismapi.com/v1/bulk/CL.csv" \
-H "X-API-Key: $TOURISM_API_KEY"const res = await fetch("https://api.tourismapi.com/v1/bulk/CL.csv", {
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/bulk/CL.csv",
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/bulk/CL.csv");
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
series_id,period,value,unit jp.arrivals.total.m,2026-06,694628,arrivals jp.arrivals.total.m,2026-07,769406,arrivals jp.arrivals.total.m,2026-08,798946,arrivals ...