/v1/index
Live value of the NGX All-Share Index
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/ngx-api/v1/index" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ngx-api/v1/index", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ngx-api/v1/index");
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/index",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"low": 244456.2,
"high": 244944.45,
"name": "NGX All Share Index",
"note": "The live value of the NGX All-Share Index (the Nigerian Exchange benchmark) — current level, change, and the day's open/high/low. Pass name (ASI; default ASI).",
"open": 244877.64,
"index": "ASI",
"value": 244738.73,
"change": -113.47000000000116,
"source": "The Nigerian Exchange / NGX (TradingView)",
"change_percent": -0.05
},
"meta": {
"timestamp": "2026-06-15T02:10:37.505Z",
"request_id": "314d7eb7-1e11-440a-aac9-cb4118746c33"
},
"status": "ok",
"message": "Index retrieved successfully",
"success": true
}