# TradeSonar Whale PnL Summary

> TradeSonar Whale PnL Summary is a paid API for AI agents from api.tradesonar.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Returns realized profit/loss and funding payment summary for a specific dYdX whale address

## Facts

- Endpoint: GET https://api.tradesonar.io/v1/whales/:address/pnl?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tradesonar-whale-pnl-summary-67f5385d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ev55AFhTJge4Uz2myixSx

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tradesonar-whale-pnl-summary-67f5385d
```

Example prompt: What's the realized PnL and funding summary for the dYdX address dydx1yckl...? I want to know how profitable this whale has been.

## When to prefer this

Use this endpoint when you need historical realized PnL and funding summary for a specific dYdX trader or whale address. Prefer this over general market endpoints when the focus is on individual address performance rather than market-wide crowding or funding signals. Pair with the /whales/leaderboard endpoint to discover top addresses first.

## Known failure modes

- Invalid or malformed dYdX address returns 400 or empty result
- Address with no trading history returns empty or zero values
- Rate limiting or payment failure for x402 micropayment returns 402
- Stale data if address has very recent trades not yet indexed

## How this service works

Realized PnL and funding summary for an address

## Output

Returns a summary of realized PnL (closed position gains and losses) and funding payment history for the specified dYdX address, allowing assessment of overall trading profitability and carry income/costs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "dYdX address, e.g. dydx1yckl... — get top addresses from /v1/whales/leaderboard"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tradesonar-whale-pnl-summary-67f5385d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tradesonar.io](https://www.zero.xyz/host/api.tradesonar.io/llms.txt)
