Skip to main content
POST
Batch positions for one token across wallets

Authorizations

X-API-Key
string
header
required

Preferred for swaps-api endpoints (/swaps/*, /stats/*, /trending, /pool-events).

Path Parameters

token
string
required

Token mint address (base58).

Query Parameters

pnl_mode
enum<string>
default:adjusted

PnL accounting mode. strict (FIFO) and adjusted (weighted-avg cost) are realized-PnL figures; raw is net cash-flow (Σ sells − Σ buys), not realized PnL. Unknown values fall back to adjusted.

Available options:
raw,
strict,
adjusted

Body

application/json
wallets
string[]
required
Required array length: 1 - 200 elements

Response

Batch positions

token
string
pnl_mode
string
count
integer
positions
(object | null)[]

Same shape as PnlPosition but keyed on wallet (the mint key is removed and wallet inserted). Returned by token-scoped endpoints.