Business days between dates, working days calculator: count working days between two dates, skipping weekends and public holidays

$0.001 per call with a key ($0.01 paid per call from a wallet) · failed calls are never charged · no account needed: a card key or USDC

Count business (working) days between two dates, skipping weekends and the nationwide public holidays of over 100 countries (our statutory rules for US, UK, SE, DE, FR, NO, DK, FI; Nager.Date for the rest, e.g. JP, NZ, CA, AU, IN), and list the holidays skipped; or give add=N for the date N business days after (or before) a date. Use for delivery estimates, SLAs, payment terms and payroll dates.

Guide: Public holidays API

Run it free (3 free calls) Buy credits by card (from $1) Example result (JSON)

$0.001 per call with prepaid credits: $1 by card pays for 1,000 calls, with no account and no subscription.

Try it with your own inputs

Start date, YYYY-MM-DD

Uses one of your 3 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
from (required)stringStart date, YYYY-MM-DD
tostringEnd date, YYYY-MM-DD (inclusive; default: the last day of the start month); or use add
addintegerBusiness days to add to from (negative to go back), instead of to
countrystringHoliday calendar: a 2-letter country code or English name, e.g. SE, JP, New Zealand (default: weekends only)

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://glyphcall.com/date/business-days?from=2026-12-01"

Or one of your 3 free calls, no key:

curl "https://glyphcall.com/date/business-days?from=2026-12-01&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Example result

{
  "from": "2026-12-01",
  "to": "2026-12-31",
  "country": "SE",
  "holidayRules": true,
  "holidaySource": "rules",
  "calendarDays": 31,
  "businessDays": 20,
  "weekendDays": 8,
  "holidays": [
    {
      "date": "2026-12-24",
      "name": "Christmas Eve"
    }
  ]
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is date_business_days, and the first 25 successful calls are free:

https://glyphcall.com/mcp

Related tools