---
title: "Public holidays API | APIFor"
description: "Public holidays by country and year, with local names and regional scope. 1 credit per call, REST and MCP, one API key."
canonical: "https://apifor.dev/services/holidays/"
---

1. [Services](https://apifor.dev/services/)
2. [Holidays](https://apifor.dev/services/holidays/)

# Public holidays API

Public holidays by country and year, with local names and regional scope. Where we hold an official government list, it replaces the generic rows for the years it covers.

GET /v1/holidays 1 credit About $0.001

[Get a free API key](https://app.apifor.dev/register) [Endpoint reference](https://apifor.dev/docs/reference/holidays/)

## Try it

GET /v1/holidays

```bash
curl 'https://api.apifor.dev/v1/holidays?country=GB&year=2026&limit=2' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response · 200

```json
{
  "success": true,
  "data": [
    {
      "id": "GB-2026-01-01-1",
      "country_code": "GB",
      "date": "2026-01-01",
      "year": 2026,
      "local_name": "New Year's Day",
      "name": "New Year's Day",
      "is_global": 1,
      "is_fixed": 0,
      "counties": null,
      "types": "Public",
      "launch_year": null
    },
    {
      "id": "GB-2026-01-02-1",
      "country_code": "GB",
      "date": "2026-01-02",
      "year": 2026,
      "local_name": "2nd January",
      "name": "2nd January",
      "is_global": 0,
      "is_fixed": 0,
      "counties": "GB-SCT",
      "types": "Public",
      "launch_year": null
    }
  ],
  "meta": {
    "total": 2,
    "page": 1,
    "per_page": 2,
    "total_pages": 1,
    "attribution": {
      "source": "https://www.gov.uk/bank-holidays",
      "licence": "Open Government Licence v3.0",
      "license": "Open Government Licence v3.0",
      "license_url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
      "source_url": "https://www.gov.uk/bank-holidays",
      "attribution_page": "https://apifor.dev/sources",
      "notice": "Contains public sector information licensed under the Open Government Licence v3.0 (GOV.UK bank holidays)."
    },
    "sources": [
      {
        "country": "GB",
        "name": "GOV.UK bank holidays (England and Wales, Scotland, Northern Ireland)",
        "url": "https://www.gov.uk/bank-holidays",
        "licence": "Open Government Licence v3.0",
        "licence_url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
        "notice": "Contains public sector information licensed under the Open Government Licence v3.0 (GOV.UK bank holidays)."
      }
    ]
  }
}
```

A real response from our OpenAPI file, with long lists and strings shortened.

## Endpoints and price

| Endpoint | Credits | About |
| --- | --- | --- |
| GET `/v1/holidays` | 1 credit | $0.001 |
| GET `/v1/holidays/{id}` | 1 credit | $0.001 |
| GET `/v1/holidays/coverage` (Free) | Free | $0 |

USD at Starter pack prices ($5 for 5,000 credits). Calls that fail before work starts are refunded.

## Coverage today

Works for any country. Country-specific data: Indonesia, Singapore and United Kingdom.

Leave `country` out to get every covered country, or pass one to narrow it.

Country pages with the official source: [Singapore public holidays API](https://apifor.dev/services/holidays/singapore/), [UK bank holidays API](https://apifor.dev/services/holidays/united-kingdom/).

Sources, row counts and country-only fields per country: [`GET /v1/holidays/coverage`](https://apifor.dev/docs/reference/holidays/#get-holidays-coverage), free with your API key. [How coverage works](https://apifor.dev/docs/coverage/)

## Limits

- Filter regional holidays with subdivision, an ISO 3166-2 code such as GB-SCT.
- Official rows have ids like GB-2026-01-02-1. Other ids stay numeric.
- Check regional observance before you use dates for scheduling.

## Sources and licences

- **[Nager.Date](https://date.nager.at)**: MIT
- **[SKB 3 Menteri (Kemenko PMK)](https://www.kemenkopmk.go.id)**: Public domain (government)
- **[GOV.UK bank holidays](https://www.gov.uk/bank-holidays)**: Open Government Licence v3.0
- **[MOM Singapore Public Holidays (data.gov.sg)](https://data.gov.sg/datasets/d_8ef23381f9417e4d4254ee8b4dcdb176/view)**: Singapore Open Data Licence

### Attribution

- Contains public sector information licensed under the Open Government Licence v3.0.
- Contains information from Singapore Public Holidays accessed from data.gov.sg, made available under the terms of the Singapore Open Data Licence version 1.0.

## Also on MCP

Connect `https://mcp.apifor.dev/mcp` and your agent gets a tool for this service, billed the same way.

[MCP setup](https://apifor.dev/docs/mcp/)

## Questions

**What happened to the holidays dataset?**

It is now this service, at the same path and the same 1 credit per call, with the same row shape.

**Where do the dates come from?**

Nager.Date (MIT) for every country, replaced by an official government list where we hold one.

## Related services

[All services](https://apifor.dev/services/)

- [Hijri calendar converter API](https://apifor.dev/services/calendars/)
- [Sunrise, sunset and moon phase API](https://apifor.dev/services/sun/)
- [Quran text API](https://apifor.dev/services/quran/)
- [Bible text API](https://apifor.dev/services/bible/)
- [English dictionary API](https://apifor.dev/services/dictionary/)
- [Prayer times API](https://apifor.dev/services/prayer-times/)
