Skip to main content
GET
Wallet P&L time series
Returns wallet P&L buckets for charting. With period, after, or before, each row is a fixed time window (hour, day, week, or month). A running cumulative_pnl is included so the response can be plotted directly. These standard spot P&L buckets exclude separately reported trader-paid fees, rebates, and rewards. cumulative_pnl accumulates the returned P&L; it is not an after-fee account return. See Wallet P&L accounting scope and Fees Paid for the separate fee data. Event-series mode is separate from the boundary-state calculation used by time-filtered GET /v3/wallets/{address}/pnl. Each bucket sums recorded weighted-average-cost realized-P&L event deltas. It is not a historical all-time-portfolio snapshot: holdings that are only bought and held can contribute 0, even when a resolved holding contributes profit to the current all-time P&L. Baseline corrections without an event timestamp are not placed into a bucket. Without an explicit time filter, the endpoint returns a single all-time summary bucket that matches GET /v3/wallets/{address}/pnl. In event-series mode, wins, losses, and events count realized P&L events in the selected window. In default summary mode, counts are position counts and the response includes count_type: "positions" and summary_bucket: true. Rows at timestamp 0 or earlier are ignored in event-series mode, so explicit event windows start at Unix second 1.
Owner addresses. Pass an owner EOA as the wallet address and the response combines the EOA’s Polymarket wallets (Safe, proxy, deposit wallets) that have data for this endpoint. Passing a Safe, proxy or deposit wallet returns just that wallet, as before. Combined responses list the combined wallets in wallets. See Owner addresses.

Request

Query parameters

If after and period are both set, after wins.

Examples

All-time summary bucket

Daily P&L for the last 7 days

Hourly P&L for an explicit window

Weekly P&L for the last year

Response fields

Owner address fields

Present only when you pass an owner EOA. See Owner addresses. Buckets are summed per bucket across the combined wallets, and cumulative_pnl and the total_* fields cover the combined series. With period, after, or before, every wallet uses the same window, and address stays the address you passed. A wallet whose P&L is not loaded yet is left out of the combination and of wallets.

Errors

Authorizations

x-api-key
string
header
required

Path Parameters

address
string
required

Wallet address, or an owner EOA to combine every Polymarket wallet it owns

Query Parameters

group
enum<string>
default:day

Bucket size

Available options:
hour,
day,
week,
month
period
enum<string>

Time window shortcut

Available options:
1d,
7d,
30d,
1y
after
integer
default:1

Unix timestamp lower bound. Values below 1 are clamped to 1.

before
integer

Unix timestamp upper bound

limit
integer
default:1000

Maximum bucket count, clamped to 1000

Required range: 1 <= x <= 1000

Response

Wallet P&L buckets

Owner-address responses add the optional fields below. See the page for the full response.

wallets
object[]

Present only when you pass an owner EOA: the combined wallets, in a fixed order.