Default

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

get/stock/market-status

Request

  • Base URL
    https://finnhub.io/api/v1
  • URL
    https://finnhub.io/api/v1/stock/market-status
  • Auth
    API key in query parameter token

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"
}

Changes