DexBase

Nager.Date

Look up holidays by country and year with Nager.Date, read whether each date is national or regional, and use the response as a starting point for calendar planning.

Current public response

Load the response from Nager.Date; no search term is required.

What the response contains

Look up holidays by country and year with Nager.Date, read whether each date is national or regional, and use the response as a starting point for calendar planning.

A listed national holiday may not settle bank, school, retail, delivery, or public-office hours in a specific city. Check subdivisionCodes, holidayTypes, and the responsible official channel before communicating a deadline, leave, payment, or service schedule.

Fields worth checking

  • ISO-format date
  • Holiday name
  • National or regional coverage
  • Holiday types

What an annual lookup returns

The Holidays route places a country and year in the path. For BR and 2026, the observed response is a list of objects. Each object includes date in YYYY-MM-DD form, name, countryCode, nationalHoliday, subdivisionCodes, and holidayTypes. Not every holiday applies across an entire country, so read the coverage before marking a date unavailable for everyone.

  • Use countryCode as the queried country code, not as a city indicator.
  • Read nationalHoliday together with subdivisionCodes; a date can be limited to a subdivision.
  • Treat holidayTypes as a service classification, not as confirmation of local opening hours.

Building a useful request

Choose the country through its two-letter ISO code, then choose the year to plan. This page demonstrates BR and 2026 because an annual response makes fields comparable in one list. For a team calendar, store the date and coverage separately instead of treating every entry as a nationwide day off.

  • Keep the year explicit in the URL so calendars from different periods are not mixed.
  • Check that the country code is the expected one before reusing a response in another project.
  • Sort dates and highlight only those that match the place or rule you need to consider.

Care before using deadlines

A holiday list is useful for planning, but it does not by itself decide whether a service, bank settlement, delivery, class, or legal obligation will happen. Coverage can vary by city, institution, and activity type. When a date affects money, a contract, a public deadline, or travel, confirm the rule with the responsible body, company, or service.

  • Do not present a regional date as a nationwide closure without checking the returned fields.
  • Do not calculate a legal deadline from the API alone.
  • Record the official source consulted when a decision depends on a specific schedule or obligation.
BrasilAPI Feriados Date · Holiday name · Type · Weekday BrasilAPI Bancos ispb: institution identifier · name: shortened name · code: bank code when available · fullName: legal name BrasilAPI CEP Street · District · City · State and coordinates