Business days between dates, working days calculator

$0.01 per call · failed calls are never charged · no account or API key needed

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.

Run it free (25 free calls) Buy credits by card (from $5) Example result (JSON)

Try it with your own inputs

Start date, YYYY-MM-DD

Uses one of your 25 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: 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

Related tools