Authorizations
Query Parameters
Optional flag to filter positions. Set to true
to return only active positions (tokens with remaining balance > 0), or false
to return only inactive positions (balance = 0). If omitted, all positions are returned.
Body
Request payload for querying positions.
Response
A successful response containing the user's positions.
The token mint address associated with this position.
Total amount of SOL spent buying this token (in lamports).
Total USD value spent buying this token, based on SOL price at the time of transactions.
Total number of tokens purchased (in smallest units).
Total amount of SOL received from selling this token (in lamports).
Total USD value received from selling this token, based on SOL price at the time of transactions.
Total number of tokens sold (in smallest units).
Current remaining token balance for this token (in smallest units).
Number of decimal places used by the token (e.g., 9 for SOL).
Timestamp of the first trade related to this token position (ISO 8601 format).
Timestamp of the latest trade related to this token position (ISO 8601 format).