/v1/quote
Daily quote for a stock
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/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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten 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
}