GET Find Contract
- NT8
- Tradovate
NinjaTrader 8
There is no equivalent NT8 endpoint that resolves an exact contract symbol into a contract reference record. If you already know the full NT8 instrument name, GET Quote returns its current quote and contract metadata.
The Tradovate endpoint on this page is REST-only. The WebSocket API applies to supported CrossTrade NT8 add-on routes, not this Tradovate route.
Find a contract by symbol Tradovate
Resolves one contract by its exact Tradovate symbol (for example ESZ6). If you only know the root (like ES) and need the active front month, use /v1/api/tv/contracts/suggest instead.
Endpoint
GET /v1/api/tv/contracts/find?name=ESZ6
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Required | Exact Tradovate contract symbol, e.g. ESZ6 |
Code examples
- Python
- JavaScript
- cURL
import requests
token = 'my-secret-token'
url = "https://app.crosstrade.io/v1/api/tv/contracts/find"
headers = {
"Authorization": f"Bearer {token}",
"Content-Type": "application/json"
}
response = requests.get(url, headers=headers, params={"name": "ESZ6"})
print(f"Response Code: {response.status_code}, Response Text: {response.text}")
const token = 'my-secret-token';
const url = "https://app.crosstrade.io/v1/api/tv/contracts/find?name=ESZ6";
fetch(url, {
method: "GET",
headers: {
"Authorization": `Bearer ${token}`,
"Content-Type": "application/json"
}
})
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err));
TOKEN="my-secret-token"
curl -X GET "https://app.crosstrade.io/v1/api/tv/contracts/find?name=ESZ6" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json"
Response
- 200
- 400
- 401
- 403
- 429
- 500
- 502
- 503
{
"success": true,
"data": {
"id": 3543031,
"name": "ESZ6",
"contractMaturityId": 46127,
"timestamp": "2025-01-01T00:00Z",
"status": "DefinitionChecked",
"providerTickSize": 0.25
}
}
{
"success": false,
"error": "name_required"
}
{
"success": false,
"error": "inactive_subscription"
}
{
"success": false,
"error": "tradovate_not_linked"
}
// retryAfter is integer seconds; also sent as Retry-After.
{
"success": false,
"error": "rate_limited",
"detail": "CrossTrade API rate limit exceeded (180 requests/min per user). Retry after 1s.",
"retryAfter": 1
}
{
"success": false,
"error": "internal_error"
}
{
"success": false,
"error": "tradovate_unavailable",
"detail": "Tradovate is temporarily unavailable. Please try again shortly."
}
{
"success": false,
"error": "temporarily_disabled"
}
Success field types
| Field | Type | Description |
|---|---|---|
success | boolean | true on success. |
data | object | Contract record; can be empty if no match. |
data.id, data.contractMaturityId | integer | Contract and maturity IDs. |
data.name, data.status, data.timestamp | string | Symbol, definition status and timestamp. |
data.providerTickSize | float | Provider tick increment. |
Platform nuances
Authentication uses the same bearer token as the rest of the CrossTrade API and requires a plan with API access (Pro) plus a linked Tradovate account. Unlinked users receive 403 tradovate_not_linked.
This endpoint is REST-only and has no WebSocket equivalent.