# OpenHolidays public holidays

Public holidays of one country between two dates (at most 1,095 days apart, 400 otherwise), compiled from public sources: dates, name in the chosen language. Needs country, date from and date to.

Public holidays of one country between two dates (at most 1,095 days apart, 400 otherwise), compiled from public sources: dates, name in the chosen language, national or regional scope, and the subdivisions where a regional holiday applies (e.g. DE-BY). 36 countries, from 2020: AD AL AT BE BG BR BY CH CZ DE EE ES FR HR HU IE IT LI LT LU LV MC MD MT MX NL PL PT RO RS SE SI SK SM VA ZA. Any other country, including GB and US, returns an empty list. Use for campaign planning, delivery estimates and staffing.

- Tool ID: `openholidays/public-holidays`
- Provider: [OpenHolidays](/providers/openholidays.md)
- Capability: [Knowledge & research](/tools/knowledge.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "country": {
      "type": "string",
      "pattern": "^[A-Za-z]{2}$",
      "description": "ISO 3166-1 alpha-2 country code, e.g. 'DE'"
    },
    "date_from": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      "description": "First day, e.g. '2026-01-01'"
    },
    "date_to": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      "description": "Last day, at most 1,095 days after date_from, e.g. '2026-12-31'"
    },
    "subdivision": {
      "type": "string",
      "pattern": "^[A-Za-z]{2}-[A-Za-z0-9-]{1,20}$",
      "description": "Only holidays valid in this subdivision (from openholidays/subdivisions), e.g. 'DE-BY'"
    },
    "language": {
      "type": "string",
      "pattern": "^[A-Za-z]{2}$",
      "default": "EN",
      "description": "ISO 639-1 language of the names, e.g. 'EN' or 'FR'"
    }
  },
  "required": [
    "country",
    "date_from",
    "date_to"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "openholidays/public-holidays",
  "input": {
    "country": "DE",
    "date_from": "2026-01-01",
    "date_to": "2026-12-31"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: ODbL 1.0.

Attribution: Holiday data from the OpenHolidays API project (openholidaysapi.org), ODbL.

[Provider documentation](https://www.openholidaysapi.org/en/)

[REST inspection](https://api.agentik.cc/v1/tools/openholidays/public-holidays) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/openholidays/public-holidays) · [Agent index](/llms.txt)
