Skip to main content
GET
PnL by Wallet Address

Notes

  • Use the sort param to rank tokens by PnL, buy or sell volume, or balance.
Every network in one request must belong to the same VM family, or the request returns a 400.
  • For example, networks=eth,base,arbitrum is valid because all three are EVM.
  • Networks from different VM families must be queried in separate calls.

Authorizations

x-cg-pro-api-key
string
header
required

Learn how to set up your API key

Path Parameters

address
string
default:0x4b3f1048c55faa0c0873e249e541139360501f2a
required

Wallet address.

Query Parameters

networks
string
default:eth,base
required

Query PnL by networks, comma-separated if more than one. *refers to /onchain/networks.

sort
enum<string>

Sort the token stats by field. Default: realized_pnl_usd_desc

Available options:
realized_pnl_usd_desc,
unrealized_pnl_usd_desc,
total_buy_usd_desc,
total_sell_usd_desc,
token_balance_desc
page
integer

Page through results. Default value: 1

per_page
integer

Total results per page. Default value: 100 Valid values: 1...300

Response

200 - application/json

Wallet PnL data

data
object
required