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 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
| Name | Type | Required | Default | Example | Description |
|---|---|---|---|---|---|
| wallet_address | string | Yes | - | 0x1234567890abcdef1234567890abcdef12345678 | Polymarket proxy wallet or EOA address in the URL path. |
Response Fields
| Field | Type | Example | Description |
|---|---|---|---|
| pnl.total | number | - | Total realized PnL in USD. |
| pnl.realized | number | - | Confirmed closed PnL. |
| pnl.unrealized | number | - | Open mark-to-market PnL. |
| pnl.periods | object | - | 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.