Naar de inhoud
GET /v1/open

Only the exchanges open right now

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

Voorbeeldrespons

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

{
    "data": {
        "count": 9,
        "source": "MARKETHOURS",
        "exchanges": [
            {
                "code": "LSE",
                "name": "London Stock Exchange",
                "status": "open",
                "country": "GB",
                "is_open": true,
                "timezone": "Europe/London",
                "local_time": "08:49",
                "lunch_break": null,
                "local_weekday": "Thursday",
                "regular_hours": "08:00-16:30 (Europe/London)",
                "minutes_until_open": null,
                "minutes_until_close": 461
            },
            {
                "code": "EURONEXT",
                "name": "Euronext Paris",
                "status": "open",
                "country": "FR",
                "is_open": true,
                "timezone": "Europe/Paris",
                "local_time": "09:49",
                "lunch_break": null,
                "local_weekday": "Thursday",
                "regular_hours": "09:00-17:30 (Europe/Paris)",
                "minutes_until_open": null,
                "minutes_until_close": 461
            },
            {
                "code": "XETRA",
                "name": "Deutsche Borse Xetra",
                "status": "open",
                "country": "DE",
                "is_open": true,
                "timezone": "Europe/Berlin",
                "local_time": "09:49",
                "lunch_break": null,
                "local_weekday": "Thursday",
                "regular_hours": "09:00-17:30 (Europe/Berlin)",
                "minutes_until_open": null,
                "minutes_until_close": 461
            },
            {
                "code": "SIX",
                "name": "SIX Swiss Exchange",
                "status": "open",
                "country": "CH",
                "is_open": true,
                "timezone": "Europe/Zurich",
                "local_time": "09:49",
                "lunch_break": null,
                "local_weekday": "Thursday",
                "regular_hours": "09:00-17:30 (Europe/Zurich)",
                "minutes_until_open": null,
                "minutes_until_close": 461
            },
            {
                "code": "JSE",
                "name": "Johannesburg Stock Exchange",
                "status": "open",
                "country": "ZA",
                "is_open": true,
                "timezone": "Africa/Johannesburg",
                "local_time": "09:49",
                "lunch_break": null,
                "local_weekday": "Thursday",
                "regular_hours": "09:00-17:00 (Africa/Johannesburg)",
                "minutes_until_open": null,
                "minutes_until_close": 431
            },
            {
                "code": "TADAWUL",
                "name": "Saudi Exchange (Tadawul)",
                "status": "open",
                "country": "SA",
                "is_open": true,
                "timezone": "Asia/Riyadh",
                "local
…