Global Public Holidays & Business Days API (250 Countries, SLA)
Pricing
from $4.00 / 1,000 holiday calendars
Global Public Holidays & Business Days API (250 Countries, SLA)
Public holidays for 250 countries, 650+ states/regions and 33 stock exchanges. Check, add or count business days and compute SLA due times in any timezone. Offline, instant Standby API for AI agents.
Pricing
from $4.00 / 1,000 holiday calendars
Rating
0.0
(0)
Developer
Chris Day
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
6 hours ago
Last modified
Categories
Features
Share
Global Public Holidays & Business Days API (250 countries, SLA math)
Public holidays for 250 countries, 650+ states, provinces and regions and 33 stock-exchange calendars, plus the business-day math agents actually need: is this a working day, what date is N business days from now, how many working days are between two dates, and when an SLA measured in business hours falls due in a given time zone.
Runs offline from the open-source python-holidays dataset (MIT licence), so answers are instant and there are no third-party API limits. Use it as a normal Actor run or as an always-warm Standby HTTP API.
When an AI agent should use this
Use it when a task depends on working days anywhere in the world: delivery or payment due dates, "reply within 3 business days", support SLAs, trading-day checks, scheduling around public holidays, payroll cut-offs.
Don't use it for religious observances a country does not treat as public holidays (unless the country offers an "optional" category), or for company-specific shutdown days (pass those as your own logic).
Modes and prices
| Mode | What you get | Price (USD) |
|---|---|---|
list | Holiday calendar per location and year (date, weekday, name, observed flag) | $0.004 per location-year |
check | Business day / weekend / holiday result for each date | $0.001 per date |
add | Start date + N business days (negative goes back) | $0.001 |
count | Business days between two dates, with the weekday holidays skipped | $0.001 |
sla | Due date-time after N business hours inside working hours, in an IANA time zone | $0.002 |
supported | All country, subdivision and market codes | free |
Plus Apify's standard apify-actor-start event of $0.00005 per run. Invalid input is never charged.
Example inputs
{"mode": "list", "country": "DE", "subdivision": "BY", "years": [2026]}
{"mode": "add", "country": "GB", "subdivision": "ENG", "startDate": "2026-12-24", "days": 2}
→ "resultDate": "2026-12-30" (skips Christmas, the weekend and the Boxing Day substitute).
{"mode": "sla", "country": "AU", "subdivision": "TAS", "timezone": "Australia/Hobart","start": "2026-12-24T15:00:00", "hours": 4, "workdayStart": "09:00", "workdayEnd": "17:00"}
→ "due": "2026-12-29T11:00:00+11:00".
{"mode": "check", "market": "XNYS", "dates": ["2026-11-26", "2026-11-27"]}
Countries accept ISO codes (DE, DEU) or names (Germany, usa, uk, Scotland). Subdivisions accept codes or names (BY or Bayern). Weekends follow each country (Fri for Iran, Fri–Sat in some MENA countries) and can be overridden with weekendDays. Holiday names can be localised with language where supported, and extra categories such as bank or optional can be requested with categories.
Output (fields)
list:calendars[]withcountry/subdivisionormarket,year,weekend,holidayCount,holidays[](date,weekday,name,observed)check:results[]withdate,weekday,isBusinessDay,isWeekend,isHoliday,holidayNameadd:resultDate,resultWeekday,calendarDaysElapsed,holidaysSkipped[]count:businessDays,weekendDays,holidaysOnWeekdays[]sla:due(local),dueUtc,dueWeekday,workday- every result:
status,mode,summary,billedEvents
Standby HTTP API (fastest for agents)
Base URL: https://geeky-goth-gamer--global-public-holidays-business-days.apify.actor (send Authorization: Bearer <APIFY_TOKEN>).
POST /holidays,/check,/add,/count,/sla,/supportedwith the same JSON fields (nomodeneeded)POST /calculatewith anymodeGET /health
curl -s -X POST "https://geeky-goth-gamer--global-public-holidays-business-days.apify.actor/add" \-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \-d '{"country":"US","startDate":"2026-11-25","days":3}'
MCP
Add it to any MCP client through the hosted Apify MCP server:
https://mcp.apify.com/?tools=geeky_goth_gamer/global-public-holidays-business-days
Limits
Years 1950–2100; up to 10 years and 25 locations (60 location-years) per list request; 1,000 dates per check; ±3,660 business days for add; 20-year spans for count; 20,000 business hours for sla. Overnight working hours are not supported.
Data and accuracy
Holiday rules come from python-holidays (MIT), which is maintained from official government sources and updated frequently. Governments sometimes declare one-off holidays at short notice; those appear after the dataset is updated and the Actor is rebuilt. Observed/substitute days are included where the country observes them.