Business days between dates, working days calculator
Count business (working) days between two dates, skipping weekends and public holidays for the US, UK, Sweden, Germany, France, Norway, Denmark or Finland, and list the holidays skipped; or give add=N to get the date N business days after (or before) a date. Other countries count weekends only, and the answer says so. Use for delivery estimates, SLAs, payment terms and payroll dates.
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: US, GB, SE, DE, FR, NO, DK or FI (default: weekends only) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/date/business-days?from=2026-12-01"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/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,
"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://agent-data-tools.revmesh2074.workers.dev/mcp