Check if a given date is a public holiday for a given country

GET/v1/ispublicholiday

Listed by OrthogonalReliablePublished by API NinjasPublisher docs
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "api-ninjas",
"path": "/v1/ispublicholiday",
"method": "GET",
"query": {
"country": "",
"date": ""
}
}'

$0.001per call

Every call costs the same.

You aren't charged for failed calls. A wallet payment for a failed call is refunded.

API-wide: 100% success · 450 ms median · 30 days

About this endpoint

Checks whether a given date is a public holiday in a country. Requires country and date. For a whole year of public holidays use /publicholidays.

Query parameters

More from API Ninjas

  1. Get current stock priceGET/v1/stockprice$0.001 per callFixed
  2. Convert between IATA and ICAO airport codes. Premium only.GET/v1/airportconvert$0.001 per callFixed
  3. Get bank holidays for a given country and year.GET/v1/bankholidays$0.001 per callFixed
  4. Lookup bank information by BINGET/v2/bin$0.001 per callFixed
  5. Get balance sheet data for a specific company, period, and yearGET/v1/balancesheet$0.001 per callFixed
  6. List which fiscal periods have cash flow data for a company (premium)GET/v1/cashflowavailability$0.001 per callFixed
  7. Get historical Bitcoin price dataGET/v1/bitcoinhistorical$0.001 per callFixed
  8. Get historical OHLCV data for a cryptocurrencyGET/v1/cryptopricehistorical$0.001 per callFixed
  9. Get a Chuck Norris jokeGET/v1/chucknorris$0.001 per callFixed
  10. Get aircraft detailsGET/v1/aircraft$0.001 per callFixed
  11. List models for a manufacturer. Premium only.GET/v2/carmodels$0.001 per callFixed
  12. Get country data from given parameters.GET/v1/country$0.001 per callFixed
All 213 API Ninjas endpoints

Similar endpoints

  1. Abstract · Public Holidays LookupGET/v1$0.001 per callFixed