Errors
Errors use RFC 9457 problem details with the content typeapplication/problem+json. Check the HTTP status first, then type, which is a stable URL for each kind of error. title and detail are for people and may change.
Only successful (2xx) responses count against your quota. Errors are free.
{
"type": "https://marketcalendars.com/docs/api/errors#invalid-parameter",
"title": "Invalid parameter",
"status": 400,
"detail": "date: Must be a real calendar date",
"instance": "/markets/nyse/sessions/2026-02-30",
"errors": [
{
"path": "date",
"message": "Must be a real calendar date"
}
]
}Error types
invalid-parameter400Invalid parameter
A path or query parameter is malformed, such as a date that is not YYYY-MM-DD
unknown-market404Unknown market
No market has that id. GET /markets lists every id
out-of-range404Outside our data
The date or year is outside the market's coverage
not-found404Not found
No endpoint has that path
rate-limited429Too many requests
The key sent more requests in a minute than its plan's burst limit
quota-exceeded429Quota used up
The plan's requests for this period are used up
internal-error500Internal error
Something failed on our side. Retry later; tell us if it persists
Extra fields
invalid-parameteraddserrors, a list of{ path, message }for each bad parameterout-of-rangeaddscoveragewith the first and last dates we have for the marketrate-limitedsends aRetry-Afterheader in secondsquota-exceededaddsresetsAt, the start of your next quota period, or null for the free trial