Skip to main content
GET
/
v2
/
polymarket
/
wallet
/
pnl
/
{wallet}
Get Wallet Pnl
curl --request GET \
  --url https://api.predexon.com/v2/polymarket/wallet/pnl/{wallet} \
  --header 'x-api-key: <api-key>'
{
  "granularity": "day",
  "start_time": 123,
  "end_time": 123,
  "wallet_address": "<string>",
  "pnl_over_time": [
    {
      "timestamp": 123,
      "pnl_to_date": 123
    }
  ],
  "realized_pnl": 123,
  "unrealized_pnl": 123,
  "fees_paid": 123,
  "fees_refunded": 123,
  "total_pnl": 123
}
Returns both a summary (realized, unrealized, fees) and a time series of cumulative realized P&L. Summary fields (current snapshot):
  • realized_pnl — Total realized P&L from sells and redemptions
  • unrealized_pnl — Unrealized P&L computed live from open positions
  • total_pnlrealized_pnl + unrealized_pnl
  • fees_paid / fees_refunded — Taker fees paid and maker rebates received
Time series (pnl_over_time):
  • Shows realized P&L only — does not include unrealized gains/losses
  • Each data point is cumulative realized P&L at that timestamp
Use condition_id query param to filter to a specific market. This correctly handles split/merge operations by aggregating both sides.
Rolling total PnL accuracy timeline — Total PnL (realized + unrealized - net fees) uses rolling windows that need time to accumulate full data:
  • All-time total PnL: accurate immediately (February 10, 2026)
  • 1-day rolling total PnL: fully accurate starting February 11, 2026
  • 7-day rolling total PnL: fully accurate starting February 17, 2026
  • 30-day rolling total PnL: fully accurate starting March 12, 2026

Authorizations

x-api-key
string
header
required

Path Parameters

wallet
string
required

Wallet address to fetch PnL for

Query Parameters

granularity
enum<string>
required

Time granularity for PnL data

Available options:
day,
week,
month,
year,
all
start_time
integer | null

Unix timestamp (seconds) for start of range

end_time
integer | null

Unix timestamp (seconds) for end of range

condition_id
string | null

Filter to a specific market by condition ID

Response

Successful Response

Wallet PnL endpoint response.

granularity
enum<string>
required

PnL granularity enum.

Available options:
day,
week,
month,
year,
all
start_time
integer
required
end_time
integer
required
wallet_address
string
required
pnl_over_time
PnLDataPoint · object[]
required
realized_pnl
number | null

Current total realized PnL (USD)

unrealized_pnl
number | null

Current unrealized PnL (USD), computed live from positions

fees_paid
number | null

Total taker fees paid (USD)

fees_refunded
number | null

Total maker rebates received (USD)

total_pnl
number | null

realized + unrealized - fees_paid + fees_refunded (USD)