Stocks · Reference and fundamentals
Stocks exchanges
/v1/stocks/exchangesstocksExchangesMaps the numeric exchange ids on trades and quotes to venue names, market identifier codes and kinds (exchange, trf for trade reporting facilities, sip for consolidated feeds, orf for the OTC reporting facility). Several trade reporting facility records share id 4: an off-exchange print is told apart by its trf_id. Reference data, cached for 24 hours.
Example request
curl -sS "https://api.ordermap.si/v1/stocks/exchanges" \
-H "Authorization: Bearer $ORDERMAP_API_KEY"const res = await fetch("https://api.ordermap.si/v1/stocks/exchanges", {
headers: { Authorization: `Bearer ${process.env.ORDERMAP_API_KEY}` },
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const { data, meta } = await res.json();
console.log(data, meta.coverage);Set ORDERMAP_API_KEY to your key. Replace the dates with a recent trading date.
Parameters
This endpoint takes no parameters.
Response
| Status | Meaning | Body |
|---|---|---|
200 | Successful response. | Schema below |
400 | Invalid, unknown or repeated parameters, or an invalid cursor. | Error object |
401 | Missing or invalid API key. | Error object |
403 | The plan, dataset release or account state does not allow this request. | Error object |
422 | The request is valid but no data exists for it. | Error object |
429 | Rate limit, burst limit or cooldown; wait Retry-After seconds.Retry-After | Error object |
500 | Internal error. | Error object |
503 | Data temporarily unavailable; retry after Retry-After seconds.Retry-After | Error object |
504 | The request timed out. | Error object |
Authenticated responses carry the X-RateLimit-* headers (see rate limits); 429 and 503 add Retry-After.
200 response body
dataarray<object>required8 fields insideacronymstring | nullrequiredCommon abbreviation.idintegerrequiredNumeric exchange id used on trades and quotes.micstring | nullrequiredMarket identifier code (ISO 10383).namestringrequiredVenue name.operating_micstring | nullrequiredMarket identifier code of the operator.participant_idstring | nullrequiredId the consolidated feeds use for this venue.typestringrequiredKind of venue.exchangetrfsiporfurlstring | nullrequiredVenue website.
metaobjectrequiredMeta object
Example response
{
"data": [
{
"acronym": "NYSE",
"id": 10,
"mic": "XNYS",
"name": "New York Stock Exchange",
"operating_mic": "XNYS",
"participant_id": "N",
"type": "exchange",
"url": "https://www.nyse.com"
}
],
"meta": {
"as_of": 1760659200123,
"coverage": {
"complete": true
},
"delay_ms": 0,
"delayed": false,
"request_id": "0199f0c2-5a1e-7c3b-9d4e-2b6f8a1c3d5e",
"source": "sip"
}
}Values are illustrative. Missing values are null, never 0.