/v1/open
Only the exchanges open right now
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
…