{"uid":"cap_kZczymFAMxU1lm-n4hy6k","slug":"x402engine-wallet-pnl-lookup-53c362fb","name":"x402engine Wallet PnL Lookup","description":"125 production APIs behind HTTP 402 micropayments. 87 LLMs, Kling V3 and Hailuo video generation, image generation, code execution, travel search, web scraping, TTS, and transaction simulation. Pay with USDC on Base, USDm on MegaETH, or USDC on Solana.","url":"https://x402engine.app/api/wallet/pnl?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","bodyType","body","method"],"properties":{"body":{"type":"object","required":["chain","address"],"properties":{"chain":{"type":"string","example":"ethereum","description":"Chain name (ethereum, polygon, base, arbitrum, etc.)"},"address":{"type":"string","example":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","description":"Wallet address"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Pa44BR1aslFN0DV6IS7Ej","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves profit-and-loss (PnL) data for a given wallet address on a specified blockchain chain","exampleAgentPrompt":"What's the PnL for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum? I want to see how profitable it's been.","exampleUseCases":[{"title":"Trader portfolio performance review","prompt":"Can you pull up the profit and loss summary for my wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base? I want to see how I've been doing overall."},{"title":"Whale wallet profitability research","prompt":"Look up the PnL for this wallet address 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B on Arbitrum — I'm trying to figure out if this is a consistently profitable trader."},{"title":"DeFi strategy back-analysis","prompt":"Check the PnL for address 0x1234567890abcdef1234567890abcdef12345678 on Polygon — I want to know whether this wallet has been net positive or negative."}],"resultDescription":"Returns profit-and-loss metrics for the specified wallet address on the given blockchain, including realized and/or unrealized gains, losses, and overall performance data.","failureModes":["Invalid or malformed wallet address returns an error","Unsupported chain name causes a validation failure","Address with no transaction history may return empty or zero PnL","Network timeouts for chains with slow indexing","Rate limits or payment failures when USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need on-chain PnL data for a specific wallet address across major EVM chains. Ideal for portfolio analytics, whale research, or verifying trading performance without building your own blockchain indexer. At $0.01 per call, it is cost-effective for one-off lookups paid via USDC micropayments on Base, MegaETH, or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T07:17:59.490Z","isFirstParty":false,"canonicalSlug":"x402engine-wallet-pnl-lookup-53c362fb"}