Naar de inhoud
GET /v1/status

One exchange live status + next open/close

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "code": "NYSE",
        "name": "New York Stock Exchange",
        "source": "MARKETHOURS",
        "status": "pre_market",
        "country": "US",
        "is_open": false,
        "timezone": "America/New_York",
        "local_time": "03:49",
        "lunch_break": null,
        "local_weekday": "Thursday",
        "regular_hours": "09:30-16:00 (America/New_York)",
        "minutes_until_open": 341,
        "minutes_until_close": null
    },
    "meta": {
        "timestamp": "2026-06-11T07:49:33.918Z",
        "request_id": "e3923660-2882-4674-8504-3875627f4604"
    },
    "status": "ok",
    "message": "Status retrieved successfully",
    "success": true
}