/v1/next
Next upcoming holidays
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/holidays-api/v1/next" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/holidays-api/v1/next", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/holidays-api/v1/next");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/holidays-api/v1/next",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"count": 12,
"country": "US",
"holidays": [
{
"date": "2026-06-19",
"name": "Juneteenth National Independence Day",
"types": [
"Public",
"Bank"
],
"global": true,
"country": "US",
"counties": null,
"local_name": "Juneteenth National Independence Day",
"launch_year": null
},
{
"date": "2026-07-03",
"name": "Independence Day",
"types": [
"Public",
"Bank"
],
"global": true,
"country": "US",
"counties": null,
"local_name": "Independence Day",
"launch_year": null
},
{
"date": "2026-09-07",
"name": "Labour Day",
"types": [
"Public",
"Bank"
],
"global": true,
"country": "US",
"counties": null,
"local_name": "Labor Day",
"launch_year": null
},
{
"date": "2026-10-12",
"name": "Columbus Day",
"types": [
"Public"
],
"global": false,
"country": "US",
"counties": [
"US-AL",
"US-AZ",
"US-CO",
"US-CT",
"US-GA",
"US-ID",
"US-IL",
"US-IN",
"US-IA",
"US-KS",
"US-KY",
"US-LA",
"US-ME",
"US-MD",
"US-MA",
"US-MS",
"US-MO",
"US-MT",
"US-NE",
"US-NH",
"US-NJ",
"US-NM",
"US-NY",
"US-NC",
"US-OH",
"US-OK",
"US-PA",
"US-RI",
"US-SC",
"US-TN",
"US-UT",
"US-VA",
"US-WV"
],
"local_name": "Columbus Day",
"launch_year": null
},
{
"date": "2026-10-12",
"name": "Indigenous Peoples' Day",
"types": [
"Public"
],
"global": false,
"country": "US",
"counties": [
"US-AK",
"US-AL",
"US-C
…