Endpoints / Prices and sessions
Market status
Whether the US market is open, with the open and close times of the current or next session.
/api/v1/market-statusKeylessFree No API key is required.
Parameters
atstringUTC ISO timestamp; default is now
Response
The response has these fields.
schema_versionstringThe version of the response format.
snapshot_idstringThe publication this response was read from. Send it back while paging to stay on one publication.
marketstringThe market the row belongs to.
timezonestringThe exchange's time zone.
is_openbooleanWhether the market is open right now.
sessionobjectlocal_timestringThe current time at the exchange.
next_sessionobject
Research questions
Is the US equity market open at the time of this call?
GET https://api.quantset.dev/api/v1/market-statusRead 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:00ZCompare 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
| Status | Code | What to do |
|---|---|---|
| 422 | invalid_parameter | Correct the named parameter and retry. |
| 429 | rate_limited | Wait for Retry-After seconds. |
| 500 | internal_error | The request could not be completed. |
| 503 | temporarily_unavailable | Retry 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.