Stock API · HKEX
Xiaomi Corp (1810) Stock API - Real-Time Quotes & Historical Data
Access real-time stock quotes, OHLCV historical data and WebSocket streams for Xiaomi Corp (1810) on HKEX. Free API key included.
- Real-time quote for 1810 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/stock/kline"
params = {"region": "HK", "code": "1810", "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("1810_ohlcv.csv", index=False)
print(df.tail())Company Info
Xiaomi Corporation is a Chinese multinational electronics company headquartered in Beijing. It designs and manufactures smartphones, IoT devices, smart home products, and consumer electronics. Listed on HKEX under 01810.
Hot Stock Products
Explore real-time quotes and historical data for more financial instruments across global markets.
API Access
Use the REST and WebSocket endpoints below with your API token.
https://api.itick.org/stock/quote?region=HK&code=1810wss://api.itick.org/stockGet Xiaomi (1810) stock data with Python
Query real-time quotes and historical K-line data for 1810.HK via REST API.
- Sign up and get your free API token
- Use the /stock/quote endpoint for real-time prices
- Use /stock/kline for OHLCV historical bars
import requests
import pandas as pd
# kType = bar interval (1 = 1-minute ... 10 = monthly, see docs)
url = "https://api.itick.org/stock/kline"
params = {"region": "HK", "code": "1810", "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("1810_ohlcv.csv", index=False)
print(df.tail())FAQ: Xiaomi Corp (1810) Stock Data API
How do I get real-time Xiaomi Corp (1810) price data?
Sign up for a free iTick account, get your API token, and call the /stock/quote endpoint with region=HK&code=1810. You can also subscribe via WebSocket for live streaming updates.
What data is available for Xiaomi Corp (1810)?
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 Xiaomi Corp on HKEX.
Is there a free plan for Xiaomi Corp (1810) 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 Xiaomi Corp (1810) historical data?
Use the /stock/kline endpoint with region=HK&code=1810 and choose your interval via the kType parameter (1=1min, 8=daily, etc.).
What is the latest price of Xiaomi Corp (1810)?
As of 2026-11-30 09:01:25 UTC, the latest price of Xiaomi Corp (1810) is 26.72 HKD.
Start building with 1810 data today
Get a free API key and access real-time quotes, historical data and WebSocket streams in minutes.