Skip to main content
GET
/
v1
/
account
/
pnl
Get PnL
curl --request GET \
  --url https://api.perpetuals.polymarket.com/v1/account/pnl \
  --header 'POLYMARKET-PROXY: <api-key>' \
  --header 'POLYMARKET-SECRET: <api-key>'
{
  "data": [
    [
      1767225600000,
      "100.50"
    ]
  ],
  "more": true
}
Request Weight: 10

Authorizations

POLYMARKET-PROXY
string
header
required

Proxy address

POLYMARKET-SECRET
string
header
required

Correponding proxy secret

Query Parameters

interval
enum<string>
required

PnL interval

Available options:
1h,
4h,
1d,
1w
start_timestamp
integer
required

Start timestamp in milliseconds

Example:

1767225600000

end_timestamp
integer

End timestamp in milliseconds

Example:

1767229200000

Response

PnL history response.

data
array[]
required
  • 1767225600000 - Timestamp
  • "100.50" - PnL
Maximum array length: 1000
Example:
[1767225600000, "100.50"]
more
boolean
required

More data available