What a response looks like
{"count": 5, "items": [{ "country": "United Kingdom", "countryCode": "GB", "date": "2026-01-01", "fixedDate": false, "localName": "New Year's Day", "name": "New Year's Day", "nationwide": false, "regions": [ "GB-ENG", "GB-NIR", … ]}| country | countryCode | date | fixedDate | localName | name |
|---|---|---|---|---|---|
| United Kingdom | GB | 2026-01-01 | False | New Year's Day | New Year's Day |
| United States | US | 2026-01-01 | False | New Year's Day | New Year's Day |
| United Kingdom | GB | 2026-01-02 | False | 2 January | 2 January |
| United States | US | 2026-01-19 | False | Martin Luther King, Jr. Day | Martin Luther King, Jr. Day |
| United States | US | 2026-02-12 | False | Lincoln's Birthday | Lincoln's Birthday |
Real rows returned by this API on 2026-11-09 for the request shown.
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.
| Field | Type | Description |
|---|---|---|
mode | string: holidays, long-weekends, check-dates, next-worldwide | Holiday list, long weekends, check specific dates, or the next holidays worldwide (next 7 days). Default: "holidays". |
countries | list of strings | ISO 2-letter codes (US, GB, DE...) or ALL. |
years | list of strings | Years to return, e.g. 2026. Default: this year. |
startDate | string | Instead of years: from this date (YYYY-MM-DD). |
endDate | string | Up to this date (YYYY-MM-DD). |
dates | list of strings | For check-dates mode (YYYY-MM-DD). |
region | string | ISO 3166-2 subdivision, e.g. US-CA, DE-BY, GB-SCT. Keeps nationwide plus that region's holidays. |
types | list of strings | Public, Bank, School, Authorities, Optional, Observance. Empty = all. |
maxItems | integer | Maximum 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.
| Records | Cost |
|---|---|
| 1,000 | $0.16 |
| 10,000 | $1.60 |
| 100,000 | $16.00 |
| 1,000,000 | $160.00 |
| 6,249 a month | Free ($1 monthly credit) |
Use it from Claude, ChatGPT or Cursor
This API is also an MCP server: https://api.pushbuild.com/mcp/public-holidays. Add it to any assistant that supports remote MCP servers, with your key in the X-API-Key header. Same prices. Setup for each app.
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.comNew APIs and data, twice a month
New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.
Want this data inside your own app or CRM? API integrations and data sync