/v1/meta
Endpoints & source
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/china-stock-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/china-stock-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/china-stock-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"sample": {
"shanghai_composite": 4086.71
},
"source": "Tencent public stock quote feed (qt.gtimg.cn), keyless",
"indexes": [
"SH",
"SZ",
"CYB",
"STAR"
],
"service": "china-stock-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/index": "Live value of a major Chinese index (name).",
"GET /v1/quote": "Live quote for one or more A-share stocks (codes)."
},
"description": "Live data for the Chinese A-share market (Shanghai & Shenzhen stock exchanges) with no key: the live quote for one or more A-share stocks by code (price, open/high/low, change, volume, turnover, P/E, P/B, market cap in yuan), and the live value of the major Chinese indices (Shanghai Composite, Shenzhen Component, ChiNext, STAR 50). The China-equities / A-share / index layer for trading dashboards and screeners. Distinct from other exchange readers — the Shanghai/Shenzhen market. Live, short cache only.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-15T02:10:53.495Z",
"request_id": "98c2ec12-7b32-46f3-a59c-1e3753f6ac09"
},
"status": "ok",
"message": "Meta",
"success": true
}