GET /v2/user-pnl
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/polymarket/v2/user-pnlCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeGet a wallet's cumulative native-PnL series.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
user | query | str | required | Wallet address of the user (lowercased) example: 0x3dfb153c197d4c19d3b31c1ecd2c7b6860eeabaf |
interval | query | str1m | 1h | 6h | 24h | 1w | 1m | max | optional | Price-history window (1m/1h/6h/24h/1w/1m/max) default: 1dexample: 1d |
fidelity | query | str1d | 18h | 12h | 3h | 1h | optional | PnL series resolution example: 1d |
Response
type: object
pagination: none
sample: {
"data": "object"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/polymarket/v2/user-pnl?user=0x3dfb153c197d4c19d3b31c1ecd2c7b6860eeabaf&interval=1d&fidelity=1d"