Polymarket Endpoints

Polymarket Wallet Profit-and-Loss API

Wallet PnL returns realized and unrealized profit-and-loss across 1d, 7d, and 30d windows, proxied from data-api.polymarket.com.

GET/api/v2/polymarket/wallet/{wallet_address}/pnlTry It

Get Polymarket wallet PnL

Realized profit-and-loss for a Polymarket wallet address, proxied from data-api.polymarket.com.

Live GET Request

Try it

Live Response
Click Try It to run this GET request against the API.
Request
curl 'https://api.thepredictionmarkets.com/api/v2/polymarket/wallet/0x1234567890abcdef1234567890abcdef12345678/pnl' \
  -H 'X-API-Key: YOUR_TPM_API_KEY'
Response
{
  "pnl": {
    "total": 842.50,
    "realized": 842.50,
    "unrealized": 6.25,
    "periods": {
      "1d": 42.10,
      "7d": 210.50,
      "30d": 842.50
    }
  },
  "wallet_address": "0x1234567890abcdef1234567890abcdef12345678"
}

Query Parameters

NameTypeRequiredDefaultExampleDescription
wallet_addressstringYes-0x1234567890abcdef1234567890abcdef12345678Polymarket proxy wallet or EOA address in the URL path.

Response Fields

FieldTypeExampleDescription
pnl.totalnumber-Total realized PnL in USD.
pnl.realizednumber-Confirmed closed PnL.
pnl.unrealizednumber-Open mark-to-market PnL.
pnl.periodsobject-PnL broken down by 1d, 7d, and 30d windows.

Build with TPM

Get your API key

Start with Kalshi and Polymarket market data, then add unified spreads, signals, alerts, and watchlists as your workflow grows.