
Get holidays for a given country and year.
GET/v2/holidays
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "api-ninjas",
"path": "/v2/holidays",
"method": "GET",
"query": {
"country": ""
}
}'
$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
Returns holidays for a country and calendar year, optionally filtered by holiday type. Requires a country. For holidays falling on one date use /v1/isholiday.
Query parameters
countryrequiredstringCountry name or ISO 3166-2 country code (preferred).yearnumberCalendar year between 2005 and 2039 (inclusive). Default is the current year. Note: not all countries are guaranteed to contain data going back to 2005. (Default: 2025)typestringFilter results to a single holiday type. Accepts one of the enumerated values, e.g. public_holiday for nationally mandated days off. Omit to return every type. (Allowed: public_holiday, state_holiday, local_holiday, province_territory_holiday, de_facto_holiday, substitute_holiday, bank_holiday, government_holiday, private_sector_holiday, optional_holiday, restricted_trading_day, christian_holiday, orthodox_holiday, muslim_holiday, jewish_holiday, hindu_holiday, observance, united_nations_observance, flag_day, silent_day, half_day, working_day, season, clock_change, sporting_event)More from API Ninjas
- Get current stock priceGET/v1/stockprice$0.001 per callFixed
- Convert between IATA and ICAO airport codes. Premium only.GET/v1/airportconvert$0.001 per callFixed
- Get bank holidays for a given country and year.GET/v1/bankholidays$0.001 per callFixed
- Lookup bank information by BINGET/v2/bin$0.001 per callFixed
- Get balance sheet data for a specific company, period, and yearGET/v1/balancesheet$0.001 per callFixed
- List which fiscal periods have cash flow data for a company (premium)GET/v1/cashflowavailability$0.001 per callFixed
- Get historical Bitcoin price dataGET/v1/bitcoinhistorical$0.001 per callFixed
- Get historical OHLCV data for a cryptocurrencyGET/v1/cryptopricehistorical$0.001 per callFixed
- Get a Chuck Norris jokeGET/v1/chucknorris$0.001 per callFixed
- Get aircraft detailsGET/v1/aircraft$0.001 per callFixed
- List models for a manufacturer. Premium only.GET/v2/carmodels$0.001 per callFixed
- Get country data from given parameters.GET/v1/country$0.001 per callFixed