/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/twse-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/twse-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/twse-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/twse-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": {
"tsmc_pe": 31.06
},
"source": "Taiwan Stock Exchange official OpenAPI (openapi.twse.com.tw), keyless",
"service": "twse-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/quote": "Daily quote for one stock (code).",
"GET /v1/taiex": "Daily history of the TAIEX index.",
"GET /v1/market": "Whole-market snapshot (sort, offset, limit).",
"GET /v1/indices": "Every TWSE index (TAIEX and the rest).",
"GET /v1/valuation": "P/E, P/B and dividend yield (code, or all)."
},
"description": "Live data from the Taiwan Stock Exchange (TWSE) with no key: the daily quote for any listed stock by code (OHLC, change, volume, value), a whole-market snapshot, per-stock valuation metrics (P/E, P/B, dividend yield), every TWSE index (TAIEX and the rest) and the daily TAIEX history. The Taiwan-equities / valuation / index layer for trading dashboards, screeners and fintech. Distinct from other exchange readers — TWSE data with a valuation cut. Live, short cache only.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-15T02:11:15.419Z",
"request_id": "4aa6d419-c891-4772-9643-2c821fe5dd8b"
},
"status": "ok",
"message": "Meta",
"success": true
}