Skip to main content
POST
/
quantlib
/
scheduling
/
calendar
/
add-business-days
Add Business Days
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/scheduling/calendar/add-business-days \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "date": "2024-06-14",
  "days": 5,
  "calendar": "US"
}
'
{
  "success": true,
  "data": {
    "start_date": "2024-06-14",
    "business_days_added": 5,
    "result_date": "2024-06-21",
    "calendar": "US"
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register

Body

application/json
date
string<date>
required

Starting date in ISO format (YYYY-MM-DD)

Example:

"2024-06-14"

days
integer
required

Number of business days to add (positive) or subtract (negative)

Example:

5

calendar
enum<string>
default:US

Calendar to use for business day calculation. Options: US, UK, TARGET, Japan, Weekend

Available options:
US,
UK,
TARGET,
Japan,
Weekend
Example:

"US"

Response

Successful Response

success
boolean
Example:

true

data
object