QuantSet Docs Developer console

Endpoints / Prices and sessions

Market status

Whether the US market is open, with the open and close times of the current or next session.

GET/api/v1/market-status

KeylessFree No API key is required.

View as MarkdownWhole API as text

Parameters

atstring

UTC ISO timestamp; default is now

Response

The response has these fields.

  • schema_versionstring

    The version of the response format.

  • snapshot_idstring

    The publication this response was read from. Send it back while paging to stay on one publication.

  • marketstring

    The market the row belongs to.

  • timezonestring

    The exchange's time zone.

  • is_openboolean

    Whether the market is open right now.

  • sessionobject
  • local_timestring

    The current time at the exchange.

  • next_sessionobject
View response example or schema

Research questions

Is the US equity market open at the time of this call?

GET https://api.quantset.dev/api/v1/market-status

Read is_open alongside local_time and the session’s open_utc and close_utc.

Was the exchange open at this UTC instant?

GET https://api.quantset.dev/api/v1/market-status?at=2026-11-27T19:00:00Z

Compare the instant with the returned session boundaries. This also handles holiday schedules and early closes.

Reading the results

To check an event in another timezone, supply at with an explicit UTC offset. An early close changes the session end even on a trading day.

Coverage and limits

This calendar describes the US exchange session. It cannot establish whether a particular security is halted, or whether a foreign exchange is open.

Use with agents

AI agents reach this dataset through the get_market_status tool on the MCP server, with no code. Connect Claude, ChatGPT, Cursor or your own agent

Errors

StatusCodeWhat to do
422invalid_parameterCorrect the named parameter and retry.
429rate_limitedWait for Retry-After seconds.
500internal_errorThe request could not be completed.
503temporarily_unavailableRetry safe reads after a short delay.

Questions

Can I try Market status without signing up?
Yes. This operation is keyless.
Can an AI agent use this?
Yes. On the QuantSet MCP server it is the get_market_status tool, so Claude, ChatGPT, Cursor and other clients can call it with no code.
What does null mean in the response?
The value could not be confirmed. It is never a zero, so treat it as missing in your own calculations.