Public Holidays API
Pricing
Pay per event
Public Holidays API
Get public holidays for any country and year. Supports 121 countries, long weekends, worldwide holidays, and bulk queries. Uses the free Nager.Date API — no proxy, no API key needed.
Public Holidays API
Pricing
Pay per event
Get public holidays for any country and year. Supports 121 countries, long weekends, worldwide holidays, and bulk queries. Uses the free Nager.Date API — no proxy, no API key needed.
You can access the Public Holidays API programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
$echo '{< "mode": "holidays",< "countryCodes": [< "US"< ],< "years": [< 2026< ]<}' |<apify call automation-lab/public-holidays-scraper --silent --output-datasetThe Apify CLI is the official tool that allows you to use Public Holidays API locally, providing convenience functions and automatic retries on errors.
Using installation script (macOS/Linux):
$curl -fsSL https://apify.com/install-cli.sh | bashUsing installation script (Windows):
$irm https://apify.com/install-cli.ps1 | iexUsing Homebrew:
$brew install apify-cliUsing npm:
$npm install -g apify-cliOther API clients include: