The TradeXtool API

Read your strategies, signals, runs, positions and our candles from your own code, and queue a backtest. Part of Pro.

Getting a token

Console → Workspace → API tokens → New token. The token is shown once. Send it on every request:

curl -H "Authorization: Bearer tx_your_token" \
  https://tradextool.com/api/v1/me

Up to 120 requests a minute per token, five tokens per account. A token only ever sees its own account and the strategies shared in its workspace.

What you can call

CallWhat comes back
GET /api/v1/meAccount, plan and workspace.
GET /api/v1/strategiesYour strategies plus the ones shared in your workspace.
GET /api/v1/strategies/{id}One strategy, including every rule.
GET /api/v1/runsEverything you have running, with mode and status.
GET /api/v1/signals?since_id=0Signals: symbol, entry, exit, stop, with the candle time. Poll with the last id you saw.
GET /api/v1/positions?status=openOpen and closed positions with their result.
GET /api/v1/instruments?market=stocksWhat you can trade: crypto pairs or US stocks and ETFs.
GET /api/v1/candles?symbol=AAPL&timeframe=1d&limit=500Our own history: five years, checked nightly for gaps.
POST /api/v1/backtests?strategy_id=12&days=1825Queues a backtest and gives you an id.
GET /api/v1/backtests/{id}Status, and when it is done: result, costs and the buy-and-hold comparison.

An example

{
  "ok": true,
  "signals": [
    {"id": 812, "run_id": 44, "symbol": "AAPL", "kind": "entry", "side": "long",
     "price": 336.13, "candle_time": 1789689600000, "created_at": "2026-09-19T20:05:11Z"}
  ]
}

Every answer has ok. When something is wrong you get {"ok": false, "error": "…"} with a normal HTTP code: 401 no or wrong token, 402 your plan has no API, 404 not yours, 429 too fast.

What it cannot do

Place orders. Nothing in TradeXtool does, for anyone. The API also never returns exchange keys, passwords or another account's data.

Start free · Your tokens · Learn the indicators