Skip to main content
POST
POST /v1/wallet/closed-positions · 2 per wallet credits Batch twin: up to 20 wallets per call, response array in input order. Each slot is { data, hasMore, oldestAt }, the body of the single GET for that wallet, or { error } when that wallet failed, so one wallet never fails the others. limit, offset and sort apply to every wallet of the call. Billed per wallet.
A slot’s data, hasMore and oldestAt are exactly what GET /v1/wallet/closed-positions returns for that wallet with the same options; see that page for the row fields.

Authorizations

Authorization
string
header
required

Your raw API key (not needed on the demo server).

Body

application/json
items
object[]
required

[{ "wallet": "…", "chain": "…" }] - 1 to 20 wallets, EVM and Solana mixed freely; chain optional (omit for all EVM chains).

Required array length: 1 - 20 elements
limit
integer
default:30
required

Page size per wallet, 1-100. Default 30.

Required range: 1 <= x <= 100
Example:

30

offset
integer
default:0
required

Rows to skip per wallet. Default 0.

Required range: x >= 0
Example:

0

sort
enum<string>
default:lastTradeAt

lastTradeAt (default) or pnl, applied to every wallet.

Available options:
lastTradeAt,
pnl
Example:

"lastTradeAt"

Response

200

Standard { data, meta } envelope.