festivos.io
Spain · open data

Spain's public-holiday calendars. Down to the municipality

National and regional holidays, plus the local dates currently available for your municipality (INE code). Every published date keeps an official source reference and, when available, a link to the document; missing local coverage is shown explicitly.

Official sourcesCalendar subscriptionFree API
Municipalities

8.132

With ≥1 local date · 2026

7,212

Live years

2024–26

Territorial indexes

country · region · province · INE

Explore by region

17 autonomous communities + Ceuta and Melilla

Regional calendars, municipality pages and a transparent local-coverage status for each territory.

What you can ask

Answers in one click

From “is today a holiday?” to long weekends and working days — for any of the 8,132 municipality records, using the dates currently published.

An example

Calendar by municipality

Each municipality page shows its holidays, long weekends and the exact status of its local coverage.

For developers

The data, with its source

Static dataset (JSON / ICS) under /v1/ and a query layer at the edge. Free, no sign-up or key. Every holiday keeps an official source reference and, when available, a document link.

# Is 19 August 2026 a public holiday in Tarragona?
curl "https://api.festivos.io/v1/is-holiday?date=2026-08-19&municipio=43148"

# → holiday: true · “Sant Magí” (local) · source: Generalitat/DOGC
GET festivos.io/v1/2026/municipio/43148.json · one municipality
GET festivos.io/v1/2026/municipio/43148.ics · for your calendar
GET festivos.io/v1/ref/municipios.json · INE reference
GET api.festivos.io/v1/dias-habiles?municipio=&from=&to=
GET api.festivos.io/v1/puentes?municipio=&year=

For agents and AI

Connect it to your assistant

An MCP server exposes the holidays as tools: the agent understands the municipality name and answers in natural language, without you knowing the INE code.

# Terminal · any MCP client via remote URL
claude mcp add --transport sse festivos https://mcp.festivos.io/sse

Ask it: “Do I work tomorrow in Sabadell?” · “Long weekends in Barcelona 2026?”

Transparency

Coverage and status

National and regional layers come from the BOE and regional resolutions. Local data is integrated region by region; current and historical gaps are reported instead of inferred.

With ≥1 local date · 2026

88.7%

Named · 2026

52.4%

2025

84%

2024

69.9%

See coverage by region →

FAQ

Before you use it

Is it free? Do I need a key?

Yes: free, no sign-up or key. Data under CC BY 4.0 (cite the source). Static files over CDN, with no practical limits.

What exactly does it cover?

For 2026, national and regional holidays are present for every municipality; local dates are present for 7,212 of 8,132 municipalities (88.7%). Named, generic and missing local records are reported separately on the coverage page.

How many holidays does a municipality have per year?

Usually around 14, combining national, regional and up to two local dates designated for that municipality. The exact figure and the dataset's local availability depend on the municipality and year.

What's the difference between national, regional and local holidays?

National holidays apply across Spain; regional holidays apply in one autonomous community; local holidays apply only in a municipality and are generally designated up to two per year.

What is a “puente” (long weekend)?

A working day wedged between two non-working days (or next to a holiday and the weekend) that people usually take off. festivos.io detects them per municipality.

How do I add the holidays to my calendar?

Every municipality has a year-specific .ics link for Google Calendar, Apple Calendar or Outlook. It reflects corrections to that published year; switch to the next year's URL when required.

What about the local holiday names?

Where the gazette publishes them, yes. Where only dates exist, we add verified names for capitals and notable municipalities; the rest grows by Pull Request.

What if a holiday falls on a weekend?

It's still marked. Some national holidays move to the Monday by law, and we reflect that when the BOE indicates it.

Where does the data come from? Is it official?

From the BOE, regional gazettes, the INE and the AEAT. Each date keeps an official reference and, when available, a document link. We don't replace the official gazette — verify it for legal decisions.

In which languages?

Spanish and, in its territory, the co-official language (Catalan, Galician, Basque, Valencian), plus English. Each version with its URL and hreflang.