# nager/Nager.Date

Easily access public holidays for 200+ countries via .NET, REST API, Docker, or NuGet for online and offline use.

Repository: https://github.com/nager/Nager.Date
Canonical: https://ross.abutalabs.com/products/nagerdate
Homepage: https://nagerholidays.com
Language: C#
License: MIT
License Family: permissive
Topics: publicholidays, public-holidays, holiday, calculate-holidays, holiday-api, holidays, bank-holidays, calendar, calendar-api, holiday-calculation, holidayapi, public-apis, rest-api, holidays-api, holiday-software, public-holiday, holiday-list
Last push: 2026-08-24T06:20:41+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 83, longevity 100
- inputs: {"age_days": 4401, "days_push": 9, "days_rel": 36, "gap_med": 4.0, "n_releases_24m": 81}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1396, forks 217 (observed 2026-08-28T04:04:36.673723+00:00)

## What it is
Nager.Date is a .NET-based public holiday data project covering 200+ countries, exposed via a free public REST API, a hosted website, a Docker container, and NuGet packages for offline use. It lets applications query holidays by country and year with local names, global/regional flags, and holiday types.

## Use cases
- get public holidays for a country and year
- check if a date is a holiday in a specific country
- add holiday awareness to payroll or scheduling software
- self-host a holiday API with Docker for offline use
- generate an API client in any language from OpenAPI
- list bank holidays across 200+ countries

## When to choose
- you need worldwide public holiday data with broad country coverage
- you want both an online REST API and offline NuGet/Docker options
- you are building on .NET and want a maintained holiday library

## When to avoid
- you need fully free offline use without a sponsor license key
- you need non-holiday calendar features like events or reminders
- you need guaranteed legal accuracy of holiday rules for compliance

## Facets
- artifact type: library
- maturity: active
- function: api-framework, http-server, date-time, sdk
- domain: apis, developer-tools
- platform: dotnet, self-hosted, cross-platform
- tags: public-holidays, holiday-api, rest-api, nuget, calendar, bank-holidays, csharp, automation, docker, web-server

## Member repositories
- nager/Nager.Date (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:36.673723+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:39:20.287281+00:00, confidence not recorded.
  - readme: https://github.com/nager/Nager.Date (fetched 2026-08-28T04:04:36.673723+00:00, sha 2dd56e285934)
  - homepage: https://nagerholidays.com (fetched 2026-08-29T11:53:49.881992+00:00, sha 7f266e3d06bb)
  - site_page: https://nagerholidays.com/changelog (fetched 2026-08-29T11:53:49.884353+00:00, sha 67ce68904630)
- Data as of 2026-08-30T08:39:29.467469+00:00.
