Wallet PnL summary
Get a realized profit/loss summary (win rate, traded tokens, top performers) for a wallet or entity.
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 -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"}}'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 USDCFill 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.
entity_namestringoptional *Nansen entity name to get the PnL summary for. Provide either walletAddress or entityName.
chainstringrequiredNansen chain slug supported by PnL analytics.
dateobjectrequiredISO 8601 date-time range for the PnL summary, with from and to fields.
date.fromstringrequiredInclusive range start.
date.tostringrequiredInclusive range end.
address, entity_name.{
"address": "0x39d52da6beec991f075eebe577474fd105c5caec",
"chain": "ethereum",
"date": {
"from": "2026-05-01T00:00:00Z",
"to": "2026-05-21T23:59:59Z"
}
}{ "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.
- Success
- 100%
- p50
- 1.86s
- Calls
- 2