holidays
Retrieve public and bank holiday dates for 200+ countries and regions by year, including local names, and check whether a specific date is a holiday.
Instructions
Public Holidays — Public and bank holidays for 200+ countries and their regions (states, cantons) for any year, with local names. Optionally check whether a given date is a holiday. Params: country (ISO 3166-1 alpha-2, required, e.g. DE, US, CH, JP), region (e.g. BY, CA, ZH), year (default current), date (YYYY-MM-DD to check), language (e.g. en), include_observances (default false). Cost: $0.003 USDC per call. Latency p99: 300ms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | YYYY-MM-DD to check | |
| year | No | ||
| region | No | State/region code, e.g. BY, CA, ZH | |
| country | Yes | ISO 3166-1 alpha-2 country code | |
| language | No | Language for holiday names, e.g. en | |
| include_observances | No |