Skip to main content
POST
SDK

SDK Example

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

wallet
string
required

Solana wallet address (base58, 32-44 characters).

Pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$

Query Parameters

pnlMode
enum<string>
default:strict

How to treat positions flagged by the invalid PnL heuristic. strict zeros them out, adjusted caps them to a cost-basis-aware value, and raw leaves realized PnL untouched. Aliases pnl_mode and mode are also accepted by the API.

Available options:
strict,
adjusted,
raw

Body

application/json
tokens
string[]
required

Token mint addresses to look up. Max 100.

Maximum array length: 100
Example:

Response

Positions found. Tokens the wallet never traded appear in notFound.

wallet
string
identity
object

Unified wallet identity. Only fields with known values are returned; a wallet can carry multiple tags at once.

pnlMode
enum<string>
Available options:
strict,
adjusted,
raw
count
integer

Number of positions returned

positions
object[]
notFound
string[]

Token mints with no position for this wallet

invalid
string[]

Addresses that failed Base58 validation. Omitted when empty.