api.x402node.dev

https://api.x402node.dev/wallet/pnl

Realized profit and loss and cost basis for an ERC20 token in a wallet on Base, computed from on-chain DEX trades against a quote asset (USDC by default). Returns average buy and sell price, realized PnL, remaining position and cost basis. Search terms: wallet PnL, realized gains, cost basis, token profit, crypto tax accounting, trade history.

last updated: Jul 9, 2026 · type: http · x402 v2

Payment Options

NetworkSchemeAmountPay To
Baseexact$0.10 USDC0x4466...125e
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpexact0.10 tokens9urRvU...o1up

Try It

Resource Activity

via Bazaar · last 30 days
Calls
2
Unique Payers
2
Last Called
Jul 9, 2026