HolidayAPI

FREEMIUM
By SzymonDukla
Updated 2 months ago
Database
-/10
Popularity Score
-
Latency
-
Success Rate

HolidayAPI API Documentation

Holiday API is a global holiday JSON API platform. With support for 8000+ holidays in native languages, we got you covered. Get started for FREE!

View API Details
GETHolidays
GETHolidays

Get public holidays and observances list

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
countrySTRING
REQUIREDISO 3166-1 alpha-2 country code from Countries section.
yearNUMBER
REQUIRED4-digit year (YYYY)
Optional Parameters
monthSTRING
OPTIONAL1 or 2 digit month identifier (MM or M)
langSTRING
OPTIONALChoose holiday name output language
previousBOOLEAN
OPTIONALReturn only holidays before given date (default: 0)
upcomingBOOLEAN
OPTIONALReturn only holidays after given date (default: 0)
daySTRING
OPTIONAL1 or 2 digit day identifier (DD or D)
prettyBOOLEAN
OPTIONALOutput as human-readable text
publicBOOLEAN
OPTIONALReturn only public holidays
formatSTRING
OPTIONALDefine return data format (available: json, xml)
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication