Vai al contenuto
GET /v1/meta

Service metadata and endpoint list

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/markethours-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Public holidays are not accounted for — regular weekday hours only. 17 exchanges covered.",
        "source": "Computed in-process from current UTC time and each exchange's IANA time zone (no upstream)",
        "service": "markethours-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/open": "Only the exchanges open right now.",
            "GET /v1/status": "One exchange's live status + next open/close (exchange=NYSE).",
            "GET /v1/exchanges": "Live status of every covered exchange."
        },
        "description": "Live trading hours and open/closed status for the world's major stock exchanges, computed from the current time in each exchange's own time zone. The status endpoint tells you whether one exchange is trading right now, its local time, regular hours, lunch break and the minutes until it next opens or closes; the exchanges endpoint returns the live status of every covered exchange; the open endpoint lists only the exchanges trading right now. Daylight-saving is handled automatically. A market-clock layer, distinct from FX-session and exchange-registry tools.",
        "upstream_status": "ok",
        "exchanges_covered": [
            "NYSE",
            "NASDAQ",
            "TSX",
            "B3",
            "LSE",
            "EURONEXT",
            "XETRA",
            "SIX",
            "JSE",
            "TADAWUL",
            "NSE",
            "SSE",
            "HKEX",
            "SGX",
            "TSE",
            "KRX",
            "ASX"
        ]
    },
    "meta": {
        "timestamp": "2026-06-11T07:49:33.756Z",
        "request_id": "75cc4bd4-4e0e-4508-8d1d-c5e2520d67c4"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}