Pushbuild

Public Holidays API - 100+ Countries, Regions & Long Weekends

Public and bank holidays for 100+ countries by year or date range, with regional (state/province) holidays, holiday types, long weekends with bridge days, worldwide upcoming holidays, and an is-it-a-holiday check for any list of dates.

$0.16 per 1,000 records

Get an API key

What it returns

Public and bank holidays for more than 100 countries.

Date, weekday, English and local name, country, nationwide or regional, regions, types, fixed date flag.

Common uses

Scheduling and delivery-date calculators, payroll and HR tools, travel planning, marketing calendars. Pay per record.

Request

POST https://api.pushbuild.com/public-holidays/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
modestring: holidays, long-weekends, check-dates, next-worldwideHoliday list, long weekends, check specific dates, or the next holidays worldwide (next 7 days). Default: "holidays".
countrieslist of stringsISO 2-letter codes (US, GB, DE...) or ALL.
yearslist of stringsYears to return, e.g. 2026. Default: this year.
startDatestringInstead of years: from this date (YYYY-MM-DD).
endDatestringUp to this date (YYYY-MM-DD).
dateslist of stringsFor check-dates mode (YYYY-MM-DD).
regionstringISO 3166-2 subdivision, e.g. US-CA, DE-BY, GB-SCT. Keeps nationwide plus that region's holidays.
typeslist of stringsPublic, Bank, School, Authorities, Optional, Observance. Empty = all.
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/public-holidays/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"countries": ["US", "GB"], "maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.16 per 1,000 records. No charge for errors or empty searches.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.