Working Days API

GET

Count the working days and public holidays in any month.

Working Days counts the working days and non-working days for any country and month. Pass a two-letter country code and month number to get total counts, working date lists, and non-working days marked with holiday names.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/workingdays?country=US
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "workingDaysCount": 21,
    "nonWorkingDaysCount": 10,
    "workingDays": [
      "2023-10-02",
      "2023-10-03",
      "2023-10-04",
      "2023-10-05",
      "2023-10-06",
      "2023-10-10",
      "2023-10-11",
      "2023-10-12",
      "2023-10-13",
      "2023-10-16",
      "2023-10-17",
      "2023-10-18",
      "2023-10-19",
      "2023-10-20",
      "2023-10-23",
      "2023-10-24",
      "2023-10-25",
      "2023-10-26",
      "2023-10-27",
      "2023-10-30",
      "2023-10-31"
    ],
    "nonWorkingDays": [
      {
        "date": "2023-10-01",
        "reasons": [
          "weekend"
        ],
        "holiday_name": null
      },
      {
        "date": "2023-10-07",
        "reasons": [
          "weekend"
        ],
        "holiday_name": null
      },
      {
        "date": "2023-10-08",
        "reasons": [
          "weekend"
        ],
        "holiday_name": null
      },
      {
        "date": "2023-10-09",
        "reasons": [
          "public holiday"
        ],
        "holiday_name": "Columbus Day"
      },
      {
        "date": "2023-10-14",
        "reasons": [
          "weekend"
        ],
        "holiday_name": null
      },
      {
        "date": "2023-10-15",
        "reasons": [
          "weekend"
        ],
        "holiday_name": null
      },
      {
        "date": "2023-10-21",
        "reasons": [
          "weekend"
        ],
        "holiday_name": null
      },
      {
        "date": "2023-10-22",
        "reasons": [
          "weekend"
        ],
        "holiday_name": null
      },
      {
        "date": "2023-10-28",
        "reasons": [
          "weekend"
        ],
        "holiday_name": null
      },
      {
        "date": "2023-10-29",
        "reasons": [
          "weekend"
        ],
        "holiday_name": null
      }
    ]
  }
}

About the Working Days API

Pass a two-letter country code and a month number. The API returns totals for working and non-working days plus a list of working dates formatted as YYYY-MM-DD. Each non-working day specifies reasons such as weekends or public holidays, with holiday names included when applicable. Paid plans can set a custom year.

What people use it for

Monthly Payroll Proration
Payroll engines prorate mid-month employee salaries by dividing base pay by the exact working day count for that territory.
Project Deadline Forecasting
To forecast delivery deadlines accurately, task management software skips weekends and recognized national holidays across regional teams.
Retainer Invoice Calculations
When billing client retainer hours monthly, invoicing software checks total available business days to adjust expected service levels.
Leave Balance Deductions
Determine how many days to deduct from employee leave balances by matching vacation requests against official non-working dates.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Working Days

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Working Days API.

Read the docs
How far does the Starter plan go for working day lookups?
Each query uses 2 credits. Starter provides enough credits for 100,000 lookups per month, which works out to about $0.30 per 1,000 calls or $0.0003 per call. The Free plan includes 100 lookups each month.
Can I query working days for past or future years on the Free plan?
The year parameter is restricted to paid plans. On the Free plan, queries run without custom year specification. Upgrading to Starter or higher allows you to pass any target year.
Does the response break down why a day is considered non-working?
Yes. Each non-working date includes a reasons list indicating whether it is a weekend or public holiday. If the date is a recognized public holiday, the holiday name is returned alongside the date.
How do I specify which country's working calendar to use?
You pass the country as a required 2-letter country code. The API uses this code to evaluate public holidays alongside regular weekend schedules for that specific region.
What does the holiday name field return on normal weekends?
For routine weekends that are not official public holidays, the holiday name field returns null. The reasons array will simply list weekend so your application can differentiate standard non-working days from named holidays.
Can I use this data in commercial payroll or scheduling tools?
Yes, as long as you are on a paid plan. Commercial use is permitted for powering internal software or customer products, but you may not resell or redistribute the raw API data as-is.

Ready to build with Working Days? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs