Skip to content

API · Stock exchanges

Stock market holiday API

Trading holidays, early closes and settlement holidays for 61 stock exchanges, in one REST API. Every date is checked against the exchange's own schedule.

Free plan: 10 calls a day, every calendar, no card needed.

What you get

  • 61 exchanges

    From the NYSE, Nasdaq and London to Tokyo, Hong Kong, India's NSE and B3. Each one is keyed by its MIC code.

  • Early closes

    Half days come with the local closing time, such as 1:00 pm on the day after Thanksgiving.

  • Settlement holidays

    A separate calendar for the days trades do not settle. US stocks trade on Columbus Day, but they do not settle.

  • Live market status

    Open, half day or closed right now, with today's hours and the next open and close. Market status API

  • Settlement dates

    T+1 or T+2 for any trade date, with dated changes such as UK and EU T+1 from 11 October 2027.

  • Ready for your stack

    JSON or CSV over REST, a Python client, and an MCP server for AI agents.

Example requests

Exchange Trading Holidays

GET /v1/trading-holidays

Days on which an exchange is closed for trading, including shortened sessions flagged with half_day.

Request
curl "https://api.tradingcalendars.com/v1/trading-holidays?market=XNYS" \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "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,
  …

Parameters and fields →

Market Status

GET /v1/market-status

Live open, half-day or closed status for every exchange. It includes today's hours and the next open and close.

Request
curl "https://api.tradingcalendars.com/v1/market-status?market=XNAS" \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "as_of_utc": "2026-12-01T10:12:04+00:00",
  "data": [
    {
      "market": "XNAS",
      "status": "closed",
      "session": "pre_market",
      "session_ends_at": "2026-12-01T09:30:00-05:00",
      "local_time": "05:12",
      "hours": "09:30–16:00",
      "next_open_at": "2026-12-01T09:30:00-05:00",
      "next_close_at": "2026-12-01T16:00:00-05:00",
      "sessions_today": [
        {
          "phase": "pre_market",
          "start": "2026-12-01T04:00:00-05:00",
          "end": "2026-12-01T09:30:00-05:00",
          "label": "Pre-market",
  …

Parameters and fields →

The 61 exchanges

Each exchange has a trading calendar and a settlement calendar. Open one to see its holidays.

Plans

  • Free

    $0/mo

    Every calendar, 10 API calls a day

  • Exchange Trading & Settlement Holidays

    $99/mo

    Exchange trading and settlement calendars, market status

  • All-in-one

    Best

    $169/mo

    Every calendar, 100,000 API calls a day

Yearly billing saves 15%. Compare plans →

Questions

Which stock exchanges does the API cover?

61 exchanges in 57 countries. They range from the NYSE, Nasdaq and London to Tokyo, Hong Kong, India's NSE and Brazil's B3. The full list is on this page.

Does the API include early closes and half days?

Yes. A short session has half_day set. early_close_time gives the local closing time, and late_open_time the opening time of a late open. It still counts as a trading day.

How far ahead do the dates go?

Dates are stored through 2077. Dates an exchange has not confirmed yet carry is_estimated: true, so your code can tell them apart.

How do you check the dates?

Each calendar is compared with the exchange's own schedule and with other sources before it is published. Weekly checks look for new lists and exceptional closures.

Is there a free plan?

Yes. The free plan gives 10 calls a day for every calendar type, with no card. Paid plans start at $99 a month for 100,000 calls a day.

Can an AI agent use the data?

Yes. Our hosted MCP server gives Claude, ChatGPT, Cursor and other AI clients the same calendars and market status.

How we verify the data →Payment system holiday API →All calendars →

Get a free API key

Trading and settlement holidays for every exchange above, with early closes and live status. Start free with 10 calls a day.