/v1/exchanges
Live status of every covered exchange
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"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,
…