Skip to main content
POST
/
quantlib
/
scheduling
/
calendar
/
next-business-day
Next Business Day
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/scheduling/calendar/next-business-day \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "date": "2024-12-25",
  "calendar": "US"
}
'
{
  "success": true,
  "data": {
    "date": "2024-12-25",
    "next_business_day": "2024-12-26",
    "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-12-25"

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