Business Days API: Count & Add Working Days
Count the working days between two dates, step a number of business days forward or back, or ask whether a date is a working day. Each country’s own weekend and public holidays are applied, and the response shows which days were left out and why.
Try it live
API playground
Request code
The code follows the form above and always uses the production address.
Endpoints
| Endpoint | What it returns |
|---|---|
| GET /api/v1/business-days | Business days between two dates, both inclusive, excluding the country's weekend days and nationwide public holidays. The whole range must lie inside the years the holiday data covers. |
| GET /api/v1/business-days/add | The date reached by stepping a number of business days forward (or backward, with a negative number) from a start date, skipping the country's weekend days and nationwide public holidays. The start date itself is not counted. |
| GET /api/v1/business-days/next | Whether a date is a business day in a country (and if not, why) and the first business day strictly after it. |
The rules, stated exactly
- Counting includes both ends: from Monday to Friday of one week is five business days. The response says so in “endInclusive”.
- The weekend is the country’s own. It is Saturday and Sunday by default and Friday and Saturday (or other days) where that is the national weekend; “weekend” in the response shows which days were used.
- Nationwide public holidays are excluded; regional holidays are not, because they are working days for most of the country. “holidaysExcluded” lists every holiday that removed a day, and “holidaysOnWeekend” those that fell on a weekend and changed nothing.
- Holiday data covers 2025–2028. A calculation that would leave those years is refused with range_not_covered rather than answered as if later years had no holidays.
- When adding days, the start date itself is not counted, a negative number goes backwards, and the result lists the holidays that were skipped.
- A range may span up to 1500 days, and up to 1000 business days can be added or subtracted in one call.
A real request and its response
December 2026 in France: 31 calendar days, 22 business days, and Christmas Day named as the holiday that was excluded:
curl 'https://clockcrest.com/api/v1/business-days?country=FR&start=2026-12-01&end=2026-12-31'
{
"country": "FR",
"countryName": "France",
"start": "2026-12-01",
"end": "2026-12-31",
"endInclusive": true,
"calendarDays": 31,
"businessDays": 22,
"weekend": ["Sunday", "Saturday"],
"holidaysExcluded": [
{
"date": "2026-12-25",
"name": "Christmas Day",
"localName": "Noël"
}
],
"holidaysOnWeekend": [],
"rules": "Weekend days and nationwide public holidays are excluded; regional holidays are not.",
"source": "Nager.Date",
"sourceUrl": "https://date.nager.at",
"dataYears": [2025, 2026, 2027, 2028],
"lastUpdated": "2026-11-30"
}Every example is real output, captured on 2026-12-01 from a local run of the same code. Live values differ.
Questions and answers
Why does my count differ from another calculator?
Usually for one of three reasons: this API counts both the first and the last day; it excludes nationwide holidays but not regional ones; and it uses the country’s own weekend. The response lists the weekend days and every excluded holiday, so you can see where the difference comes from.
Does it know about company closures or half days?
No. It knows weekends and public holidays only. Bridge days, company shutdowns, half days and exchange holidays are not modelled.
How do I find a due date ten business days from today?
Call /api/v1/business-days/add with the country, the start date and days=10. The answer is the date reached after skipping weekends and public holidays, with its weekday.
What if the date I ask about is a holiday?
/api/v1/business-days/next says whether the date is a business day, gives the reason when it is not (weekend or the holiday’s name) and returns the first business day after it.