Get PnL
Get PnL history for the authenticated account. If no end time is provided, the current time will be used. Maximum of 1000 entries returned per request.
get/v1/account/pnl
Query parameters
interval'1h' | '4h' | '1d' | '1w' required
PnL interval
start_timestampinteger required
Start timestamp in milliseconds
Example:1767225600000
end_timestampinteger
End timestamp in milliseconds
Example:1767229200000
Response
PnL history response.
Example response
{
"data": [
[
1767225600000,
"100.50"
]
]
}