Holidays by Calendar Code
GET/v1/holidays
The holiday list of any calendar, by its code: FX market, currency settlement, bank, payment system or exchange. The six endpoints below return the same list, looked up by currency, centre, payment system or exchange instead.
Plans:all, for the calendars your plan covers
Parameters
calendarrequiredCalendar code, e.g. USD.FX, USNYC.BANK or XNYS.TRADE.
Values: code
formatResponse format.
Values: json, csv · Default: json
startFirst date to include. Defaults to today; set an earlier date to include history.
Values: yyyy-mm-dd · Default: today
endLast date to include. Defaults to no limit (all published forward dates).
Values: yyyy-mm-dd · Default: no limit
Response fields 23
meta.calendar_codestring- Stable calendar code, e.g. USD.FX.
meta.calendar_namestring- Display name.
meta.calendar_typestring- One of the six published categories.
meta.country_codestring | null- ISO 3166-1 alpha-2 country.
meta.currency_codestring | null- ISO 4217 currency, when the calendar is currency-anchored.
meta.exchange_micstring | null- ISO 10383 MIC, when the calendar is exchange-anchored.
meta.financial_centre_codestring | null- UN/LOCODE, when the calendar is a bank calendar.
meta.payment_system_codestring | null- Payment-system code, when applicable.
meta.timezonestring | null- IANA timezone.
data[].datedate- The holiday date.
data[].original_datedate | null- Official date before an observance shift.
data[].eventstring- English holiday name.
data[].name_localstring | null- Local-language name.
data[].is_observedboolean- True when the day off is not the official date of the holiday.
data[].is_estimatedboolean- True when the date is not yet confirmed and may change.
data[].is_half_dayboolean- True when the session is shortened rather than fully closed.
data[].half_daystring- NONE, HALF_AM, HALF_PM or EARLY_CLOSE. A partial day is still a business day.
data[].early_close_timetime | null- Local closing time when half_day is EARLY_CLOSE.
data[].late_open_timetime | null- Local opening time when half_day is HALF_AM (a late open). Null means noon.
data[].is_bridgeboolean- True when the day joins a holiday to a weekend.
data[].sourcestring | null- The official listing or notice for the date: the issuer's holiday page, or the decree or notice URL for an exceptional date.
data[].notesstring | null- Reserved; currently always null.
countinteger- Number of holidays returned.
curl "https://api.tradingcalendars.com/v1/holidays?calendar=XNYS.TRADE&start=2027-11-01&end=2027-11-30" \
-H "Authorization: Bearer YOUR_API_KEY"{
"meta": {
"calendar_code": "XNYS.TRADE",
"calendar_name": "NYSE Trading",
"calendar_type": "EXCHANGE_TRADING",
"country_code": "US",
"currency_code": null,
"exchange_mic": "XNYS",
"financial_centre_code": null,
"payment_system_code": null,
"timezone": "America/New_York"
},
"data": [
{
"date": "2027-11-25",
"original_date": null,
"event": "Thanksgiving Day",
"name_local": null,
"is_observed": false,
"is_estimated": false,
"is_half_day": false,
"half_day": "NONE",
"early_close_time": null,
"late_open_time": null,
"is_bridge": false,
"source": null,
"notes": null
},
{
"date": "2027-11-26",
"original_date": null,
"event": "Day After Thanksgiving",
"name_local": null,
"is_observed": false,
"is_estimated": false,
"is_half_day": true,
"half_day": "EARLY_CLOSE",
"early_close_time": "13:00:00",
"late_open_time": null,
"is_bridge": false,
"source": null,
"notes": null
}
],
"count": 2
}