Get PnL
Get PnL history for the authenticated account.
If no end time is provided, the current time will be used.
Each point is the PnL realized inside its interval bucket — not a running
total. Buckets are aligned to the Unix epoch, and one in which nothing was
realized is omitted, so the series is sparse.
A point is stamped with the last populated hour in its bucket, not with the
bucket’s start, so every returned timestamp falls within the requested
window. Window bounds select whole one-hour rollup rows before coarser
buckets are formed.
Maximum of 1000 entries returned per request — of buckets, so a coarser
interval covers a longer window before more is set. When more is true,
page by re-requesting from one millisecond past the last timestamp
returned; that always lands on the next bucket, never back inside the one
just served.
Authorizations
Proxy address
Correponding proxy secret
Query Parameters
PnL interval
1h, 4h, 1d, 1w Start timestamp in milliseconds
1767225600000
End timestamp in milliseconds
1767229200000