canonical: https://jentic.com/apis/calendarific.com/calendarific

# Calendarific Holiday API

The Calendarific Holiday API returns public, bank, and observed holidays for countries around the world. It lists holidays for a country and year, the supported countries, and the available languages for localized names. Requests authenticate with an API key passed as the api_key query parameter.

## For AI agents

Fetch public and observed holidays for a country and year, and list supported countries and languages.

## Scope

Does not handle event scheduling, reminders, or calendar storage - use for looking up public and observed holidays only.

## Capabilities

- Fetch public and observed holidays for a country and year
- Filter holidays by type such as national or religious
- List the countries supported for holiday lookups
- List the languages available for localized holiday names

## Use cases

### Holiday-aware scheduling

A scheduling feature needs to avoid booking on public holidays. The Calendarific Holiday API returns holidays for a country and year so a planner can skip non-working days when proposing dates.

Example prompt: Call GET /holidays with a country and year and return the national holidays for scheduling

### Business-day calculation

Payroll and SLA logic needs to know which days are holidays. The holiday list feeds a business-day calculator so a backend can compute deadlines that skip public holidays.

Example prompt: Fetch holidays for the current year and mark them as non-working days in a deadline calculation

### AI agent holiday lookup

An AI agent planning tasks across regions can pull holiday data without hand-wiring the api_key query parameter. Through Jentic the agent discovers the holidays operation by intent and calls it with the stored key.

Example prompt: Search Jentic for 'get public holidays for a country', load the schema, and fetch holidays for a region

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/holidays` | List holidays for a country and year |
| GET | `/countries` | List supported countries |
| GET | `/languages` | List supported languages |

## Key resources

- **Holidays** — List public, bank, and observed holidays for a country and year
- **Countries** — List the countries supported for holiday lookups
- **Languages** — List the languages available for localized holiday names

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 46 / 100
- **Maturity:** Foundational
- **Dimensions:**
  - Foundational Compliance: 100 / 100
  - Developer Experience & Jentic Compatibility: 63 / 100
  - AI-Readiness & Agent Experience: 46 / 100
  - Agent Usability: 94 / 100
  - Security: 15 / 100
  - AI Discoverability: 50 / 100
- **View full report:** https://jentic.com/apis/calendarific.com/calendarific/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring the Calendarific Holiday API by hand means appending the api_key query parameter on every request and shaping the country and year filters yourself. Through Jentic you install once, import the API from the API Directory, store your credential once, and your agent calls it.
- **Permission scoping:** The Calendarific Holiday API takes its inputs as query parameters rather than a resource id in the URL path, so you limit the agent to the operations it needs, such as listing holidays. You credit the agent only with the operations you allow, so anything else stays out unless you add it.
- **Credential handling:** Your the Calendarific credential is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'get public holidays for a country', and Jentic returns the matching operation with its input schema so the agent calls the right endpoint without browsing docs.

## Related APIs

- **Nager.Date Public Holiday API** — Free public holiday data for many countries
- **Canada Holidays API** — Canadian federal and provincial holidays
- **Countrylayer API** — Country reference data to pair with holiday lookups

## FAQ

### What authentication does the Calendarific Holiday API use?

The Calendarific Holiday API authenticates with an API key passed as the api_key query parameter. Through Jentic the key is stored encrypted in your own instance and added to each request at run time.

### Is there a the Calendarific Holiday API MCP server?

You don't need an MCP server to give your agent the Calendarific Holiday API. Jentic connects it directly from the API Directory: import it, store your credential once, and your agent calls it. That keeps another server's tool definitions out of your agent's context while still giving it the operation set from the spec.

### Can the Calendarific Holiday API return holidays in different languages?

Yes. The GET /languages operation lists the supported languages, and holiday requests can return localized names so a calendar can display holidays in the user's language.

### Can I limit what my agent is allowed to do with the Calendarific Holiday API?

Yes. Because you run Jentic One yourself, your own rules decide which the Calendarific Holiday API operations and credentials the agent may use. You grant only the operations it needs, such as listing holidays, so any operation you have not granted stays off limits unless you add it. The choice of what the agent may call is yours.

### How do I connect my agent to the Calendarific Holiday API through Jentic?

Search Jentic by intent such as 'get public holidays for a country' to discover the operation, load its input schema, and your agent calls it with your stored credential injected at run time. To run it on your own infrastructure, install Jentic One from its GitHub repo.
