Polymarket

List Polymarket user profit over time

List a Polymarket wallet's profit and loss over time.

GET/v1/polymarket/users/{wallet}/pnl
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
3
walletstringrequiredpath

Wallet address: 0x followed by 40 hex digits.

pattern: ^0x[0-9a-fA-F]{40}$

intervalstringoptionalquery

How far back to go. Default: `1m`.

one of: 6h, 12h, 1d, 1w, 1m, all, max

fidelitystringoptionalquery

Spacing of the points. Default: `1d`.

one of: 1h, 3h, 12h, 18h, 1d

Response fields
37

Endpoint-specific response payload.

datalookupStatus
string

`found` on success. A wallet that never traded returns an empty list.

one of: found, not_found

datawallet
string

The wallet asked for.

datainterval
stringnullable

The range returned.

datafidelity
stringnullable

The spacing returned.

Oldest first.

datapoints[]asOf
stringnullable

Time the figures describe (ISO-8601, UTC).

datapoints[]sourceBlock
integernullable

Polygon block the figures were computed at.

datapoints[]realizedMarket

Realized profit from trading, US dollars. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]realizedLp

Realized profit from providing liquidity. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]realizedCombo

Realized profit from combined positions. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]realized

All realized profit. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]unrealized

Profit on paper. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]positionPnl

Profit on positions: realized plus unrealized. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]tradePnl

Profit from trades. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]rewards

Liquidity reward income. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]makerRebate

Maker rebates received. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]takerRebate

Taker rebates received. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]yieldIncome

Yield income. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]referralIncome

Referral income. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]sponsoredIncome

Sponsored income. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]walletIncome

Income received by the wallet. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]feesRefunded

Fees refunded. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]fees

Fees paid. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]feesPaid

Fees paid, as Polymarket's separate total. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]deposits

Dollars deposited. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]withdrawals

Dollars withdrawn. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]cashflowNet

Deposits minus withdrawals. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]settled

Settled profit: realized plus income. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]economic

Economic profit: settled plus unrealized. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]volume

Traded volume, US dollars. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]volumeUsdc

Traded volume in USDC, as Polymarket's separate total. A number, or an exact decimal string when the value has more digits than a number can hold.

datapoints[]trades
integernullable

Number of trades counted in the profit and loss breakdown. The profile's headline count is a separate figure.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/polymarket/users/0x56687bf447db6ffa42ffe2204a05edaa20f55839/pnl?interval=1m&fidelity=1d" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Polymarket user profit.