About this endpoint
What it does
Adds business days to a start date, or subtracts them when days is negative, and returns the resulting date. The start date itself is never counted. With days=0 it returns the start date when it is a business day, otherwise the next one. The response lists the holidays and closures that were skipped.
Query Parameter(s)
| Attribute | Type | Description |
|---|---|---|
| days | Integer | Business days to add. Negative values subtract. Range: -2500 to 2500. Required. |
| start | String | Start date, YYYY-MM-DD. Default: today (UTC). |
| country | String | ISO 3166-1 alpha-2 or alpha-3 country code, such as US or DEU. Give country or market. |
| market | String | Exchange MIC or acronym, such as XNYS or NYSE. Give country or market. |
| subdivision | String | State, province or region code or name, such as CA, BY or Bayern. |
| categories | String | Comma-separated holiday categories, such as public,bank. Default: the calendar's main category (usually public). |
| exclude | String | Extra closed dates as comma-separated ISO dates (at most 366), for example company shutdown days. |
| weekend | String | Override the weekend with weekday names or abbreviations, such as sat,sun or fri,sat, or none. Default: the calendar's own weekend. |
Response
Returns a JSON object with the resulting business day and the days that were passed over.
| Parameter | Type | Description |
|---|---|---|
| date | String | The resulting business day (YYYY-MM-DD). |
| start | String | The start date used. |
| days | Integer | Business days added (negative when subtracted). |
| calendar_days | Integer | Calendar days between start and date. |
| skipped_holidays | Object Array | Holidays and closures passed over, each with a date and a reason. |
| weekend | String Array | Weekend days used. |
| country | String | Country code of the calendar, or null. |
| market | String | Exchange code of the calendar, or null. |
| subdivision | String | Subdivision used, if any. |
| categories | String Array | Holiday categories applied. |
| language | String | Language of the holiday names. |
| calendar_version | String | Version of the calendar data used. |



