/v1/index
Live value of an Athens index
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/athex-api/v1/index" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/athex-api/v1/index", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/athex-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/athex-api/v1/index",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"low": 2415.74,
"high": 2444.61,
"name": "ATHEX Composite Index",
"note": "The live value of an Athens Stock Exchange index — current level, change, and the day's open/high/low. Pass name (GD for the ATHEX Composite, or FTSE for the FTSE/ATHEX Large Cap; default GD).",
"open": 2421.65,
"index": "GD",
"value": 2421.69,
"change": 25.320000000000164,
"source": "Athens Stock Exchange / ATHEX (TradingView)",
"change_percent": 1.06
},
"meta": {
"timestamp": "2026-06-15T02:10:27.513Z",
"request_id": "b99f9c9b-8747-4ff1-b4bc-8e960583d9da"
},
"status": "ok",
"message": "Index retrieved successfully",
"success": true
}