Check whether a date is a business day
is_business_dayRead-onlyIdempotent
Check whether a date is a business day in a country (and region), considering weekends and public holidays. Returns the reason (weekend or holiday name) plus the previous and next business days. Read-only. Same engine, cache and limits as GET /v1/is-business-day.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date to check, YYYY-MM-DD (2020-2035). | |
| types | No | Optional holiday types that close business days: comma list of public, bank (default: public; "all" = public,bank). | |
| region | No | Optional region/state code for countries with regional holidays, e.g. DE-BY, US-CA (or just BY). | |
| country | Yes | ISO 3166-1 alpha-2 country code, e.g. US, DE, GB. See list_countries. | |
| weekend | No | Optional weekend days, comma list of day names like "sat,sun" (default) or "fri,sat", or "none". |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| reason | Yes | ||
| region | No | ||
| country | No | ||
| holiday | No | ||
| weekday | No | ||
| weekend | No | ||
| business_day | Yes | ||
| holiday_types | No | ||
| next_business_day | No | ||
| previous_business_day | No |