Zum Inhalt springen
GET /v1/next

Next upcoming holidays

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/holidays-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
…