Country holidays
GET
/v1/holidays/{iso}All public holidays for one country and year, national and regional.
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 |
| yearoptional | integer query | Calendar year e.g. 2026 |
Request
# One country's holidays by year
curl "https://api.tourismapi.com/v1/holidays/CL" \
-H "X-API-Key: $TOURISM_API_KEY"const res = await fetch("https://api.tourismapi.com/v1/holidays/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/holidays/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/holidays/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_866432f6c4",
"data_as_of": "2026-10-20T04:48:18Z",
"count": 17
},
"data": [
{
"country": "CL",
"date": "2026-01-01",
"name": "New Year's Day",
"local_name": "Año Nuevo",
"national": true
},
{
"country": "CL",
"date": "2026-04-03",
"name": "Good Friday",
"local_name": "Viernes Santo",
"national": true
},
{
"country": "CL",
"date": "2026-04-04",
"name": "Holy Saturday",
"local_name": "Sábado Santo",
"national": true
}
]
}Response fields
| Field | Type | Example |
|---|---|---|
| country | string | CL |
| date | string | 2026-01-01 |
| name | string | New Year's Day |
| local_name | string | Año Nuevo |
| national | boolean | true |