Business days between dates, working days calculator: count working days between two dates, skipping weekends and public holidays
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
$0.001 per call with prepaid credits: $1 by card pays for 1,000 calls, with no account and no subscription.
Inputs
| Name | Type | Description |
|---|---|---|
from (required) | string | Start date, YYYY-MM-DD |
to | string | End date, YYYY-MM-DD (inclusive; default: the last day of the start month); or use add |
add | integer | Business days to add to from (negative to go back), instead of to |
country | string | Holiday 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