/v1/quote
Daily quote for a stock
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/twse-api/v1/quote" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/twse-api/v1/quote", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/twse-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/twse-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 latest daily quote for one TWSE-listed stock — open/high/low/close, change, traded volume, traded value and transaction count. Pass code (the TWSE stock code, e.g. 2330 for TSMC). Use /v1/valuation for P/E, P/B and yield.",
"stock": {
"low": 2290,
"code": "2330",
"date": "2026-06-12",
"high": 2325,
"name": "台積電",
"open": 2325,
"close": 2310,
"change": 60,
"trade_value": 60666936905,
"trade_volume": 26306885,
"transactions": 77219
},
"source": "TWSE"
},
"meta": {
"timestamp": "2026-06-15T02:11:14.723Z",
"request_id": "60a20b58-faa0-44aa-b73b-ab0318776655"
},
"status": "ok",
"message": "Quote retrieved successfully",
"success": true
}