Get a year of non-settlement days
GET/api/v2/markets/{market}/non-settlement-days/{year}
Trading days on which the settlement system is closed, so trades settle a day later. Available for US, euro-area, UK and Japanese markets; elsewhere available is false with an explanation
One request: one year. A successful response counts as one request
Parameters
| Name | In | Description |
|---|---|---|
marketrequired | path | Market id, as listed by GET /markets (for example nyse, lse, cme-equity-futures)Example: nyse |
yearrequired | path | Calendar year, YYYYExample: 2026 |
Example
curl https://marketcalendars.com/api/v2/markets/nyse/non-settlement-days/2026 \
-H "Authorization: Bearer mc_live_..."const res = await fetch("https://marketcalendars.com/api/v2/markets/nyse/non-settlement-days/2026", {
headers: { Authorization: `Bearer ${process.env.MARKETCALENDARS_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://marketcalendars.com/api/v2/markets/nyse/non-settlement-days/2026",
headers={"Authorization": f"Bearer {os.environ['MARKETCALENDARS_KEY']}"},
)
data = res.json()GET /api/v2/markets/nyse/non-settlement-days/2026200
{
"market": "nyse",
"year": 2026,
"available": true,
"explanation": null,
"source": {
"name": "Federal Reserve holidays (DTC)",
"url": "https://www.federalreserve.gov/aboutthefed/k8.htm",
"rule": "US federal holidays; a Sunday holiday closes the Monday after, a Saturday holiday closes nothing"
},
"cycle": "T+1",
"days": [
{
"date": "2026-10-12",
"reason": "Columbus Day"
},
{
"date": "2026-11-11",
"reason": "Veterans Day"
}
]
}A live response from the API. Lists longer than seven items are cut to three here
Response fields
NonSettlementDays object. Fields marked | null are always present and may be null
| Field | Type | Description |
|---|---|---|
| market | string | Market id |
| year | integer | Calendar year |
| available | boolean | False when we have no public settlement calendar for the market |
| explanation | string | null | Why no settlement days are published, when available is false |
| source | object | null | Settlement calendar the days come from |
| source.name | string | Settlement calendar |
| source.url | string (uri) | Where the calendar is published |
| source.rule | string | How the settlement calendar is defined |
| cycle | string | null | Settlement cycle at the end of the year |
| days | object[] | Non-settlement days in date order. Empty when available is false |
| days[].date | string (date) | Trading day on which trades do not settle |
| days[].reason | string | Settlement holiday |
Errors
- 400invalid-parameterA path or query parameter is malformed, such as a date that is not YYYY-MM-DD
- 401unauthorizedThe Authorization header is missing, malformed, or names a revoked key
- 404unknown-marketNo market has that id. GET /markets lists every id
- 404out-of-rangeThe date or year is outside the market's coverage
- 429rate-limitedThe key sent more requests in a minute than its plan's burst limit
- 429quota-exceededThe plan's requests for this period are used up