BLACK FRIDAY

All plans up to 50% off, only Nov 23 – Dec 6. Don’t miss out!

Get It Now

Indices API · HKEX

Hang Seng Index (HSI) Indices API - Real-Time Quotes & Historical Data

Access real-time indices quotes, OHLCV historical data and WebSocket streams for Hang Seng Index (HSI) on HKEX. Free API key included.

  • Real-time quote for HSI on HKEX
  • OHLCV historical K-line data from 1-min to monthly
  • WebSocket streaming for real-time price updates
  • Free API key to start - simple REST & WebSocket access
import requests
import pandas as pd

# kType = bar interval (1 = 1-minute ... 10 = monthly, see docs)
url = "https://api.itick.org/index/kline"
params = {"region": "HK", "code": "HSI", "kType": 8, "limit": 500}
headers = {"accept": "application/json", "token": "YOUR_API_TOKEN"}

bars = requests.get(url, params=params, headers=headers, timeout=10).json()["data"]
df = pd.DataFrame(bars).rename(columns={
    "t": "time", "o": "open", "h": "high", "l": "low", "c": "close", "v": "volume"
})
df["time"] = pd.to_datetime(df["time"], unit="ms")
df.to_csv("HSI_ohlcv.csv", index=False)
print(df.tail())
Hang Seng Index
22902.43+207.66 (+0.92%)
Code: HSIExchange: HKEXCurrency: HKDUpdated: 2026-11-30 09:01:18 UTC
Open22808.02
High22949.09
Low22703.96
Prev Close22694.77
Volume20,798,417,368
Turnover319,866,849,204
1W Change+2.32%
1M Change-2.10%

AboutHang Seng Index

The Hang Seng Index (HSI) is the benchmark stock market index of Hong Kong, tracking the performance of the largest and most liquid companies listed on the Hong Kong Stock Exchange.

API Access

Use the REST and WebSocket endpoints below with your API token.

REST Endpointhttps://api.itick.org/indices/quote?region=HK&code=HSI
WebSocket Endpointwss://api.itick.org/index

Get Hang Seng Index (HSI) data with Python

Query real-time index quotes and historical data for HSI via REST API.

  1. Sign up and get your free API token
  2. Use the /indices/quote endpoint for real-time values
  3. Use /indices/kline for historical bars
import requests
import pandas as pd

# kType = bar interval (1 = 1-minute ... 10 = monthly, see docs)
url = "https://api.itick.org/index/kline"
params = {"region": "HK", "code": "HSI", "kType": 8, "limit": 500}
headers = {"accept": "application/json", "token": "YOUR_API_TOKEN"}

bars = requests.get(url, params=params, headers=headers, timeout=10).json()["data"]
df = pd.DataFrame(bars).rename(columns={
    "t": "time", "o": "open", "h": "high", "l": "low", "c": "close", "v": "volume"
})
df["time"] = pd.to_datetime(df["time"], unit="ms")
df.to_csv("HSI_ohlcv.csv", index=False)
print(df.tail())

FAQ: Hang Seng Index (HSI) Indices Data API

How do I get real-time Hang Seng Index (HSI) price data?

Sign up for a free iTick account, get your API token, and call the /indices/quote endpoint with region=HK&code=HSI. You can also subscribe via WebSocket for live streaming updates.

What data is available for Hang Seng Index (HSI)?

iTick provides real-time quotes (price, bid/ask, volume), OHLCV K-line bars from 1-minute to monthly, and tick-by-tick trade data for Hang Seng Index on HKEX.

Is there a free plan for Hang Seng Index (HSI) data?

Yes. iTick offers a free plan that includes real-time quotes, historical K-line and tick data for personal use and evaluation. Paid plans add higher rate limits and commercial usage rights.

How do I access Hang Seng Index (HSI) historical data?

Use the /index/kline endpoint with region=HK&code=HSI and choose your interval via the kType parameter (1=1min, 8=daily, etc.).

What is the latest price of Hang Seng Index (HSI)?

As of 2026-11-30 09:01:18 UTC, the latest price of Hang Seng Index (HSI) is 22902.43 HKD.

Start building with HSI data today

Get a free API key and access real-time quotes, historical data and WebSocket streams in minutes.