Add or subtract business days from a date
add_business_daysRead-onlyIdempotent
Add (or, with a negative number, subtract) business days to a date, skipping weekends and public holidays of the country (and region). Returns the result date and the holidays skipped. Read-only. Same engine, cache and limits as GET /v1/add.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Start date, YYYY-MM-DD (2020-2035). | |
| days | Yes | Business days to add; negative counts backwards. | |
| 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 | ||
| days | Yes | ||
| region | No | ||
| result | Yes | ||
| country | No | ||
| weekend | No | ||
| calendar_days | No | ||
| holiday_types | No | ||
| result_weekday | No | ||
| skipped_holidays | No | ||
| skipped_holidays_truncated | No |