← Everything we make
Reference · $0.007
Public Holidays
Every holiday a country observes in a given year, dated and named, with the categories that country actually supports. Useful when an agent needs to know whether tomorrow is a working day somewhere it has never been.
Specification
- Route
GET /holidays/{iso2}/{year} · optional ?type=public,bank- Input
- An ISO-2 country code and a year. Optionally one or more of public, bank, school, observance, optional.
- Price
- $0.007 per call on the PowaHub listing.
What it returns
- country, yearechoed back as served
- countnumber of entries returned
- holidays[].dateISO date
- holidays[].namethe holiday name in the configured language
- holidays[].typethe category it came from
- holidays[].substitutetrue where the upstream marked it observed on a different day
Live response
{ "status": "success", "status_code": 200, "errors": [], "data": { "country": "GB", "year": 2026, "count": 7, "holidays": [ { "date": "2026-01-01", "name": "New Year's Day", "type": "public", "substitute": false }, { "date": "2026-04-03", "name": "Good Friday", "type": "public", "substitute": false }, { "date": "2026-05-04", "name": "May Day", "type": "public", "substitute": false }, { "date": "2026-05-25", "name": "Spring Bank Holiday", "type": "public", "substitute": false }, { "date": "2026-12-25", "name": "Christmas Day", "type": "public", "substitute": false }, { "date": "2026-12-26", "name": "Boxing Day", "type": "public", "substitute": false }, { "date": "2026-12-28", "name": "Boxing Day", "type": "public", "substitute": true } ] }, "meta": { "source": "python-holidays package", "source_license": "MIT", "package_version": "0.97", "countries_supported": 501, "year_range": "1900-2100 (approx)", "supported_types": ["public"] } }
Captured from the live service at each release · 2026-10-14 11:10 UTC
Measured
- Year range
- 1900–2100 Approximate, as stated by the upstream package.
Provenance
- Upstream
- The python-holidays open source package, served from the packaged version.
- Licence
- MIT
- Refresh
- Moves when the packaged version moves, which the response states on every call.
Holiday data from the open-source holidays library
Good to know
- Filter by public, bank, school, observance or optional holidays, wherever a country defines them.
- Every response includes the data version, so results are reproducible.
- Ideal for scheduling, delivery estimates and working-day calculations.
Where to buy
- Endpoint
api.powahub.ai/CertainData/holidays/{iso2}/{year}- Available on
- PowaHub.