/v1/quote
Live quote for one or more IDX stocks
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/idx-api/v1/quote" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/idx-api/v1/quote", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/idx-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/idx-api/v1/quote",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "The live quote for one or more Indonesian (IDX) stocks — price, change, open/high/low, volume, market cap, P/E and sector (in rupiah), with the company name. Pass codes (the IDX ticker, comma-separate up to 20, e.g. BBCA,TLKM).",
"count": 2,
"quotes": [
{
"low": 6100,
"high": 6175,
"open": 6100,
"price": 6175,
"change": 250,
"sector": "Finance",
"ticker": "BBCA",
"volume": 14628000,
"company": "PT Bank Central Asia Tbk",
"currency": "IDR",
"pe_ratio": 13.09,
"market_cap": 730404652734375,
"change_percent": 4.22
},
{
"low": 2890,
"high": 2910,
"open": 2900,
"price": 2910,
"change": 50,
"sector": "Communications",
"ticker": "TLKM",
"volume": 4155800,
"company": "PT Telkom Indonesia (Persero) Tbk Class B",
"currency": "IDR",
"pe_ratio": 17.63,
"market_cap": 283317945627860,
"change_percent": 1.75
}
],
"source": "Indonesia Stock Exchange / IDX (TradingView)"
},
"meta": {
"timestamp": "2026-06-15T02:10:44.495Z",
"request_id": "406763e7-db5a-4312-b41f-c8894fa73c95"
},
"status": "ok",
"message": "Quote retrieved successfully",
"success": true
}