API · Market status
Market status API
Is the exchange open right now? One call answers for 61 stock exchanges. You get today's hours, holidays and early closes, and the next open and close.
Free plan: 10 calls a day, no card needed. See it live without a key →
What you get
61 exchanges
Open, half day or closed right now, from the NYSE and Nasdaq to Tokyo, Hong Kong and B3.
Holidays built in
The status uses our checked holiday calendars. A holiday or an early close shows up with no work on your side.
Next open and close
Exact times with the exchange's UTC offset. Use them to schedule jobs around the market.
Every session of the day
Auctions, pre-market, after-hours and overnight trading, with their times. Nasdaq trades from 4:00 am to 8:00 pm New York time.
Lunch breaks and seasons
Midday breaks in Tokyo or Hong Kong, and hours that move with New York's clocks, are handled for you.
Ready for your stack
JSON or CSV over REST, a Python client, and an MCP server for AI agents.
Example request
Market Status
GET /v1/market-statusStatus, today's hours and the next open and close for one exchange, or for all of them. The session field says which session runs now, such as an auction or after-hours trading.
curl "https://api.tradingcalendars.com/v1/market-status?market=XNAS" \
-H "Authorization: Bearer YOUR_API_KEY"{
"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",
…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 exchanges does the market status API cover?
61 stock exchanges, from the NYSE and Nasdaq to London, Tokyo, Hong Kong, India's NSE and Brazil's B3. Each one is keyed by its MIC code.
Does it include pre-market and after-hours trading?
Yes, where the exchange has them. Nasdaq trades from 4:00 am to 9:30 am and from 4:00 pm to 8:00 pm New York time. From 6 December 2026, it adds an overnight session from 9:00 pm to 3:55 am. The NYSE, Xetra, Korea Exchange and B3 have extended sessions too. The status field follows continuous trading. The session field says which session is running.
Does it include opening and closing auctions?
Yes, for most exchanges. sessions_today gives the times of the opening auction, continuous trading, the closing auction and trading at the close. The session field says when an auction is running.
How does it handle holidays and early closes?
The status reads our holiday calendars, which are checked against each exchange's own list. On a holiday, the market shows closed. On an early close, continuous trading ends early, and the sessions after it move with it.
What about lunch breaks and seasonal hours?
Exchanges with a midday break, such as Tokyo and Hong Kong, return both sessions. Some exchanges change their hours when New York changes its clocks. The API uses the right hours for each date.
Is there a free plan?
Yes. The free plan gives 10 calls a day for every calendar type and for market status, with no card. Paid plans start at $99 a month for 100,000 calls a day.
Can an AI agent use it?
Yes. Our MCP server gives Claude, ChatGPT, Cursor and other AI clients the same live status. So an assistant can answer "is the market open?" from real data.
Stock market holiday API →Compared with TradingHours →How we verify the data →
Get a free API key
Live status for 61 exchanges, with holidays, early closes, auctions and extended hours. Start free with 10 calls a day.