Work Day - Business Days
## The business days API that shows you exactly what it skipped and why. Adding N business hours to a date sounds simple. In practice, you're dealing with DST transitions that shrink or extend days, public holidays that vary by country, timezone offsets that shift overnight, and edge cases like holidays that fall on weekends and get observed on Monday instead. Get any of it wrong and your…
Work Day - Business Days endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
GET /health /health |
Returns server status and the number of supported countries. Use this to verify the API is reachable before making calculation requests. |
| GET |
GET /is-business-day /is-business-day |
Check whether a specific date is a business day in a given country and timezone. Returns false for weekends and public holidays, with the reason and holiday name where applicable. |
| POST |
POST /add-business-hours /add-business-hours |
Add a number of business hours to a start datetime, skipping weekends and public holidays. Business hours are 09:00–17:00 local time (8 hours per business day, Monday–Friday). If… |
| POST |
POST /add-business-days /add-business-days |
Add a number of business days to a start date, skipping weekends and public holidays. Returns the resulting date and a full list of every skipped date with its reason. Correctly… |
| GET |
GET /business-days-between /business-days-between |
Count the number of business days between two dates, inclusive of both endpoints. Returns a breakdown of business days, weekend days, and public holidays, plus a list of every… |
| GET |
GET /next-business-day /next-business-day |
Find the next business day after a given date, skipping weekends and public holidays. If the given date is itself a non-business day, it is included in the skipped array. Returns… |