/v1/index
Live value of a Hong Kong index
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/hkex-api/v1/index" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hkex-api/v1/index", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hkex-api/v1/index");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/hkex-api/v1/index",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "The live value of a major Hong Kong stock index — current level, open, day high/low, previous close, change and percent change. Pass name (HSI = Hang Seng, HSTECH = Hang Seng TECH, HSCEI = Hang Seng China Enterprises; default HSI).",
"index": {
"low": 24880.59,
"code": "HSI",
"high": 25047.9,
"name": "恒生指数",
"open": 25001.42,
"as_of": "2026/06/15 10:10:48",
"value": 24925.02,
"change": 206.92,
"change_percent": 0.84,
"previous_close": 24718.1
},
"source": "HKEX (Tencent)"
},
"meta": {
"timestamp": "2026-06-15T02:10:51.801Z",
"request_id": "b86e408d-ec9f-4924-9757-b8730486ead0"
},
"status": "ok",
"message": "Index retrieved successfully",
"success": true
}