Is a date a public holiday (and is it a weekend)?

Tells you whether a date (default: today) is a public holiday or a weekend.

Request

GEThttps://public-holidays.p.apihiver.com/v1/is-holiday?country=IN&date=2026-10-02
*
String. ISO country code, e.g. IN, US, GB.
String. YYYY-MM-DD (default today)
String. State/province code, e.g. MH (Maharashtra), KA, TN. See /v1/countries.
Language
Client
1curl --request GET \
2  --url 'https://public-holidays.p.apihiver.com/v1/is-holiday?country=IN&date=2026-10-02&subdivision=%7Bsubdivision%7D' \
3  --header 'Accept: application/json' \
4  --header 'X-API-Key: YOUR_API_KEY'

Is a date a public holiday (and is it a weekend)?: Public Holidays API reference

Tells you whether a date (default: today) is a public holiday or a weekend. This endpoint is part of the Public Holidays API: Public holidays for 150+ countries — including Indian states — plus 'is it a holiday?', upcoming holidays and working-day counts.

Example response (200, application/json)

Success.

1{
2  "date": "2026-10-02",
3  "country": "IN",
4  "holiday": "Gandhi Jayanti",
5  "is_holiday": true,
6  "is_weekend": false,
7  "is_working_day": false
8}

Errors

  • 400 — A required parameter is missing or a value has the wrong format.
    1{
    2  "error": {
    3    "code": "INVALID_INPUT",
    4    "message": "country: Field required"
    5  }
    6}

Gateway errors (missing key, no subscription, rate limits) are listed in Error codes.