{"openapi":"3.1.0","info":{"title":"Public Holidays & Working Days - 200+ Countries","description":"Public holidays of 250 countries and their regions, any year 1950-2100, and working-day maths: count business days or add them to a date.","version":"v1"},"servers":[{"url":"https://public-holidays-working-days-200-countries.p.rapidapi.com","description":"RapidAPI"}],"paths":{"/v1/holidays/list":{"get":{"tags":["Holidays"],"summary":"Public holidays of a country for a year","description":"Every public holiday of a country (and of a region when given) for one\nyear, with its date, name and weekday. 1 credit.","operationId":"listPublicHolidays","parameters":[{"name":"country","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":2,"description":"ISO 3166-1 alpha-2 country code (see Get Supported Countries).","examples":["FR"],"title":"Country"},"description":"ISO 3166-1 alpha-2 country code (see Get Supported Countries)."},{"name":"year","in":"query","required":true,"schema":{"type":"integer","maximum":2100,"minimum":1950,"description":"Year, 1950-2100.","examples":[2026],"title":"Year"},"description":"Year, 1950-2100."},{"name":"subdivision","in":"query","required":false,"schema":{"type":"string","maxLength":10,"description":"State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays.","examples":["57"],"title":"Subdivision"},"description":"State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays."},{"name":"language","in":"query","required":false,"schema":{"type":"string","maxLength":10,"description":"Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries.","examples":["fr"],"title":"Language"},"description":"Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries."},{"name":"categories","in":"query","required":false,"schema":{"type":"string","maxLength":100,"description":"Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days.","title":"Categories"},"description":"Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HolidayList"},"examples":{"List Public Holidays":{"summary":"List Public Holidays","value":{"country":"FR","country_name":"France","subdivision":"BY","year":2026,"language":"en_US","count":11,"holidays":[{"date":"2026-07-14","name":"National Day","weekday":"Tuesday","category":"public","days_until":49}],"note":"National holidays only: add subdivision for the regional ones (codes in Get Supported Countries)."}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"List Public Holidays"}},"/v1/holidays/next":{"get":{"tags":["Holidays"],"summary":"The next public holidays from a date","description":"The next holidays on or after a date, with the days left until each:\n\"next day off\" widgets, reminders, countdowns. 1 credit.","operationId":"getNextHolidays","parameters":[{"name":"country","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":2,"description":"ISO 3166-1 alpha-2 country code (see Get Supported Countries).","examples":["US"],"title":"Country"},"description":"ISO 3166-1 alpha-2 country code (see Get Supported Countries)."},{"name":"date","in":"query","required":false,"schema":{"type":"string","format":"date","description":"Start date, YYYY-MM-DD (included). Default: today (UTC).","examples":["2026-11-25"],"title":"Date"},"description":"Start date, YYYY-MM-DD (included). Default: today (UTC)."},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"description":"How many holidays, 1-20.","examples":[5],"default":5,"title":"Count"},"description":"How many holidays, 1-20."},{"name":"subdivision","in":"query","required":false,"schema":{"type":"string","maxLength":10,"description":"State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays.","examples":["CA"],"title":"Subdivision"},"description":"State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays."},{"name":"language","in":"query","required":false,"schema":{"type":"string","maxLength":10,"description":"Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries.","examples":["en_US"],"title":"Language"},"description":"Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries."},{"name":"categories","in":"query","required":false,"schema":{"type":"string","maxLength":100,"description":"Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days.","title":"Categories"},"description":"Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NextHolidays"},"examples":{"Get Next Holidays":{"summary":"Get Next Holidays","value":{"country":"US","subdivision":"CA","date":"2026-11-25","count":5,"holidays":[{"date":"2026-07-14","name":"National Day","weekday":"Tuesday","category":"public","days_until":49}],"note":"National holidays only: add subdivision for the regional ones (codes in Get Supported Countries)."}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Get Next Holidays"}},"/v1/holidays/long-weekends":{"get":{"tags":["Holidays"],"summary":"Long weekends and bridge days of a year","description":"Every stretch of 3 or more days off around a holiday in a year, plus\nthe longer ones a single bridge day (one working day taken off) would\ngive, with that day in bridge_days. For travel, leave planning and\nstaffing. 1 credit.","operationId":"getLongWeekends","parameters":[{"name":"country","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":2,"description":"ISO 3166-1 alpha-2 country code (see Get Supported Countries).","examples":["FR"],"title":"Country"},"description":"ISO 3166-1 alpha-2 country code (see Get Supported Countries)."},{"name":"year","in":"query","required":true,"schema":{"type":"integer","maximum":2100,"minimum":1950,"description":"Year, 1950-2100.","examples":[2026],"title":"Year"},"description":"Year, 1950-2100."},{"name":"subdivision","in":"query","required":false,"schema":{"type":"string","maxLength":10,"description":"State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays.","examples":["57"],"title":"Subdivision"},"description":"State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays."},{"name":"language","in":"query","required":false,"schema":{"type":"string","maxLength":10,"description":"Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries.","examples":["fr"],"title":"Language"},"description":"Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries."},{"name":"categories","in":"query","required":false,"schema":{"type":"string","maxLength":100,"description":"Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days.","title":"Categories"},"description":"Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LongWeekends"},"examples":{"Get Long Weekends":{"summary":"Get Long Weekends","value":{"country":"FR","subdivision":"BY","year":2026,"count":9,"long_weekends":[{"start":"2026-05-14","end":"2026-05-17","days":4,"bridge_days":["2026-05-15"],"holidays":[{"date":"2026-07-14","name":"National Day","weekday":"Tuesday","category":"public","days_until":49}]}],"note":"National holidays only: add subdivision for the regional ones (codes in Get Supported Countries)."}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Get Long Weekends"}},"/v1/holidays/check":{"get":{"tags":["Holidays"],"summary":"Is a date a public holiday or a working day?","description":"Whether a date is a public holiday (with its names), a weekend day for\nthat country, and a working day. 1 credit.","operationId":"checkDate","parameters":[{"name":"country","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":2,"description":"ISO 3166-1 alpha-2 country code (see Get Supported Countries).","examples":["FR"],"title":"Country"},"description":"ISO 3166-1 alpha-2 country code (see Get Supported Countries)."},{"name":"date","in":"query","required":true,"schema":{"type":"string","format":"date","description":"Date, YYYY-MM-DD.","examples":["2026-07-14"],"title":"Date"},"description":"Date, YYYY-MM-DD."},{"name":"subdivision","in":"query","required":false,"schema":{"type":"string","maxLength":10,"description":"State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays.","examples":["57"],"title":"Subdivision"},"description":"State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays."},{"name":"language","in":"query","required":false,"schema":{"type":"string","maxLength":10,"description":"Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries.","examples":["fr"],"title":"Language"},"description":"Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries."},{"name":"categories","in":"query","required":false,"schema":{"type":"string","maxLength":100,"description":"Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days.","title":"Categories"},"description":"Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DayCheck"},"examples":{"Check Date":{"summary":"Check Date (real response)","value":{"country":"FR","date":"2026-07-14","weekday":"Tuesday","is_holiday":true,"holiday_names":["National Day"],"holidays":[{"date":"2026-07-14","name":"National Day","weekday":"Tuesday","category":"public"}],"is_weekend":false,"is_working_day":false}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Check Date"}},"/v1/holidays/working-days":{"get":{"tags":["Working Days"],"summary":"Working days between two dates","description":"Working days, weekend days and the public holidays between two dates,\nboth included, up to 10 years. 1 credit.","operationId":"countWorkingDays","parameters":[{"name":"country","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":2,"description":"ISO 3166-1 alpha-2 country code (see Get Supported Countries).","examples":["DE"],"title":"Country"},"description":"ISO 3166-1 alpha-2 country code (see Get Supported Countries)."},{"name":"start","in":"query","required":true,"schema":{"type":"string","format":"date","description":"First day, YYYY-MM-DD (included).","examples":["2026-12-01"],"title":"Start"},"description":"First day, YYYY-MM-DD (included)."},{"name":"end","in":"query","required":true,"schema":{"type":"string","format":"date","description":"Last day, YYYY-MM-DD (included).","examples":["2026-12-31"],"title":"End"},"description":"Last day, YYYY-MM-DD (included)."},{"name":"subdivision","in":"query","required":false,"schema":{"type":"string","maxLength":10,"description":"State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays.","examples":["BY"],"title":"Subdivision"},"description":"State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays."},{"name":"language","in":"query","required":false,"schema":{"type":"string","maxLength":10,"description":"Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries.","examples":["de"],"title":"Language"},"description":"Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries."},{"name":"categories","in":"query","required":false,"schema":{"type":"string","maxLength":100,"description":"Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days.","title":"Categories"},"description":"Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingDays"},"examples":{"Count Working Days":{"summary":"Count Working Days","value":{"country":"DE","subdivision":"BY","start":"2026-12-01","end":"2026-12-31","calendar_days":31,"working_days":20,"weekend_days":8,"holidays":[{"date":"2026-07-14","name":"National Day","weekday":"Tuesday","category":"public","days_until":49}],"note":"National holidays only: add subdivision for the regional ones (codes in Get Supported Countries)."}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Count Working Days"}},"/v1/holidays/add-working-days":{"get":{"tags":["Working Days"],"summary":"The date N working days after (or before) a date","description":"Due dates and delivery estimates: the date that many working days later\n(or earlier), skipping weekends and public holidays, with the holidays\nskipped. 1 credit.","operationId":"addWorkingDays","parameters":[{"name":"country","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":2,"description":"ISO 3166-1 alpha-2 country code (see Get Supported Countries).","examples":["DE"],"title":"Country"},"description":"ISO 3166-1 alpha-2 country code (see Get Supported Countries)."},{"name":"date","in":"query","required":true,"schema":{"type":"string","format":"date","description":"Start date, YYYY-MM-DD.","examples":["2026-12-23"],"title":"Date"},"description":"Start date, YYYY-MM-DD."},{"name":"days","in":"query","required":true,"schema":{"type":"integer","maximum":1000,"minimum":-1000,"description":"Working days to add (negative to go back), -1000 to 1000.","examples":[3],"title":"Days"},"description":"Working days to add (negative to go back), -1000 to 1000."},{"name":"subdivision","in":"query","required":false,"schema":{"type":"string","maxLength":10,"description":"State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays.","examples":["BY"],"title":"Subdivision"},"description":"State, region or province code for local holidays (e.g. BY for Bavaria, CA for California). Leave empty for national holidays."},{"name":"language","in":"query","required":false,"schema":{"type":"string","maxLength":10,"description":"Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries.","examples":["de"],"title":"Language"},"description":"Language of the holiday names (default English when available, e.g. fr, de, es). Listed per country in Get Supported Countries."},{"name":"categories","in":"query","required":false,"schema":{"type":"string","maxLength":100,"description":"Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days.","title":"Categories"},"description":"Extra holiday categories, comma-separated, on top of public holidays: bank, government, optional, school, unofficial (observances)... Listed per country in Get Supported Countries. Bank, government and religious ones also count as days off for working days."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShiftedDate"},"examples":{"Add Working Days":{"summary":"Add Working Days","value":{"country":"DE","subdivision":"BY","date":"2026-12-23","working_days":3,"result":"2026-12-29","skipped_holidays":[{"date":"2026-07-14","name":"National Day","weekday":"Tuesday","category":"public","days_until":49}]}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Add Working Days"}},"/v1/holidays/countries":{"get":{"tags":["Countries"],"summary":"Countries, their regions, weekends and languages","description":"Every supported country with its code, name, weekend days, the\nlanguages of its holiday names, its holiday categories and its\nsubdivisions. 1 credit.","operationId":"getSupportedCountries","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CountryList"},"examples":{"Get Supported Countries":{"summary":"Get Supported Countries","value":{"count":250,"countries":[{"code":"DE","name":"Germany","weekend":["Saturday","Sunday"],"languages":["de","en_US","th","uk"],"categories":["public","catholic","school"],"subdivisions":{"BE":"Berlin","BY":"Bayern"}}]}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Get Supported Countries"}}},"components":{"schemas":{"Country":{"properties":{"code":{"type":"string","title":"Code","examples":["DE"]},"name":{"type":"string","title":"Name","examples":["Germany"]},"weekend":{"items":{"type":"string"},"type":"array","title":"Weekend","examples":[["Saturday","Sunday"]]},"languages":{"items":{"type":"string"},"type":"array","title":"Languages","examples":[["de","en_US","th","uk"]]},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","description":"Holiday categories available for the categories parameter.","examples":[["public","catholic","school"]]},"subdivisions":{"additionalProperties":{"type":"string"},"type":"object","title":"Subdivisions","description":"Code to name, when names are known; otherwise code to code.","examples":[{"BE":"Berlin","BY":"Bayern"}]}},"type":"object","required":["code","name","weekend","languages"],"title":"Country"},"CountryList":{"properties":{"count":{"type":"integer","title":"Count","examples":[250]},"countries":{"items":{"$ref":"#/components/schemas/Country"},"type":"array","title":"Countries"}},"type":"object","required":["count","countries"],"title":"CountryList"},"DayCheck":{"properties":{"country":{"type":"string","title":"Country","examples":["FR"]},"date":{"type":"string","format":"date","title":"Date","examples":["2026-07-14"]},"weekday":{"type":"string","title":"Weekday","examples":["Tuesday"]},"is_holiday":{"type":"boolean","title":"Is Holiday"},"holiday_names":{"items":{"type":"string"},"type":"array","title":"Holiday Names","examples":[["National Day"]]},"holidays":{"items":{"$ref":"#/components/schemas/Holiday"},"type":"array","title":"Holidays","description":"The same holidays with their category."},"is_weekend":{"type":"boolean","title":"Is Weekend","description":"Falls on the country's weekend (Saturday-Sunday in most countries, Friday-Saturday in some)."},"is_working_day":{"type":"boolean","title":"Is Working Day","description":"Neither a weekend day nor a holiday (working Saturdays of some countries included)."}},"type":"object","required":["country","date","weekday","is_holiday","is_weekend","is_working_day"],"title":"DayCheck"},"ErrorBody":{"properties":{"status":{"type":"integer","title":"Status","examples":[400]},"code":{"type":"string","title":"Code","examples":["invalid_url"]},"message":{"type":"string","title":"Message","examples":["A website URL is required."]}},"type":"object","required":["status","code","message"],"title":"ErrorBody"},"ErrorEnvelope":{"properties":{"error":{"$ref":"#/components/schemas/ErrorBody"}},"type":"object","required":["error"],"title":"ErrorEnvelope"},"Holiday":{"properties":{"date":{"type":"string","format":"date","title":"Date","examples":["2026-07-14"]},"name":{"type":"string","title":"Name","examples":["National Day"]},"weekday":{"type":"string","title":"Weekday","examples":["Tuesday"]},"category":{"type":"string","title":"Category","description":"public, or the extra category asked (bank, optional, government, school...).","default":"public","examples":["public"]},"days_until":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Days Until","description":"Days from the start date (Get Next Holidays).","examples":[49]}},"type":"object","required":["date","name","weekday"],"title":"Holiday"},"HolidayList":{"properties":{"country":{"type":"string","title":"Country","examples":["FR"]},"country_name":{"type":"string","title":"Country Name","examples":["France"]},"subdivision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subdivision","examples":["BY"]},"year":{"type":"integer","title":"Year","examples":[2026]},"language":{"type":"string","title":"Language","examples":["en_US"]},"count":{"type":"integer","title":"Count","examples":[11]},"holidays":{"items":{"$ref":"#/components/schemas/Holiday"},"type":"array","title":"Holidays"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note","description":"Set when only national holidays are counted for a country that also has regional ones.","examples":["National holidays only: add subdivision for the regional ones (codes in Get Supported Countries)."]}},"type":"object","required":["country","country_name","year","language","count","holidays"],"title":"HolidayList"},"LongWeekend":{"properties":{"start":{"type":"string","format":"date","title":"Start","examples":["2026-05-14"]},"end":{"type":"string","format":"date","title":"End","examples":["2026-05-17"]},"days":{"type":"integer","title":"Days","description":"Days off in a row, bridge days included.","examples":[4]},"bridge_days":{"items":{"type":"string","format":"date"},"type":"array","title":"Bridge Days","description":"Working day to take off to get this stretch (empty: it is off already).","examples":[["2026-05-15"]]},"holidays":{"items":{"$ref":"#/components/schemas/Holiday"},"type":"array","title":"Holidays"}},"type":"object","required":["start","end","days","holidays"],"title":"LongWeekend"},"LongWeekends":{"properties":{"country":{"type":"string","title":"Country","examples":["FR"]},"subdivision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subdivision","examples":["BY"]},"year":{"type":"integer","title":"Year","examples":[2026]},"count":{"type":"integer","title":"Count","examples":[9]},"long_weekends":{"items":{"$ref":"#/components/schemas/LongWeekend"},"type":"array","title":"Long Weekends"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note","description":"Set when only national holidays are counted for a country that also has regional ones.","examples":["National holidays only: add subdivision for the regional ones (codes in Get Supported Countries)."]}},"type":"object","required":["country","year","count","long_weekends"],"title":"LongWeekends"},"NextHolidays":{"properties":{"country":{"type":"string","title":"Country","examples":["US"]},"subdivision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subdivision","examples":["CA"]},"date":{"type":"string","format":"date","title":"Date","description":"Search start (included).","examples":["2026-11-25"]},"count":{"type":"integer","title":"Count","examples":[5]},"holidays":{"items":{"$ref":"#/components/schemas/Holiday"},"type":"array","title":"Holidays"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note","description":"Set when only national holidays are counted for a country that also has regional ones.","examples":["National holidays only: add subdivision for the regional ones (codes in Get Supported Countries)."]}},"type":"object","required":["country","date","count","holidays"],"title":"NextHolidays"},"ShiftedDate":{"properties":{"country":{"type":"string","title":"Country","examples":["DE"]},"subdivision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subdivision","examples":["BY"]},"date":{"type":"string","format":"date","title":"Date","examples":["2026-12-23"]},"working_days":{"type":"integer","title":"Working Days","examples":[3]},"result":{"type":"string","format":"date","title":"Result","description":"The date that many working days later (or earlier when negative), skipping weekends and holidays.","examples":["2026-12-29"]},"skipped_holidays":{"items":{"$ref":"#/components/schemas/Holiday"},"type":"array","title":"Skipped Holidays"}},"type":"object","required":["country","date","working_days","result"],"title":"ShiftedDate"},"WorkingDays":{"properties":{"country":{"type":"string","title":"Country","examples":["DE"]},"subdivision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subdivision","examples":["BY"]},"start":{"type":"string","format":"date","title":"Start","examples":["2026-12-01"]},"end":{"type":"string","format":"date","title":"End","examples":["2026-12-31"]},"calendar_days":{"type":"integer","title":"Calendar Days","description":"Both ends included.","examples":[31]},"working_days":{"type":"integer","title":"Working Days","examples":[20]},"weekend_days":{"type":"integer","title":"Weekend Days","examples":[8]},"holidays":{"items":{"$ref":"#/components/schemas/Holiday"},"type":"array","title":"Holidays","description":"Holidays in the range, weekends included."},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note","description":"Set when only national holidays are counted for a country that also has regional ones.","examples":["National holidays only: add subdivision for the regional ones (codes in Get Supported Countries)."]}},"type":"object","required":["country","start","end","calendar_days","working_days","weekend_days","holidays"],"title":"WorkingDays"}},"securitySchemes":{"RapidAPIKey":{"type":"apiKey","in":"header","name":"X-RapidAPI-Key"},"RapidAPIHost":{"type":"apiKey","in":"header","name":"X-RapidAPI-Host"}}},"tags":[{"name":"Holidays","description":"Public holidays of a year, or whether one date is a holiday."},{"name":"Working Days","description":"Count working days, or add them to a date."},{"name":"Countries","description":"Supported countries, regions, weekends and languages."}],"security":[{"RapidAPIKey":[],"RapidAPIHost":[]}]}