Get closed positions

GET /api/v1/market-data/closed-positions

Get closed positions

get

Returns a paginated list of historically closed outcome token positions for a wallet. Includes realised PnL, whether the position was a winner, and claim/finalisation status.

Query parameters
userstringRequired

Wallet address

marketstringOptional

Comma-separated market addresses to filter by

question_idstringOptional

Comma-separated question IDs to filter by

claimedstringOptional

Claim status filter. 'true' returns positions the user has already claimed. 'false' returns positions that still need claiming (finalised winning outcomes the user held to resolution but has not yet claimed). Omit to include all closed positions, including those exited by trading before finalisation.

limitintegerOptional

Limit (default 10, max 50)

offsetintegerOptional

Offset (default 0, max 100000)

Responses
200

OK

application/json
get
/api/v1/market-data/closed-positions

Last updated