/v1/index
Live value of a major Chinese 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/china-stock-api/v1/index" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/china-stock-api/v1/index", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/china-stock-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/china-stock-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 Chinese stock index — current level, open, day high/low, previous close, change and percent change. Pass name (SH = Shanghai Composite, SZ = Shenzhen Component, CYB = ChiNext, STAR = STAR 50; default SH).",
"index": {
"low": 4051.07,
"code": "000001",
"high": 4092.23,
"name": "上证指数",
"open": 4053.58,
"as_of": "20260615101051",
"value": 4086.71,
"change": 55.2,
"change_percent": 1.37,
"previous_close": 4031.51
},
"source": "China A-Shares (Tencent)"
},
"meta": {
"timestamp": "2026-06-15T02:10:53.415Z",
"request_id": "f8c53b5b-9808-4069-8eec-4b652d34d05f"
},
"status": "ok",
"message": "Index retrieved successfully",
"success": true
}