Skip to main content

GET Exchanges

Returns Tradovate's exchange reference list for mapping contract and product records.

NinjaTrader 8Not available
No equivalent NT8 endpoint

This route is specific to linked Tradovate accounts.

TradovateREST only
GET /v1/api/tv/exchanges

Runs server-side for a linked Tradovate account, so NinjaTrader can be closed. Tradovate does not currently use the CrossTrade WebSocket API. See the Tradovate API guide.

Get exchanges

GET /v1/api/tv/exchanges

Returns the Tradovate exchange reference list. Handy for mapping the exchange ids that appear on contract and product records from /v1/api/tv/contracts/find and /v1/api/tv/contracts/suggest.

Auth is the same bearer token as the rest of the CrossTrade API, on a plan with API access (Pro), plus a linked Tradovate account. Unlinked users receive 403 tradovate_not_linked.

Headers

NameValue
Content-Typeapplication/json
AuthorizationBearer <token>

Code Examples

import requests

token = 'my-secret-token'

url = "https://app.crosstrade.io/v1/api/tv/exchanges"
headers = {
"Authorization": f"Bearer {token}",
"Content-Type": "application/json"
}

response = requests.get(url, headers=headers)
print(f"Response Code: {response.status_code}, Response Text: {response.text}")

Response

{
"success": true,
"data": [
{ "id": 1, "name": "CME" },
{ "id": 2, "name": "CBOT" },
{ "id": 3, "name": "NYMEX" },
{ "id": 4, "name": "COMEX" }
]
}

Rows are raw Tradovate exchange records and may carry additional fields.