/v1/quote
Live quote for one or more SET 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/set-api/v1/quote" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/set-api/v1/quote", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/set-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/set-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 Thai (SET) stocks — price, change, open/high/low, volume, market cap, P/E and sector (in baht), with the company name. Pass codes (the SET ticker, comma-separate up to 20, e.g. PTT,DELTA).",
"count": 2,
"quotes": [
{
"low": 36,
"high": 36.5,
"open": 36.25,
"price": 36,
"change": -0.5,
"sector": "Energy Minerals",
"ticker": "PTT",
"volume": 58568852,
"company": "PTT Public Co., Ltd.",
"currency": "THB",
"pe_ratio": 11.09,
"market_cap": 1028267859375,
"change_percent": -1.37
},
{
"low": 360,
"high": 368,
"open": 366,
"price": 363,
"change": 5,
"sector": "Electronic Technology",
"ticker": "DELTA",
"volume": 19461890,
"company": "Delta Electronics (Thailand) Public Co. Ltd.",
"currency": "THB",
"pe_ratio": 159.39,
"market_cap": 4527995355469,
"change_percent": 1.4
}
],
"source": "Stock Exchange of Thailand / SET (TradingView)"
},
"meta": {
"timestamp": "2026-06-15T02:10:42.078Z",
"request_id": "daf84211-f0eb-4b63-b71e-4e88ba2231bd"
},
"status": "ok",
"message": "Quote retrieved successfully",
"success": true
}