/v1/quote
Live quote for one or more HKEX stocks
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/hkex-api/v1/quote" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hkex-api/v1/quote", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hkex-api/v1/quote");
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/quote",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "The live quote for one or more HKEX-listed stocks — price, open/high/low, previous close, change, volume, turnover, turnover rate, P/E and market cap (in 100M HKD) each, with the Chinese and English names. Pass codes (the stock number, comma-separate up to 10, e.g. 00700,09988 for Tencent and Alibaba).",
"count": 2,
"quotes": [
{
"low": 462.8,
"code": "00700",
"high": 476.8,
"name": "腾讯控股",
"open": 475,
"as_of": "2026/06/15 10:10:48",
"price": 463.8,
"change": 0.2,
"volume": 6648252,
"currency": "HKD",
"pe_ratio": 16.97,
"turnover": 3122964393.398,
"english_name": "TENCENT",
"market_cap_yi": 42243.0591,
"turnover_rate": 3.02,
"change_percent": 0.04,
"previous_close": 463.6,
"total_market_cap_yi": 42243.0591
},
{
"low": 110.2,
"code": "09988",
"high": 113.2,
"name": "阿里巴巴-W",
"open": 113.1,
"as_of": "2026/06/15 10:10:50",
"price": 110.2,
"change": 0,
"volume": 21280760,
"currency": "HKD",
"pe_ratio": 18.03,
"turnover": 2371530623.28,
"english_name": "BABA-W",
"market_cap_yi": 21150.7653,
"turnover_rate": 2.72,
"change_percent": 0,
"previous_close": 110.2,
"total_market_cap_yi": 21150.7653
}
],
"source": "HKEX (Tencent)"
},
"meta": {
"timestamp": "2026-06-15T02:10:51.506Z",
"request_id": "ae4d9ea0-3789-412c-b737-7f7edf2806fe"
},
"status": "ok",
"message": "Quote retrieved successfully",
"success": true
}