Nager.Date API
Overview
Nager.Date is a completely free, open-source REST API providing public holidays for over 90 countries with no API key required. It supports querying holidays by year and country, checking whether a specific date is a public holiday, and listing all supported countries. The project is actively maintained and widely used in production applications.
Beginner Tip
This is an ideal first API: no sign-up, no key, and clean JSON output. Fetch all US public holidays for 2024 with a single call to https://date.nager.at/api/v3/PublicHolidays/2024/US.
Available Data
Example Response
{
"name": "Japan",
"capital": "Tokyo",
"population": 125800000,
"region": "Asia",
"languages": [
"Japanese"
],
"flag": "https://flagcdn.com/jp.svg",
"currencies": [
{
"code": "JPY",
"name": "Japanese yen"
}
]
} Field Reference
[].date Date of the public holiday in YYYY-MM-DD format. [].localName Name of the holiday in the local language of the country. [].name English-language name of the holiday. [].countryCode ISO 3166-1 alpha-2 country code the holiday belongs to. [].fixed True if the holiday always falls on the same calendar date every year. [].types List of holiday type strings such as "Public", "Bank", "School", or "Optional". Implementation Example
const url = "https://date.nager.at/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Church Calendar
⭐ Beginner's PickChurch Calendar (calapi.inadiutorium.cz) is a free, no-auth REST API that returns the Roman Catholic liturgical calendar for any date or month.
Czech Namedays Calendar
⭐ Beginner's PickThe Czech Namedays Calendar API lets you look up the Czech or Slovak nameday (svátek) associated with a given first name, or find whose nameday falls on a specific date.
Hebrew Calendar
⭐ Beginner's PickThe Hebcal API provides free Jewish calendar data including Hebrew date conversions, Shabbat candle-lighting times, Jewish holidays, and weekly Torah portion readings.
LectServe
⭐ Beginner's PickLectServe is a free REST API that returns Revised Common Lectionary readings — Scripture passages assigned to each Sunday and feast day used by many Protestant denominations.
Namedays Calendar
⭐ Beginner's PickNamedays Calendar provides name day traditions for dozens of countries, letting you look up which names are celebrated on any given date.