Nager.Date/isTodayHoliday

Online calls unavailable · details below

Nager.DateNager.Date public-holiday API

GET/api/v4/IotHolidays/{isoCode}/IsToday/{offset}

Check whether today is a public holiday

Checks whether today is a public holiday for a country or ISO 3166-2 subdivision at UTC or the requested offset; 200 means yes and 204 means no.

Look up supported countries, country information, annual or upcoming public holidays, today's holiday status, and the service version. The complete Community API v4 has six read-only endpoints; commercial use requires active sponsorship.

Request

operationId
isTodayHoliday
Server
https://nagerholidays.com
Authentication
None

Request parameters

isoCode

pathstringrequired

ISO 3166-1 alpha-2 country code or ISO 3166-2 subdivision code.

US

offset

pathintegerint32required

Whole-hour UTC offset, from -12 through 12.

0

Responses

200

unknownapplication/json

Request succeeded.

204

unknownapplication/json

Request succeeded.

400

ValidationProblemDetailsapplication/json

Request parameters are invalid.

Properties: detailerrorsinstancestatustitletype