Skip to main content
GET
/
api
/
v1
/
portfolio
/
pnl-by-trader
P&L breakdown by trader
curl --request GET \
  --url https://carboncopy.inc/api/v1/portfolio/pnl-by-trader \
  --header 'Authorization: Bearer <token>'
{
  "breakdown": [
    {
      "traderWallet": "0xAbCd1234...",
      "username": "cryptowhale",
      "realizedPnl": 24.1,
      "totalVolume": 310,
      "tradeCount": 12
    }
  ]
}

Authorizations

Authorization
string
header
required

API key in the format cc_<64 hex characters>. Obtain from the Dashboard under Settings → API Keys.

Response

P&L breakdown.

breakdown
object[]