A P I

Public holiday API for 250 countries (free JSON & iCal)

Public holidays for 247 countries and regions as JSON and iCalendar. Names in 12 languages, with each country's weekend (e.g. Friday–Saturday in parts of the Middle East) and make-up working days (e.g. China). No API key, CORS enabled.

Endpoint
GET /api/v1/country/{cc}.json
CORS
Access-Control-Allow-Origin: *
Data
Countries: python-holidays (MIT), checked against government data. Japan: Cabinet Office
Example response (Germany)
{
  "country": "DE",
  "name": {
    "en": "Germany",
    "ja": "ドイツ",
    …
  },
  "years": [2025, 2026, 2027, 2028],
  "weekend": [0, 6],
  "holidays": [
    {
      "date": "2025-01-01",
      "name": {
        "en": "New Year's Day",
        "ja": "元日",
        …
      },
      "local": "Neujahr",
      "observed": false,
      "status": "rule"
    },
    {
      "date": "2025-04-18",
      "name": {
        "en": "Good Friday",
        "ja": "聖金曜日",
        …
      },
      "local": "Karfreitag",
      "observed": false,
      "status": "rule"
    },
    …
  ],
  "workdays": []
}
Example — fetch
const res = await fetch("https://holiday.omikuji.dev/api/v1/country/de.json");
const de = await res.json();

// Is 2026-10-03 a public holiday in Germany?
const h = de.holidays.find(
  (x) => x.date === "2026-10-03" && !x.regions && !x.scope
);
h?.name.en; // → "German Unity Day"

Countries and regions

Fields

weekend
Weekend days (0 = Sunday … 6 = Saturday). e.g. United States [0, 6], Saudi Arabia [5, 6]
weekendChanges
Only for countries whose weekend changed (e.g. Nepal from 2026-04-06)
holidays[].name
Holiday name in 12 languages. local is the name in the local language
holidays[].status
official = checked against government data / rule = computed from the legal rules / estimated = not yet announced or depends on moon sighting
holidays[].observed
true for a substitute day moved from a weekend
holidays[].regions
Only some regions (states, provinces). Absent = nationwide
holidays[].scope
"government" = days off for government offices only (e.g. Indonesia's collective leave)
workdays
Weekend days that are working days (e.g. China's make-up working days). offDay is the day off it replaces
years / announcedThrough
Years included / last year announced by the government

Japan (Cabinet Office data, 1955 onward)

Japan is also available from the country endpoint (jp). These older Japan-only endpoints return Japanese names.

Usage notes