Skip to content
iTick
  1. Docs
  2. REST API
  3. Basic Data
  4. Market Status

Market Status

Query the current market status of a specified country or region, returning whether the market is open, status, trading sessions, timezone, and local time.

Market Status Query

GET/market/status

Request Parameters

codeenumRequired

Country/Region code

Response Parameters

codenumber

Response code

msgstring

Response description

dataarray(object)▶Response result
cstring

Country/Region code

rstring

Country/Region name

ostring

Whether the market is open

sstring

Market status; `PRE_MARKET` Pre-market, `OPEN` Market open, `LUNCH_BREAK` Lunch break, `POST_MARKET` Post-market, `CLOSED` Non-trading hours, `CLOSED_WEEKEND` Weekend closed, `CLOSED_HOLIDAY` Holiday closed, `HOLIDAY_HALF_DAY` Half-day holiday trading

hstring

Holiday name of the day, only available when `status = CLOSED_HOLIDAY / HOLIDAY_HALF_DAY`

tstring

Trading session configuration

zstring

Timezone code

lstring

Current local time in the region, format `yyyy-MM-dd HH:mm:ss`

Code Examples

import requests

url = "https://api.itick.org/market/status?code=HK"

headers = {
"accept": "application/json"
"token": "Your Token"
}

response = requests.get(url, headers=headers)

print(response.text)

Query URL

GEThttps://api.itick.org/market/status?code=HK

, Run query

Response Result

{
  "code": 0,
  "msg": "ok",
  "data": {
    "c": "es",
    "r": "Spain",
    "o": false,
    "s": "CLOSED_WEEKEND",
    "h": null,
    "t": "08:00-09:00,09:00-17:30,",
    "z": "Europe/Madrid",
    "l": "2026-07-05 18:47:44"
  }
}