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 free

Get a wallet's cumulative native-PnL series.

Parameters

nameintypedescription
userquerystrrequiredWallet address of the user (lowercased)
example: 0x3dfb153c197d4c19d3b31c1ecd2c7b6860eeabaf
intervalquerystr
1m | 1h | 6h | 24h | 1w | 1m | max
optionalPrice-history window (1m/1h/6h/24h/1w/1m/max)
default: 1d
example: 1d
fidelityquerystr
1d | 18h | 12h | 3h | 1h
optionalPnL 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"