/v1/session
One session status and hours
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/fxsessions-api/v1/session" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fxsessions-api/v1/session", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fxsessions-api/v1/session");
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/fxsessions-api/v1/session",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"name": "London",
"is_open": false,
"session": "london",
"open_utc": "07:00",
"timezone": "Europe/London",
"close_utc": "16:00",
"local_day": "Tue",
"local_time": "04:02",
"open_local": "08:00",
"utc_offset": "+01:00",
"close_local": "17:00",
"minutes_to_open": 238,
"minutes_to_close": null
},
"meta": {
"timestamp": "2026-06-09T03:02:38.478Z",
"request_id": "49ec0f5c-c316-4674-9ebc-07f5cb1de9de"
},
"status": "ok",
"message": "Session retrieved successfully",
"success": true
}