Don't invest unless you're prepared to lose all the money you invest. This is a high-risk investment and you should not expect to be protected if something goes wrong. Take 2 mins to learn more.

DecryptrDevelopers
Paper trading

One paper trade with its events

get/v1/me/paper/trades/{id}

https://data.decryptr.ai/v1/me/paper/trades/{id}

  • API planFree, and every plan above it. Data is 60 minutes behind live on this plan.
  • Scopepaper:read
  • Cost1 unit of quota, also when not found. How units are counted

Rate limits by plan

PlanUnits a monthPer secondPer minuteMost per request
Free1,00022010
Pay as you goAgreed1530050
EnterpriseAgreedAgreedAgreedAgreed

A 429 carries the full rate-limit header set and a Retry-After. Rate limits

Errors

  • 400The request was refused before any data was read. Nothing is charged.
  • 401No usable key. Nothing is charged.
  • 402The account cannot use the API until billing is sorted. Nothing is charged.
  • 403The key may not use this endpoint. Nothing is charged.
  • 404No such item. A lookup is still charged what it asked for.
  • 429A limit was reached (calls or streams). Nothing was read and nothing is charged. Wait Retry-After seconds, back off with jitter, or ask for fewer items.
  • 500Something failed on our side. Nothing is charged. Retry with backoff.
  • 503The API is switched off, busy, or a query ran too long. Nothing is charged. Retry after Retry-After seconds.

Errors follow RFC 9457. Every error code

One of your paper trades with every event on it, oldest first: the order, the fill, adds, partial closes, stop and target hits, trailing stop moves and the close.

Cost: 1 unit of quota, also when not found.

Needs scope paper:read, which is off unless you switch it on for this key in the developer portal. Any plan.

Authorization

headerAuthorizationBearer <dcr_live_<8 hex>_<43 base64url> or dcr_test_...>

Your API key as a Bearer token: Authorization: Bearer dcr_live_....

Path Parameters

id*string

Paper trade id.

Formatuuid

Response Body

OK.

application/json
  1. response
data*
as_of*string

When the response was made.

Formatdate-time
disclaimer*string

Plain-language notice. Paper trading is simulated and is not advice.

curl -X GET 'https://data.decryptr.ai/v1/me/paper/trades/00000000-0000-4000-b000-000000000002'
Example Response
{  "data": {    "trade": {      "id": "00000000-0000-4000-b000-000000000002",      "account_id": "00000000-0000-4000-b000-000000000001",      "account_name": "Logged",      "coin": "BTC",      "venue": "hyperliquid",      "market": "BTC",      "side": "long",      "leverage": 5,      "status": "open",      "order_type": "market",      "trigger_px": null,      "expires_at": null,      "opened_at": "2026-10-30T11:45:10.123456+00:00",      "closed_at": null,      "ended_at": null,      "close_reason": null,      "cancel_reason": null,      "open_px": 65000,      "close_px": null,      "entry_px": 65000,      "exit_px": null,      "size": 0.0153846,      "max_size": 0.0153846,      "entry_notional": 1000,      "stop": 62000,      "initial_stop": 62000,      "targets": [        68000,        70000      ],      "target_fractions": [        0.5,        0.5      ],      "targets_hit": 0,      "trail_pct": null,      "trail_stop": null,      "high_px": 65400,      "low_px": 64900,      "fees_usd": 0,      "funding_usd": null,      "realised_usd": 0,      "pnl_usd": null,      "pnl_pct": null,      "order_size_usd": null,      "runup_pct": 0.6154,      "drawdown_pct": -0.1538,      "r_multiple": null,      "duration_s": 920    },    "events": [      {        "seq": 41,        "at": "2026-10-30T11:45:10.123456+00:00",        "kind": "open",        "actor": "user",        "price": 65000,        "size": 0.0153846,        "stop": 62000,        "targets": [          68000,          70000        ],        "fee": null,        "amount": null,        "meta": {}      }    ]  },  "as_of": "2026-10-30T12:00:30.000Z",  "disclaimer": "Paper trading: simulated trades with no real money. Nothing here is financial advice or a recommendation."}