Endpoints

The Tradier API has two environments for our users to utilize. The production environment is for trading and real-time market data related to your live account. The sandbox is a paper trading account to test your integration with our API, including working with delayed market data and paper trades. All Tradier users are issued API tokens for both their live and sandbox accounts, both of which can be retrieved from your account API settings.


Our endpoints require SSL encryption (TLS 1.2) and SNI support. Each endpoint corresponds to a particular product or service. All requests should be made using HTTPS.


Brokerage API (Live)

You must have a Tradier Brokerage account, be a Tradier Partner, or a Tradier Advisor to use these APIs.


Request/Response

Calls such as those for quotes, account details, or trades will utilize this URL as a base:

https://api.tradier.com/v1/

Streaming

Streaming live data such as trades, quotes, etc, will utilize this URL:

https://stream.tradier.com/v1/


Sandbox API

Primarily used for paper trading accounts, you must sign up for a Tradier Brokerage account and create a paper trading access token to use these APIs.


Request/Response

https://sandbox.tradier.com/v1/


CORS Support

All Brokerage APIs (except OAuth exchanges) support CORS requests. That means you can make requests directly from a web browser without requiring a backend service. For more information about CORS and how you can use it in your applications, see the links below:

CORS Specification
CORS Tutorials enable-cors.org MDN HTTP Access Control

Versioning

Tradier's API is set up to be versioned via a path parameter. Versioning is something we'll use at our discretion and we'll communicate adequately in advance of breaking-changes or sunsetting versions. Note that there is a beta version that is present for the fundamental market data APIs.