Market Calendar
GET /api/calendar/business-day
Is a date a business day in a country (optionally a subdivision) or on a currency's settlement calendar? Returns the holiday name if any, and the previous/next business days. Respects non-Saturday/Sunday weekends (e.g. Friday-Saturday in Saudi Arabia). Available on the FREE tier. Reference only.
Request
- Base URLhttps://api.unirateapi.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
api_keystring required
API key for authentication
countrystring
ISO 3166-1 alpha-2 country code. Required unless currency is given.
subdivstring
Subdivision code (optional)
currencystring
ISO 4217 code (settlement calendar, EUR = TARGET2). Ignored if country is given.
datestring
Date YYYY-MM-DD (optional, defaults to today UTC)
format'json' | 'xml'
callbackstring
JSONP callback name (optional, json only).
Response
Business-day status.
Changes
No recorded changes to this operation across all 1 revision of this API.