Skip to the article
en
Get started
en

API tokens

A read-only API for a bot or a channel. It reads one paper account, in percent, and cannot change anything.

Updated Nov 3, 2026 1 min read Open in the dashboard
On this page
  1. 01What a token can do
  2. 02Create a token
  3. 03Requests
  4. 04Endpoints
  5. 05A channel bot in three steps

What a token can do

A token reads one paper account: closed trades, open positions, statistics and PnL cards. Everything is in percent, never in amounts. It cannot place, change or cancel anything.

Create a token

  1. Have a paper account

    Tokens read a paper account, so create one first.

  2. Open Settings → API

    Name the token and choose the account it reads.

  3. Copy it right away

    It is shown only once. If you lose it, revoke it and make a new one.

API tokens in Settings

Anything using a revoked token stops working at once.

Requests

The base URL is https://tarvis.trade/api/v1/agent. Every request sends the header Authorization: Bearer <token>. Times are UTC ISO 8601, ids are stable, and you can make up to 120 requests a minute per token.

bash
curl -H "Authorization: Bearer $TOKEN" https://tarvis.trade/api/v1/agent/me

Endpoints

EndpointWhat it returns
/trades/closed?since_id=&limit=New closed trades after since_id, oldest first. Poll this.
/trades/{id}?lang=en|ruOne trade, why it entered and exited, and its fills
/trades/{id}/card.png?theme=&lang=&size=The PnL card, ready for Telegram
/positions/openWhat the account holds now
/stats?period=7d|30d|allWin rate, profit factor, drawdown, return, overall and per strategy
/equity?from=&to=&interval=1h|1dThe equity curve, in percent from the first point
/equity/card.png?period=The equity curve as a card
/market/candles?symbol=&interval=&from=&to=Candles, if you draw your own chart
/meWhether this token is live

A channel bot in three steps

  1. Poll for new trades

    Call /trades/closed with the last id you have seen, as often as once a minute.

  2. Fetch the card

    For each new trade, download /trades/{id}/card.png.

  3. Post it

    Send the picture to your channel, with your own words beside it.

Tarvis non-custodial

Intelligence Behind Every Trade. Tarvis trades on your own account with a trade-only key. We can never withdraw.

en
Tarvis · Intelligence Behind Every Trade · 2026
we can trade, never withdraw

Tarvis provides software tools that execute strategies you select and configure on your own exchange account via a trade-only key. It is not investment, financial, legal or tax advice, and Tarvis does not take custody of, manage, or exercise discretion over your money — you make all trading and allocation decisions and can stop the platform at any time. Trading crypto assets and derivatives involves substantial risk, including the total loss of capital; no strategy is guaranteed and past or hypothetical performance is not indicative of future results. Tarvis is not available where prohibited by law, and you are solely responsible for determining your eligibility to use it and any exchange in your jurisdiction.