---
title: Working Day Calculator API
slug: count-working-days
url: https://apyhub.com/apyhub/service/count-working-days
provider: ApyHub
categories: [HR, Standard Data]
tags: [working-days, holiday-calculation, date-range, business-days, calendar]
auth: api_key
---

# Working Day Calculator API

Count working days between two dates for a country. Returns total days, weekends, holidays, and working_days for scheduling and payroll logic.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| GET | `` | What it does Calculates the number of working days between two dates for a given country. The respo… | 15 |

## About

## What it does

Working Day Counter calculates how many working days fall between two dates for a given country. Send `country`, `start`, and `end`, and it returns the calendar-day span plus a breakdown of `working_days`, `weekends`, and `holidays`.

Use it when you need date-based business logic that respects local public holidays. For example, payroll systems can compute pay periods, procurement workflows can estimate SLA windows, and scheduling tools can skip non-working days when assigning deadlines.

The response is simple and explicit. `total_days` gives the inclusive calendar range, `weekends` counts Saturday and Sunday days in that range, `holidays` counts public holidays that fall on weekdays, and `working_days` gives the final Mon–Fri count after excluding those holidays.

Working Day Counter is useful anywhere you need consistent working-time calculations without maintaining your own holiday calendar for every country.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/count-working-days
