/v1/index
Live value of a major Chinese index
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten 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
}