Skip to main content
GET
Lists one side of a trader’s book: status=open (non-zero balance, the default) or status=closed (sold out). Each position carries its lifetime PnL, live balance and value, and token_metadata covers every token on the page.
  • Sorted by sort_by (default last_trade_at) in sort_order (default desc).
  • Pages hold at most 100 positions (limit). When pagination.has_more is true, pass pagination.pagination_key back, with the same status, sort_by, sort_order and min_value_usd, to get the next page.
  • min_value_usd (open positions only) hides positions worth less than the given USD value at the live price. Tokens with no price count as worth $0.
The trader portfolio returns the first page of each list. Its active_positions_pagination and closed_positions_pagination keys continue here:

Authorizations

X-API-Key
string
header
required

Secret API key (sk_*) or JWT public key (pk_jwt_*).

Headers

x-field-names
enum<string>
default:long

Select long (full) or short (abbreviated) field names. HTTP defaults to long. Takes precedence over fields. See Response Format.

Available options:
long,
short

Query Parameters

chain
string

Chain name. Required unless chain_id is provided.

chain_id
integer<int64>

Chain id. Required unless chain is provided. Use -1 for Solana.

trader
string
required

Trader wallet address (required).

status
string

open (non-zero balance, default) or closed.

sort_by
string

last_trade_at (default), first_trade_at, pnl_usd, pnl_native, buy_usd or sell_usd.

sort_order
string

desc (default) or asc.

limit
integer

Positions per page, at most 100 (default 50).

Required range: x >= 0
pagination_key
string

Opaque key from the previous page's pagination.pagination_key.

min_value_usd
number<double>

Open positions only: hide positions whose live USD value is below this (unpriced tokens count as 0). Pass the same value on every page.

fields
enum<string>
default:long

Same as x-field-names. Use long or short. HTTP defaults to long. Ignored when the header is set. field_names is accepted as an alias.

Available options:
long,
short

Response

Trader positions

trader
string
required
status
string
required

open or closed.

positions
object[]
required
token_metadata
object[]
required

Metadata for every token in positions.

Last modified on September 27, 2026