/v1/next
Next upcoming holidays
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
…