v1

latestOpenAPI 3.0.32026-07-2618063.1 KB

Get Wallet PnL

Fetches the REALIZED profit and loss (PnL) for a specific wallet address over a specified time range and granularity. Note: This will differ to what you see on Polymarket's dashboard since Polymarket showcases historical unrealized PnL. This API tracks realized gains only - from either confirmed sells or redeems. We do not realize a gain/loss until a finished market is redeemed.

get/polymarket/wallet/pnl/{wallet_address}

Query parameters

granularity'day' | 'week' | 'month' | 'year' | 'all' required
Example:day
start_timeinteger
Example:1726857600

Defaults to first day of first trade if not provided.

end_timeinteger
Example:1758316829

Defaults to the current date if not provided.

Response

PnL response

granularitystring
start_timeinteger
end_timeinteger
wallet_addressstring

Example response

{
  "granularity": "day",
  "start_time": 1726857600,
  "end_time": 1758316829,
  "wallet_address": "0x7c3db723f1d4d8cb9c550095203b686cb11e5c6b",
  "pnl_over_time": [
    {
      "timestamp": 1726857600,
      "pnl_to_date": 2001
    }
  ]
}