Retrieve closed (settled) positions for a wallet via Polymarket Data API.
Returns positions that have been closed — either because the market resolved or the agent fully exited. The endpoint proxies Polymarket Data API and supports keyword filtering, sorting and pagination.Documentation Index
Fetch the complete documentation index at: https://docs.aionmarket.com/llms.txt
Use this file to discover all available pages before exploring further.
user filter.conditionId filter; supports comma-separated values. Mutually exclusive with eventId.REALIZEDPNL, TITLE, PRICE, AVGPRICE, TIMESTAMP.ASC, DESC.polymarket.conditionId, tokenId, outcome, size, avgPrice, settlement price and realised PnL.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Wallet address (EVM or Solana depending on venue)
Trading venue (default: polymarket)
50Market condition ID filter (comma-separated for multiple)
Filter by market title keyword (max 100 chars)
100Results per page (default 10, max 50)
0 <= x <= 50Pagination offset (default 0)
0 <= x <= 100000Sort field
REALIZEDPNL, TITLE, PRICE, AVGPRICE, TIMESTAMP Sort direction
ASC, DESC