Μετάβαση στο περιεχόμενο
GET /v1/exchanges

Live status of every covered exchange

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/markethours-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "count": 17,
        "source": "MARKETHOURS",
        "open_now": 9,
        "exchanges": [
            {
                "code": "NYSE",
                "name": "New York Stock Exchange",
                "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
            },
            {
                "code": "NASDAQ",
                "name": "Nasdaq",
                "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
            },
            {
                "code": "TSX",
                "name": "Toronto Stock Exchange",
                "status": "pre_market",
                "country": "CA",
                "is_open": false,
                "timezone": "America/Toronto",
                "local_time": "03:49",
                "lunch_break": null,
                "local_weekday": "Thursday",
                "regular_hours": "09:30-16:00 (America/Toronto)",
                "minutes_until_open": 341,
                "minutes_until_close": null
            },
            {
                "code": "B3",
                "name": "B3 (Brasil Bolsa Balcao)",
                "status": "pre_market",
                "country": "BR",
                "is_open": false,
                "timezone": "America/Sao_Paulo",
                "local_time": "04:49",
                "lunch_break": null,
                "local_weekday": "Thursday",
                "regular_hours": "10:00-17:00 (America/Sao_Paulo)",
                "minutes_until_open": 311,
                "minutes_until_close": null
            },
            {
                "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,
                
…