Skip to main content
POST
SDK

SDK Example

Authorizations

x-api-key
string
header
required

API Key for authentication

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
pairs
object[]
required

Array of {wallet, token} objects. Max 200.

Maximum array length: 200
Example:

Response

Positions found. Pairs with no matching record appear in notFound.

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

Number of positions returned

positions
object[]
notFound
object[]

Pairs with no matching position record

invalid
object[]

Pairs that failed Base58 validation. Omitted when empty.