provider and account values every trading guide uses.
Create a Trading API key
Open API access in the sandbox, sign in and create a Trading API key. The secret is shown once, so put it straight into your server’s secret environment asTRDRS_TRADING_API_KEY.
A Trading API key reaches market data, trading and account state for the accounts you hold. It
can’t create other keys, manage a venue or reach another person’s account. Keep it on your
server: don’t put it in browser code, mobile apps or a public repository.
Sandbox keys start with trdrs_sk_sandbox_ and expire after 30 days. Keys covers
every key and the routes it reaches.
Make your first read
Set the base URL, then read the futures catalog. It needs a valid key and changes nothing, which makes it the right first call.200 with an instruments array, one row per futures product. The key works.
While a release restarts the sandbox, a request can wait a few seconds or answer
503
engine_starting; send it again.
Open a Demo to trade
Your own Demo is the account to build against. It’s a practice account on the paper book, the simulated market trdrs runs on live prices, and it opens with 100,000 US dollars that aren’t real. Open the sandbox trading app, sign in with the same identity that owns your key, and open a Demo. It trades perpetuals and dated futures contracts. Make your first trades in the sandbox on a perpetual, such asHYPERLIQUID:BTC. Its prices come
from a provider’s public data, so it needs no login beyond your trdrs sign-in. Futures prices are
licensed to each user and come only from your own login at a provider that carries them, which
Providers lists. No login the sandbox connects carries futures prices, so a Demo
there can’t price futures.
In production, with a futures login connected, your Demo also trades futures while the CME
session is open: the dated contracts it lists, such as
ESZ6 for the December 2026 E-mini S&P
500, and the continuous futures they make, such as ES1!, which trade the listed contract at
their position. It prices them from your own market-data session at trdrs, which opens when you
chart or trade futures while you’re signed in. A Trading API key opens no session of its own, so
an order it sends that must fill now is refused as market_data_unavailable while no session is
open.Find the account
List the accounts your key can reach. Each row names the provider inprovider, the account in
accountNumber, and what the account supports in capabilities. The
TypeScript SDK isn’t published, so call the route over HTTP, as the curl
example does. The TypeScript example shows the same call through the SDK’s client, constructed
with your Trading API key.
provider set to paper and an accountNumber that starts with DEMO-.
Any other account you’ve connected, such as an evaluation account a venue issued you or an account
at another provider, appears as its own row. List the built-in
providers returns every
provider and how it is signed into.
Save the row you’ll trade as two variables. Every trading guide sends them as the provider and
account query parameters, so each call acts on exactly that account.
Next steps
Place your first order
Send an order with a take profit and a stop loss attached, then confirm what the account holds.
Find symbols
Search the catalog and read how an instrument is priced before you chart or trade it.
Stream live data
Follow live bars and the account over one connection each.
Build a front end
Put your own screens over the API, with your keys kept on your server.