/v1/index
Live value of an Athens 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/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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten 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
}