Business Days Calculator API - add working days, count between dates
business_daysWorking-day maths with each country's (and state's) public holidays: pass either add (add/subtract N business days, -2000..2000) or end (count business days from start to end, end >= start) — not both and not neither. Uses ISO 3166-1 alpha-2 country codes (2 letters, e.g. DE, BG, US) with per-country historical holiday coverage (e.g. DE/BG from 1991, US from 1777, up to 2100; out-of-range years return 400). Custom weekend weekdays 0=Mon..6=Sun (default 5,6). Returns the holidays that were skipped. < 50 ms. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/business-days.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"add": 5,
"start": "2026-12-22",
"country": "DE"
},
"name": "business_days"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Business days to add (-2000..2000, negative = back). Pass either add or end, not both. | |
| end | No | End date YYYY-MM-DD (must be >= start) to count business days between. Pass either add or end, not both. | |
| start | No | Start date YYYY-MM-DD (default today; within country holiday coverage) | |
| country | Yes | ISO 3166-1 alpha-2 (2-letter) country code, e.g. DE, BG, US | |
| weekend | No | Comma-separated weekend weekdays 0=Mon..6=Sun (default 5,6; e.g. 4,5 for Fri-Sat) | |
| subdivision | No | State/region code (optional) |