Working days
Our HTTP JSON API exposes several kind of services you can plug to: - Analyse a period. You provide a start date and an end date, we respond with the number of days, working days, work hours, weekend days, the list of the public holidays over the period. - Add any number of working days / working hours to a given date. You provide a start date, we return the end date. We also return the days…
Working days endpoints
| Method | Endpoint | Description |
|---|---|---|
| 1.3 | ||
| GET |
/1.3/analyse /1.3/analyse |
Analyse a period (you provide a start_date and an end_date over a given calendar, we respond with the period analysis) |
| GET |
/1.3/add_working_days /1.3/add_working_days |
Add (or remove) any number of working days to a date. |
| GET |
/1.3/list_non_working_days /1.3/list_non_working_days |
List the non working days (weekend days, public holidays and custom dates) between two dates in chronlogical order. |
| GET |
/1.3/add_working_hours /1.3/add_working_hours |
Add an amount of working time to a given start date/time |
| GET |
/1.3/define_custom_period /1.3/define_custom_period |
Defining a custom period (typically days of vacations of an employee or days of annual closure of a company) can be done from the working days websites user interface but can… |
| GET |
/1.3/delete_custom_period /1.3/delete_custom_period |
Removing a previously defined custom period |
| GET |
/1.3/get_info_day /1.3/get_info_day |
Get detailed information about a specific day. |
| GET |
/1.3/get_array_info_day /1.3/get_array_info_day |
Get detailed period information as an array of days |
| GET |
/1.3/configurations /1.3/configurations |
List all supported countries and their available configurations. |
| GET |
/1.3/add_duration /1.3/add_duration |
This endpoint adds a specified duration, in hours, to a given date and time. Because of daylight saving time and other regional time changes around the world, this calculation… |
| Other endpoints | ||
| GET |
analyse /analyse |
Provide a country code, a start date and an end date, the API responds with the number of days, working days, work hours, wages, weekend days, the list of the public holidays… |
| GET |
add_working_days /add_working_days |
Add any number of working days to a given date (over a given calendar). We respond with the period analysis (number of days / working days / work hours / public holidays). If you… |
| GET |
add_working_hours /add_working_hours |
Add an amount of working time to a given start date/time. An amount of working time can be added or removed, over the default working week time schedule (8am->12pm & 2pm->6pm… |
| GET |
list_non_working_days /list_non_working_days |
List the non working days (weekend days, public holidays and custom dates) between 2 dates. Custom dates can be created through a custom configuration identified by the… |
| GET |
get_info_day /get_info_day |
Get all the detailed information about a specific date. By default, a day is a working day, a weekend day or a public holiday, but they can be defined more finely through a… |
Working days pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $4 / month | — |
|
| ULTRA | $25 / month | — |
|
| MEGA | $80 / month | — |
|