v1

latestOpenAPI 3.0.1Apache-2.02026-07-17105189262.9 KB
Default

Market Status

Get current market status for global exchanges (whether exchanges are open or close).

get/stock/market-status

Query parameters

exchangestring required

Exchange code.

Response

successful operation

exchangestring

Exchange.

timezonestring

Timezone.

sessionstring

Market session. Can be 1 of the following values: <code>pre-market</code>,<code>regular</code>,<code>post-market</code> or <code>null</code> if the market is closed.

holidaystring

Holiday event.

isOpenboolean

Whether the market is open at the moment.

tinteger

Current timestamp.

Example response

{
  "isOpen": true,
  "t": 0,
  "timezone": "timezone",
  "session": "session",
  "exchange": "exchange",
  "holiday": "holiday"
}