Add Working Days to a Date
Find the date a number of working days away, skipping weekends and holidays.
POST /api/v1/add-workdays- API version
- v1
- Output schema
- 1
The endpoint path is always /v1. The schema number below tracks this tool's output shape and changes independently.
Create a free account →Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
| from | text | no | — |
| days | number | no | 30 |
| holidays | text | no | — |
Request
curl -X POST https://sinikoding.dev/api/v1/add-workdays \ -H 'content-type: application/json' \ -H 'x-api-key: tk_live_…' \ -d '{"from":"…","days":30,"holidays":"…"}'
Returns
"output": { "kind": "table", "columns": ["…"], "rows": [["…"]] }
Calls a same-origin sandbox endpoint, not /api/v1. No key needed, capped at 15 requests a minute.
Request
curl -X POST https://sinikoding.dev/api/v1/add-workdays \ -H 'content-type: application/json' \ -H 'x-api-key: tk_live_…' \ -d '{"from":"","days":"30","holidays":""}'
Response
Send a request to see the response.