Skip to main content

GET Suggest Contracts

Contract search suggestions Tradovate​

Provides contract autocomplete against Tradovate's contract database. Pass a root like ES to resolve the active front month, or a partial symbol to list matching contracts. For an exact-symbol lookup, use /v1/api/tv/contracts/find.

Endpoint​

GET /v1/api/tv/contracts/suggest?text=ES

Headers​

NameValue
Content-Typeapplication/json
AuthorizationBearer <token>

Query parameters​

NameTypeRequiredDescription
textstringRequiredRoot or partial symbol to search, e.g. ES

Code examples​

import requests

token = 'my-secret-token'

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

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

Response​

{
"success": true,
"data": [
{
"id": 3543031,
"name": "ESZ6",
"contractMaturityId": 46127,
"timestamp": "2025-01-01T00:00Z",
"status": "DefinitionChecked",
"providerTickSize": 0.25
}
]
}

Success field types​

FieldTypeDescription
successbooleantrue on success.
dataarray of objectsMatching contracts; may be empty.
data[].id, data[].contractMaturityIdintegerContract and maturity IDs.
data[].name, data[].status, data[].timestampstringSymbol, definition status and timestamp.
data[].providerTickSizefloatProvider 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.