/v1/quote
Live quote for one or more NGX stocks
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/ngx-api/v1/quote" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ngx-api/v1/quote", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ngx-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/ngx-api/v1/quote",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "The live quote for one or more Nigerian (NGX) stocks — price, change, open/high/low, volume, market cap, P/E and sector (in naira), with the company name. Pass codes (the NGX ticker, comma-separate up to 20, e.g. DANGCEM,MTNN).",
"count": 2,
"quotes": [
{
"low": 1155,
"high": 1155,
"open": 1155,
"price": 1155,
"change": 0,
"sector": "Non-Energy Minerals",
"ticker": "DANGCEM",
"volume": 339746,
"company": "Dangote Cement PLC",
"currency": "NGN",
"pe_ratio": 17.31,
"market_cap": 19155911865234,
"change_percent": 0
},
{
"low": 800,
"high": 800,
"open": 800,
"price": 800,
"change": 0,
"sector": "Communications",
"ticker": "MTNN",
"volume": 7008897,
"company": "MTN Nigeria Communications Plc",
"currency": "NGN",
"pe_ratio": 12.57,
"market_cap": 16796448437500,
"change_percent": 0
}
],
"source": "The Nigerian Exchange / NGX (TradingView)"
},
"meta": {
"timestamp": "2026-06-15T02:10:37.076Z",
"request_id": "c1c803f5-a4dd-4056-b506-6f3f5b9faaa9"
},
"status": "ok",
"message": "Quote retrieved successfully",
"success": true
}