All API tools

Date & Time

Business Days Calculator API

POST/v1/business-days Free tier1 credit / call

Authentication

Send your API key as a bearer token. Create one free in the dashboard.

Authorization: Bearer $TOOLSXPO_KEY

Parameters

Passed as fields in the JSON body. Example values shown.

NameExample
startexample
endexample
holidays
includeEndDatetrue

Example request

curl -X POST "https://api.toolsxpo.com/v1/business-days" \
  -H "Authorization: Bearer $TOOLSXPO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"start":"example","end":"example","holidays":"","includeEndDate":"true"}'

Response

A standard JSON envelope: { ok, data, meta }. The result is in data (json); meta.credits reports what the call cost.