Documentation

API URL


GET /holidays

Headers
Code
Content-Type: application/json
Query Parameters


Example GET Request

Code
GET /holidays?country=US&year=2024&types=national

Successful Response

Status
HTML
200 OK
Body
Code
[
  {
    "date": "2024-01-01",
    "name": "New Year's Day",
    "type": "national",
    "country": "US"
  },
  {
    "date": "2024-07-04",
    "name": "Independence Day",
    "type": "national",
    "country": "US"
  }
]

Error Response

Example
Code
400 INVALID_COUNTRY – Country code not supported
400 INVALID_YEAR – Year outside supported range
404 NO_HOLIDAYS – No holidays found for criteria

Last Updated:  May 4, 2026