Skip to content
MarketCalendars.com
Sign up

API documentation

REST API v2: trading hours, holidays and settlement days as JSON over HTTPS

Changelog

Changes to the API, newest first. Additive changes, such as new fields or endpoints, do not change the version.

Version 2 24 October 2026

  • New base path /api/v2 with API keys, quotas and an OpenAPI 3.1 document generated from the code
  • Sessions by trade date with typed phases (pre_market, regular, break, after_hours), irregular-day reasons and settlement days
  • Regular weekly hours and trading weekdays with the dates they are in force
  • Year endpoints for holidays, irregular days and non-settlement days
  • Errors as RFC 9457 problem details
  • The keyless version 1 API is no longer available