Catalog
CryptoPOSTlive

Wallet PnL summary

Get a realized profit/loss summary (win rate, traded tokens, top performers) for a wallet or entity.

$0.01
per call
Success
100%
p50 latency
1.86s
p95 latency
3.91s
Calls (30d)
2

Provider contract

Call path
/routes/nansen/crypto/wallet-pnl
Method
POST
Selected provider
nansendefault
Provider price
$0.01
Settlement
Base USDC · x402 · 5% h402 fee

Quickstart

Both commands call the selected provider directly.

cURL
curl -X POST '/routes/nansen/crypto/wallet-pnl' \
  -H 'content-type: application/json' \
  -d '{"address":"0x39d52da6beec991f075eebe577474fd105c5caec","chain":"ethereum","date":{"from":"2026-05-01T00:00:00Z","to":"2026-05-21T23:59:59Z"}}'
CLI
h402 call 'crypto/wallet-pnl' --provider 'nansen' --method POST --json '{"address":"0x39d52da6beec991f075eebe577474fd105c5caec","chain":"ethereum","date":{"from":"2026-05-01T00:00:00Z","to":"2026-05-21T23:59:59Z"}}'

Parameters & live test

pays real USDC

Fill the request fields, quote the exact per-call total, then choose x402 or eligible bonus credit explicitly before sending. Only the selected provider's listed parameters are accepted.

addressstringoptional *

Wallet address to get the PnL summary for. Provide either walletAddress or entityName.

e.g.
entity_namestringoptional *

Nansen entity name to get the PnL summary for. Provide either walletAddress or entityName.

e.g.
chainstringrequired

Nansen chain slug supported by PnL analytics.

One of
dateobjectrequired

ISO 8601 date-time range for the PnL summary, with from and to fields.

date.fromstringrequired

Inclusive range start.

e.g.
date.tostringrequired

Inclusive range end.

e.g.
Provide at least one of address, entity_name.
POST/routes/nansen/crypto/wallet-pnl
Request body
{
  "address": "0x39d52da6beec991f075eebe577474fd105c5caec",
  "chain": "ethereum",
  "date": {
    "from": "2026-05-01T00:00:00Z",
    "to": "2026-05-21T23:59:59Z"
  }
}

ResponseExample response
{
  "data": {
    "pagination": {
      "page": 1,
      "per_page": 1,
      "is_last_page": true
    },
    "top5_tokens": [],
    "traded_token_count": 2,
    "traded_times": 3,
    "realized_pnl_usd": 0,
    "realized_pnl_percent": 0,
    "win_rate": 0
  },
  "h402": {
    "routeId": "crypto/wallet-pnl",
    "provider": "nansen",
    "selectedCandidateId": "crypto/wallet-pnl/nansen",
    "routing": "manual",
    "paidBy": "x402-exact"
  }
}

Providers

Choose a provider for this task. The catalog recommends the current default from quality, reliability, and price; your selected provider stays pinned. Listed prices are provider prices; settlement adds a 5% h402 fee.

nansen
x402
100
Success
100%
p50
1.86s
Calls
2
100%
$0.01$0.010/call
Last successful call: 27d ago· Aggregated by h402 — not the source provider