Skip to main content
GET
Single (wallet, token) position

Authorizations

X-API-Key
string
header
required

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

Path Parameters

wallet
string
required

Wallet address (base58, 32–44 characters).

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

Response

Position (or null)

wallet
string
mint
string
pnl_mode
enum<string>

The PnL mode used. Always present, including when position is null.

Available options:
raw,
strict,
adjusted
position
object | null

Full position object (realized_breakdown always present), or null when the wallet has no open position in this token.

reconciled
boolean

Whether the position was checked against on-chain holdings. Absent when there is no position row to check.

reconciliation_source
enum<string>

Where the on-chain holdings came from: live, or unavailable when the response is not reconciled. Absent when there is no position row to check.

Available options:
live,
unavailable