Stock Market Hours API: Is the Exchange Open Now? avatar

Stock Market Hours API: Is the Exchange Open Now?

Pricing

$1.00 / 1,000 market hours checks

Go to Apify Store
Stock Market Hours API: Is the Exchange Open Now?

Stock Market Hours API: Is the Exchange Open Now?

Is NYSE, Nasdaq, LSE, Tokyo, Hong Kong or another of 50+ exchanges open now or at a given time? Today's session, lunch breaks, early closes, next open/close and upcoming holidays.

Pricing

$1.00 / 1,000 market hours checks

Rating

0.0

(0)

Developer

Tudor Lane

Tudor Lane

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Security

Limited permissions

Share

Use when: a trading bot or finance agent must know whether an exchange is open (now or at a given time), today's open/close, early closes, lunch breaks, next open/close and upcoming holidays, for 50+ exchanges by MIC (XNYS, XLON, XTKS...) or common name (NYSE, Nasdaq, LSE, HKEX, ASX, TSX, Euronext, Xetra, B3, JSE...).

Try this input (also the default, just click Start)

{"requests": [{"exchange": "NYSE"}, {"exchange": "LSE"}, {"exchange": "XTKS", "at": "2026-12-31T02:00:00Z"}]}

Sample output (real run, 4 Nov 2026, trimmed)

{"exchange": "XNYS", "status": "open", "is_open": true, "today": {"date": "2026-11-27", "open": {"utc": "2026-11-27T14:30:00+00:00", "local": "09:30-05:00"}, "close": {"utc": "2026-11-27T18:00:00+00:00", "local": "13:00-05:00"}, "early_close": true}, "error": null}
{"exchange": "XTKS", "status": "closed", "is_open": false, "today": null, "next_open": {"utc": "2027-01-04T00:00:00+00:00", "local": "2027-01-04T09:00:00+09:00"}, "error": null}
{"error": "unknown exchange NARNIA; send LIST for codes"}

Options

  • exchange as MIC or common name; at (ISO time) to check any moment instead of now. Send "LIST" for all codes.
  • Returns status (incl. lunch break), today's session in UTC and local time, early-close flag, next open/close, previous close, minutes to next change, weekday holidays in the next 60 days.
  • Many items per run in requests. No API key needed.

Pricing: pay per event, $0.001 per market hours check. Errors are not charged. No subscription.

Limits & failure modes

  • Regular sessions only: no pre-market, after-hours or futures/crypto hours.
  • at must be within about one year back to one year ahead; otherwise an uncharged error.
  • Schedules come from the community-maintained exchange_calendars library (Apache 2.0); surprise closures (mourning days, outages) may lag.

Last tested: 4 Nov 2026.

Use from AI agents (MCP)

  • Apify MCP server: add https://mcp.apify.com/?tools=tudorlane/market-hours to Claude, Cursor, ChatGPT, VS Code or any MCP client.
  • REST: POST https://api.apify.com/v2/acts/tudorlane~market-hours/run-sync-get-dataset-items?token=YOUR_TOKEN with the input JSON.