v1

latestOpenAPI 3.1.02026-07-2681217214.1 KB
PNL
DEVELOPER
WALLET

Get Pnl By Token With Historical Breakdown

post/api/v1/developer/wallet/pnl-by-token/history

Request body

start_timestampstring date-time required

Start of time range (UTC ISO 8601)

end_timestampstring date-time required

End of time range (UTC ISO 8601)

granularity'1h' | '1d' | '1m' | '5m' | '15s' required

Example request

{
  "addresses": [
    {
      "address": "125Z6k4ZAxsgdG7JxrKZpwbcS1rxqpAeqM9GSCKd66Wp",
      "chain": "solana",
      "token_address": "So11111111111111111111111111111111111111112"
    }
  ],
  "end_timestamp": "2025-04-10T00:00:00Z",
  "granularity": "1h",
  "start_timestamp": "2025-04-01T00:00:00Z"
}

Response

Successful Response

errorstring nullable

Error message

cursorstring nullable

Pagination cursor for next page