Naar de inhoud
GET /v1/meta

Service metadata

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/fxsessions-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/fxsessions-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fxsessions-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fxsessions-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "source": "Computed from each financial centre's IANA timezone (live clock, DST-aware)",
        "service": "fxsessions-api",
        "sessions": [
            "sydney",
            "tokyo",
            "london",
            "newyork"
        ],
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/clock": "World-clock of the four centres with local time and open status.",
            "GET /v1/session": "One session's status and hours (session=sydney|tokyo|london|newyork).",
            "GET /v1/sessions": "All four sessions with open status, overlaps and the most-liquid flag."
        },
        "description": "Live forex market-hours layer: which of the four trading sessions (Sydney, Tokyo, London, New York) are open right now, each centre's local time and standard open/close in local and UTC (DST handled automatically), the active session overlaps — above all the high-liquidity London–New York overlap — whether the overall market is open, and a world-clock of the four centres. Deterministic, real-time, no key. Distinct from FX rate, strength, volatility and signal APIs — this is market hours."
    },
    "meta": {
        "timestamp": "2026-06-09T03:02:38.676Z",
        "request_id": "7f620f94-c3af-4e8d-b7ff-e3573ca31fb6"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}