Skip to main content

GET Tradovate Status

Returns the link status for your Tradovate identities: whether an identity is linked, its environment (demo or live), and when its access token expires. It is useful as a first call to confirm the Tradovate API is ready before reading or trading.

Endpoint​

GET /v1/api/tv/status

Headers​

NameValue
Content-Typeapplication/json
AuthorizationBearer <token>

Code examples​

import requests

token = 'my-secret-token'

url = "https://app.crosstrade.io/v1/api/tv/status"
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": {
"linked": true,
"environments": [
"demo"
],
"countByEnv": {
"demo": 1
},
"identities": [
{
"environment": "demo",
"userId": "12345",
"name": "Demo identity",
"expires": "2026-10-27T18:00:00Z",
"expiresInSeconds": 3600,
"authFailure": null,
"linked": "2026-10-01T12:00:00Z",
"updated": "2026-10-27T17:00:00Z"
}
],
"environment": "demo",
"userId": "12345",
"expires": "2026-10-27T18:00:00Z",
"expiresInSeconds": 3600
}
}

Success field types​

FieldTypeDescription
success, data.linkedbooleanRequest and link status.
dataobjectLink summary.
data.environmentsarray of stringsLinked environments.
data.countByEnvobjectEnvironment counts; absent environments may be omitted.
data.countByEnv.demo, data.countByEnv.liveintegerLinked identity counts.
data.identitiesarray of objectsPer-identity link metadata.
data.identities[].environment, data.identities[].userIdstringEnvironment and identity ID.
data.identities[].name, data.identities[].authFailurestring or nullDisplay name and authentication-failure text.
data.identities[].expires, data.identities[].linked, data.identities[].updatedstringISO 8601 timestamps.
data.identities[].expiresInSecondsintegerRemaining authorization lifetime.
data.environment, data.userId, data.expiresstringConvenience fields for the selected identity.
data.expiresInSecondsintegerSelected identity's remaining lifetime.

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.