/v1/quote
Live quote for a security
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/sgx-api/v1/quote" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sgx-api/v1/quote", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sgx-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/sgx-api/v1/quote",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "The live quote for one SGX-listed security by its trading code — last price, open/high/low, previous close, change (absolute and percent) and volume. Pass code (e.g. D05 for DBS, Z74 for Singtel). Works for stocks, ETFs, REITs and more.",
"source": "SGX",
"security": {
"low": 63.31,
"code": "D05",
"high": 63.64,
"last": 63.6,
"name": "DBS",
"open": 63.31,
"type": "stocks",
"change": 0.36,
"volume": 1106.6,
"traded_value": 70243710,
"change_percent": 0.57,
"previous_close": 63.24
}
},
"meta": {
"timestamp": "2026-06-15T02:11:10.525Z",
"request_id": "7adbb858-4793-44f4-b3bb-526d363f947a"
},
"status": "ok",
"message": "Quote retrieved successfully",
"success": true
}