/v1/quote
Live quote for one or more NSE Kenya stocks
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/nairobi-stock-api/v1/quote" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nairobi-stock-api/v1/quote", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nairobi-stock-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/nairobi-stock-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 or more Kenyan (NSE) stocks — price, change, open/high/low, volume, market cap, P/E and sector (in shillings), with the company name. Pass codes (the NSE Kenya ticker, comma-separate up to 20, e.g. SCOM,EQTY).",
"count": 2,
"quotes": [
{
"low": 31.05,
"high": 31.7,
"open": 31.2,
"price": 31.4,
"change": 0.1999999999999993,
"sector": "Communications",
"ticker": "SCOM",
"volume": 2074748,
"company": "Safaricom PLC",
"currency": "KES",
"pe_ratio": 13.14,
"market_cap": 1234138892308,
"change_percent": 0.64
},
{
"low": 75,
"high": 76,
"open": 75.5,
"price": 76,
"change": 0.25,
"sector": "Finance",
"ticker": "EQTY",
"volume": 136221,
"company": "Equity Group Holdings Limited",
"currency": "KES",
"pe_ratio": 3.8,
"market_cap": 284912447754,
"change_percent": 0.33
}
],
"source": "Nairobi Securities Exchange / NSE Kenya (TradingView)"
},
"meta": {
"timestamp": "2026-06-15T02:10:30.485Z",
"request_id": "66155628-d6bd-4b74-b7e2-59a80bb1341d"
},
"status": "ok",
"message": "Quote retrieved successfully",
"success": true
}