Your resting paper orders
get/v1/me/paper/orders
https://data.decryptr.ai/v1/me/paper/orders
- API planFree, and every plan above it. Data is 60 minutes behind live on this plan.
- Scope
paper:read - Cost1 unit of quota for each item returned, at least 1. How units are counted
Rate limits by plan
| Plan | Units a month | Per second | Per minute | Most per request |
|---|---|---|---|---|
| Free | 1,000 | 2 | 20 | 10 |
| Pay as you go | Agreed | 15 | 300 | 50 |
| Enterprise | Agreed | Agreed | Agreed | Agreed |
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.
- 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
Your pending limit and stop orders, newest first. They hold margin until they fill, expire or are cancelled.
Cost: 1 unit of quota for each item returned, at least 1.
Needs scope paper:read, which is off unless you switch it on for this key in the developer portal. Any plan.
AuthorizationBearer <dcr_live_<8 hex>_<43 base64url> or dcr_test_...>Your API key as a Bearer token: Authorization: Bearer dcr_live_....
account_id?stringOnly this paper account. Omit for every account.
uuidcursor?stringnext_cursor from the previous page, passed back as it is. Opaque: do not build or change it.
length <= 300limit?integerItems to return, 1 to 100. Your plan caps one request at its page size (Developer 10, Starter 25, Pro 50, Business 100). Default 20, or that cap if lower. Each item costs 1 unit of quota.
1 <= value <= 100OK.
application/json- response
data*array<>next_cursor*|Pass as cursor for the next page. null when this is the last page.
as_of*stringWhen the response was made.
date-timedisclaimer*stringPlain-language notice. Paper trading is simulated and is not advice.
curl -X GET 'https://data.decryptr.ai/v1/me/paper/orders?account_id=00000000-0000-4000-b000-000000000001&cursor=eyJ0IjoiMjAyNi0xMC0zMFQxMTo0NToxMC4xMjM0NTYrMDA6MDAiLCJpZCI6IjAwMDAwMDAwLTAwMDAtNDAwMC1iMDAwLTAwMDAwMDAwMDAwMiJ9&limit=10'{ "data": [ { "id": "00000000-0000-4000-b000-000000000003", "account_id": "00000000-0000-4000-b000-000000000001", "account_name": "Logged", "coin": "BTC", "venue": "hyperliquid", "market": "BTC", "side": "long", "leverage": 5, "status": "pending", "order_type": "limit", "trigger_px": 64000, "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": null, "exit_px": null, "size": null, "max_size": null, "entry_notional": null, "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": null, "low_px": null, "fees_usd": 0, "funding_usd": null, "realised_usd": 0, "pnl_usd": null, "pnl_pct": null, "order_size_usd": 1000, "runup_pct": null, "drawdown_pct": null, "r_multiple": null, "duration_s": 920 } ], "next_cursor": null, "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."}Your open paper positions GET
Your open paper trades, newest first, across every account or one. Each has its entry price, size, stop, targets and trailing stop; the trade, not the position, is the unit here, so a market has at most one open trade per account. Cost: 1 unit of quota for each item returned, at least 1. Needs scope `paper:read`, which is off unless you switch it on for this key in the developer portal. Any plan.
Place a paper order POST
Opens a paper trade now (`market`, the default), or rests a `limit` or `stop` order that fills when the price reaches `trigger_px` (it holds margin meanwhile; it can be given an `expires_at`). Give `coin`, or `venue` and `market` for a market that is not a Hyperliquid perp (`coinbase` or `dex`). `size_usd` and `leverage` size it; `stop`, `targets` (up to 5), `target_fractions` (the share of the trade each target closes, same length as targets) and `trail_pct` (a trailing stop, 0.1 to 50 percent) are optional. `account_id` picks the paper account; omit it for your first account. The account's fees, slippage and leverage cap apply, and the same rules as the app: one open or resting trade per market per account, up to 20 resting orders, a limit long below the price, a stop long above it. The fill price is read by Decryptr from the venue at the moment of the request. You cannot send a price. Send an `Idempotency-Key` header to make a retry safe: repeating the same request with the same key within 24 hours returns the first answer (with `Idempotent-Replayed: true`) and changes nothing more. Cost: 1 unit of quota. Also counts against the per-key write limit (60 a minute). Needs scope `paper:trade`, which is off unless you switch it on for this key in the developer portal. Any plan.