{"uid":"cap_znynrqkyR5v_-ly1oiGCX","slug":"zerion-wallet-pnl-api-8a499735","name":"Zerion Wallet PnL API","description":"Interpreted wallet data for more than 40 chains and Solana: portfolios, DeFi positions, PnL, transactions and NFTs. REST for apps, x402 pay-per-call for agents.","url":"https://api.zerion.io/v1/wallets/%7Baddress%7D/pnl?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Wallet address (EVM 0x or Solana base58)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"id":{"type":"string","description":"Resource ID."},"type":{"type":"string","description":"Resource type."},"attributes":{"type":"object","description":"Resource attributes; see https://developers.zerion.io"}}},"links":{"type":"object","description":"Self and pagination links."}}}}}}},"responseSchema":{"type":"json","example":{"data":{"id":"<resource id>","type":"<resource type>","attributes":{}},"links":{"self":"https://api.zerion.io/v1/..."}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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_Cxk2jaiF6TVdexds8IPjI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns profit and loss (PnL) data for a given EVM or Solana wallet address across 40+ chains","exampleAgentPrompt":"Can you pull the profit and loss data for the Ethereum wallet 0x1234...abcd using Zerion — I want to see how much it's made or lost overall?","exampleUseCases":[{"title":"DeFi trader performance review","prompt":"Pull up the full PnL breakdown for my wallet 0xabc...123 on Zerion — I want to see how much I've made or lost trading DeFi this year."},{"title":"Onchain fund due diligence","prompt":"I need to evaluate this wallet 0xdef...456 — can you get its profit and loss history from Zerion so I can see if it's been consistently profitable?"},{"title":"Solana wallet gains check","prompt":"Check the PnL on this Solana wallet address Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Tx and tell me what it's gained or lost overall."}],"resultDescription":"Returns a JSON object with a data field containing the resource ID, resource type, and attributes describing the wallet's profit and loss metrics (realized and unrealized gains/losses) across all supported chains, along with pagination links.","failureModes":["Invalid or malformed wallet address returns a 400 or 422 error","Payment not received or insufficient USDC results in a 402 Payment Required response","Wallet address with no on-chain history may return empty or zero PnL attributes","Rate limiting or network timeouts return 429 or 503 errors","Unsupported chain or address format returns an error response"],"whenToPreferThis":"Choose this endpoint when you need structured, interpreted PnL data for a specific wallet rather than raw transaction history. It's ideal for agents that need to quickly assess profitability of a wallet across 40+ EVM chains and Solana without building their own accounting logic. Prefer this over generic blockchain explorers when you need aggregated gain/loss figures ready for display or analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-28T12:30:01.805Z","isFirstParty":false,"canonicalSlug":"zerion-wallet-pnl-api-8a499735"}