Get a Tradovate API Access Token
Need to authenticate against the Tradovate API? This guide walks you through trading your credentials for a Bearer access token, one step at a time.
On This Page
Need to authenticate against the Tradovate API? Whether you're wiring up a trading bot, pulling account data, or connecting automation like PickMyTrade, this guide walks you through trading your credentials for a Bearer access token, one step at a time.
What Is a Tradovate API Access Token?
An access token authorizes API requests for the account permissions granted to it. Protected REST requests use an Authorization: Bearer header. WebSockets use the protocol’s authorize message after connection; they do not attach that header to every message. Follow the official authentication and WebSocket documentation.
Getting a Tradovate Access Token: Step by Step
Enable API Access and Grab Your Key (cid) and Secret (sec)
Before you can request a token, your account needs the API Access add-on switched on. That gives you an API Key, which becomes your cid (client ID), and an API Secret, which becomes your sec. Haven't set that up yet? Run through Get Tradovate API Access & Generate a Key first, then come back here with your cid and sec in hand.
Build the accessTokenRequest Payload
Build the JSON payload using the issued application credentials and the fields documented for your integration, including name, password, appId, appVersion, cid, sec and deviceId as applicable. Keep credentials and tokens out of browser code, shared logs and screenshots.
POST to the accesstokenrequest Endpoint
POST the payload to /v1/auth/accesstokenrequest on the environment authorized for the account. Do not select live solely because a prop account is called funded; confirm the actual environment with the provider.
Read the Access Token From the Response
Check the response for errors and a valid accessToken. Store its expirationTime securely. Do not assume every response includes mdAccessToken or grants market-data access; entitlements and licensing are separate.
Send the Token as a Bearer Header, and Renew Before It Expires
Use the Bearer header for protected REST requests and authorize the WebSocket connection with its documented message. Renew before the returned expirationTime using GET /v1/auth/renewaccesstoken, then retain the returned token and expiry. Avoid repeatedly creating sessions to keep a token alive.
When This Is Useful
- Build or debug a custom trading bot or dashboard on Tradovate's API.
- Stream real-time quotes over the Tradovate WebSocket feed.
- Place, modify, or flatten orders programmatically.
- Wire a third-party tool or webhook bridge into your account.
- Pull account, fill, and position data for journaling or analytics.
Connect TradingView Alerts to Tradovate
Use PickMyTrade to connect TradingView alerts to your Tradovate account. Review your account permissions and test your setup before trading live.
Start Your Free 7-Day TrialFrequently Asked Questions
Use the expirationTime returned by the API and renew before it expires. Do not rely only on a hard-coded timer.
No. Authentication, account permissions and market-data entitlement are separate. Check the requirements for your integration.
Use the environment assigned to the account. A simulated funded prop account is not necessarily a live brokerage account.
This guide is for educational and informational purposes only and is not financial, investment, or trading advice. Trading futures and other leveraged products carries a substantial risk of loss and is not suitable for every investor. PickMyTrade is an independent third-party automation platform and is not affiliated with, endorsed by, or sponsored by Tradovate, Inc. "Tradovate" and all related names, logos, and trademarks are the property of their respective owners. Platform features and steps change over time, so always confirm the current process in the official Tradovate platform and documentation before acting.