---
title: "FREE — count business days between two dates"
method: GET
path: "/v1/business-days/between"
tags: ["Free"]
---

# FREE — count business days between two dates

`GET /v1/business-days/between`

## Request

- Base URL: `https://asiaref.dev`
- URL: `https://asiaref.dev/v1/business-days/between`
- Auth: none required

Unmetered and unpriced; every country on every brand. business_days counts (from, to] and is negative when to is before from, so add(from, business_days) lands on to whenever to is a business day. business_days_inclusive counts both ends. Also returns weekend days and the public holidays in range. Range at most 1096 calendar days. Refusals are free JSON: 400 for a malformed country, date or n; 404 for an unknown country; 422 year_not_held when a date falls in a year whose holidays we do not h...

## Query parameters

- `country` string, required
- `from` string, date, required
- `to` string, date, required

## Response `200`

Free. Signed and inclusive business-day counts, weekend days, holidays in range, weekend rule and calendar provenance.

- object

## Other responses

- `400`: Free. Malformed country, date or n.
- `404`: Free. Unknown country.
- `422`: Free. year_not_held, holiday_date_pending or no_national_calendar — see the body's explanation and what_you_can_do.

---

[API](https://skmtc.dev/asiaref/apis/asiaref-asian-government-reference-data.md) · [All operations](https://skmtc.dev/asiaref/apis/asiaref-asian-government-reference-data/llms.txt) · [OpenAPI document](https://skmtc.dev/asiaref/apis/asiaref-asian-government-reference-data/revisions/5f44dcf21e74?raw)
