Skip to main content
GET
/
v1
/
polymarket
/
wallet
/
pnl
/
{wallet_address}
Get Wallet Pnl
curl --request GET \
  --url https://api.predexon.com/v1/polymarket/wallet/pnl/{wallet_address} \
  --header 'x-api-key: <api-key>'
{
  "granularity": "day",
  "start_time": 123,
  "end_time": 123,
  "wallet_address": "<string>",
  "pnl_over_time": [
    {
      "timestamp": 123,
      "pnl_to_date": 123
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key for authentication. Get yours at https://dashboard.predexon.com

Path Parameters

wallet_address
string
required

Wallet address to fetch PnL for

Query Parameters

granularity
enum<string>
required

Time granularity for PnL data

Available options:
day,
week,
month,
year,
all
start_time
integer | null

Unix timestamp (seconds) for start of range

end_time
integer | null

Unix timestamp (seconds) for end of range

token_id
string | null

Optional token ID to return PnL for a single token

Response

Successful Response

Wallet PnL endpoint response.

granularity
enum<string>
required

PnL granularity enum.

Available options:
day,
week,
month,
year,
all
start_time
integer
required
end_time
integer
required
wallet_address
string
required
pnl_over_time
PnLDataPoint · object[]
required