{"uid":"cap_piv1FUHYPKP-Rwt5r3l2e","slug":"zerion-dna-feed-wallet-portfolio-pnl-lookup-1c0481b8","name":"Zerion DNA Feed – Wallet Portfolio & PnL Lookup","description":"On-chain wallet portfolio and performance from Zerion across 40+ EVM chains and Solana: total value in USD, split by position type (wallet, deposited, borrowed, locked, staked) and by chain, 1-day change, lifetime PnL (realized, unrealized, total gain and %, invested, fees) and, with a period, the value history chart (up to 60 points).","url":"https://api.chainmarket-api.workers.dev/api/crypto/zerion-dna-feed?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":{"period":{"type":"string","description":"Optional value chart: hour, day, week, month, 3months, 6months, year, 5years or max"},"address":{"type":"string","description":"EVM address 0x… or Solana address (required)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"pnl":{"totalFeesUsd":1969.38,"totalGainUsd":-5209405448.1,"netInvestedUsd":4927214774.62,"realizedGainUsd":-283296021.79,"sentExternalUsd":7188031.5,"totalGainPercent":-99.5287,"totalInvestedUsd":5234071460.62,"unrealizedGainUsd":-4926109426.3,"receivedExternalUsd":5219226462.87},"chart":{"to":"2026-10-23T10:00:00Z","from":"2026-09-23T10:00:00Z","period":"month","points":[{"time":"2026-09-23T10:00:00.000Z","valueUsd":787930.07},{"time":"2026-09-24T00:00:00.000Z","valueUsd":772412.48}]},"byType":{"locked":0.05,"staked":0,"wallet":1115294.87,"borrowed":0,"deposited":0},"source":"https://api.zerion.io/v1/wallets/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","checkedAt":"2026-10-23T09:36:09.564Z","topChains":[{"chain":"ethereum","valueUsd":1056557.68},{"chain":"binance-smart-chain","valueUsd":38929.63}],"change1dUsd":-104499.65,"totalValueUsd":1115294.91,"change1dPercent":-8.567}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_U8PTgGMIR7cMlQa3sUzL6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a comprehensive DeFi portfolio snapshot for an EVM or Solana wallet address, including total value, PnL breakdown, asset allocation by type, top chains, and historical value chart data sourced from Zerion.","exampleAgentPrompt":"Pull the Zerion DNA portfolio snapshot for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — I want the total value, 1-day change, PnL breakdown, and a month-long value chart.","exampleUseCases":[{"title":"Monitor whale wallet portfolio value","prompt":"Look up the current total portfolio value and 24-hour change for Ethereum address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 using the Zerion feed — I want to know how this whale is doing today."},{"title":"Assess realized vs unrealized PnL","prompt":"For wallet 0xAb5801a7D398351b8bE11C439e05C5B3259aec9B, get me the full PnL breakdown — how much has it realized, what's still unrealized, and what are the total fees paid?"},{"title":"Historical portfolio value trend","prompt":"Get me a year-long value chart for the Solana wallet 9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM so I can see how the portfolio has trended over time."}],"resultDescription":"Returns a JSON object with: total portfolio value in USD, 1-day USD and percent change, PnL object (total gain, realized gain, unrealized gain, net invested, fees, sent/received external), asset breakdown by type (wallet/staked/locked/deposited/borrowed), top chains ranked by USD value, a time-series chart of portfolio value for the requested period, the wallet address, data source URL, and the timestamp the data was fetched.","failureModes":["Missing or invalid wallet address returns a validation error","Unsupported or malformed address format (non-EVM, non-Solana) may return an error or empty data","Invalid period enum value returns a parameter error","Zerion upstream API unavailability causes a 502/503 response — the call is not charged on failure","Rate limiting or network timeout from the upstream Zerion API","Address with no on-chain history may return zero values across all fields"],"whenToPreferThis":"Choose this endpoint when you need a single unified DeFi portfolio snapshot for an EVM or Solana address, including both PnL analytics and historical chart data sourced directly from Zerion's v1 wallets API. It is ideal when you want multi-chain coverage with asset-type breakdown (staked, locked, deposited) without managing your own Zerion API key. At $0.002 per call with no signup required, it suits pay-per-use agent workflows. Prefer alternatives if you need token-level holdings detail, NFT data, or real-time streaming rather than a periodic snapshot.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:46:05.130Z","isFirstParty":false,"canonicalSlug":"zerion-dna-feed-wallet-portfolio-pnl-lookup-1c0481b8"}