Upcoming holidays
GET
/v1/holidays/upcomingPublic holidays from today for the next 30 days (or any number up to a year), with how many days away each is.
On every plan, Free includedKey requiredJSON or CSVCached until the next release
Parameters
| Name | Type | Description |
|---|---|---|
| countryoptional | string query | One or more ISO codes, comma separated e.g. CL,BA,AT |
| daysoptional | integer query | How many days ahead, 1 to 365 (30 when left out) e.g. 30 |
Request
# Public holidays in the coming days
curl "https://api.tourismapi.com/v1/holidays/upcoming?country=CL" \
-H "X-API-Key: $TOURISM_API_KEY"const res = await fetch("https://api.tourismapi.com/v1/holidays/upcoming?country=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/upcoming?country=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/upcoming?country=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_86acc455b5",
"data_as_of": "2026-10-20T04:48:19Z",
"count": 2,
"from": "2026-10-20",
"days": 30
},
"data": [
{
"country": "CL",
"date": "2026-10-31",
"name": "Reformation Day",
"local_name": "Día Nacional de las Iglesias Evangélicas y Protestantes",
"national": true,
"in_days": 11
},
{
"country": "CL",
"date": "2026-11-01",
"name": "All Saints Day",
"local_name": "Día de Todos los Santos",
"national": true,
"in_days": 12
}
]
}Response fields
| Field | Type | Example |
|---|---|---|
| country | string | CL |
| date | string | 2026-10-31 |
| name | string | Reformation Day |
| local_name | string | Día Nacional de las Iglesias Evangélicas y Protestantes |
| national | boolean | true |
| in_days | number | 11 |