{
"count": 1,
"items": [
{
"country": "DE",
"subdivision": null,
"start": "2026-12-22",
"add": 5,
"result": "2026-12-30",
"resultWeekday": "Wednesday",
"startIsBusinessDay": true,
"nextBusinessDay": "2026-12-23",
"holidaysSkipped": [
{
"date": "2026-12-25",
"name": "Christmas Day"
},
{
"date": "2026-12-26",
"name": "Second Day of Christmas"
}
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15998/working+days+date+calculator+api/45091/business+days+calculator+api?country=DE&start=2026-12-22&add=5' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Working Days Date Calculator API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime.
Add or subtract working days to any date or count business days between two dates across 150+ countries and states, skipping weekends and public holidays.
Calculate working days across 150+ countries and states: add or subtract business days or count working days between dates, skipping weekends and public holidays.
Up to 100 results per request, depending on the endpoint.
Every request collects live data from the public source. Identical requests may be served from a cache for up to 6 hours.
List parameters accept several values separated by commas, for example: london,paris.
The endpoint accepts these query parameters, all optional: country, subdivision, start, add, end, weekend. Country: ISO 3166-1 alpha-2 (2-letter) country code, e.g. DE, BG, US subdivision: State/region code (optional) start: Start date YYYY-MM-DD (default today; within country holiday coverage) add: Business days to add (-2000.2000, negative = back). Pass either add or end, not both. End: End date YYYY-MM-DD (must be >= start) to count business days between. Pass either add or end, not both. Weekend: Comma-separated weekend weekdays 0=Mon.6=Sun (default 5,6; e.g. 4,5 for Fri-Sat)
Each item includes the country and subdivision, start date, requested business-day offset, resulting date, and result weekday. It also indicates whether the start date is a business day, gives the next business day, and lists any holidays skipped.
Pass a start date and an end date, with the end on or after the start. The calculator returns the business-day count for that interval, excluding weekends and applicable public holidays.
It lists public holidays crossed during an add-or-subtract calculation, with each entry providing the holiday date and name. For example, a German calculation may list Christmas Day and the Second Day of Christmas.
The country is shown as a two-letter ISO 3166-1 alpha-2 code, such as DE. The subdivision identifies a state or region when applicable; it is null when no subdivision is specified.
Dates are returned as YYYY-MM-DD strings, such as "2026-12-30". The resultWeekday field gives the resulting date’s weekday as a name, such as "Wednesday".
The response is a JSON object with a count and an items array. Each item contains the calculation details for a result, making it possible to process multiple returned calculations individually.
The startIsBusinessDay field reports whether the start date qualifies as a business day. The nextBusinessDay field identifies the next business day, which can help interpret calculations that begin on a weekend or public holiday.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund