{"uid":"cap_ZmDkoQJQmTBdN9eX09paa","slug":"portfolio-24h-pnl-unrealized-p-l-on-base-wallet-311bda3e","name":"Portfolio 24h PnL (Unrealized P&L on Base Wallet)","description":"Portfolio 24h PnL: unrealized profit/loss in USD and % on current holdings, plus the biggest movers. Send { address }. Track how the book is doing.","url":"https://x402-services-production.up.railway.app/api/portfolio/pnl","method":"POST","headers":{},"bodySchema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"0x wallet address (Base)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lt-TgZDmJrvi0c6kaQQA_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the 24-hour unrealized profit/loss in USD and percentage for all current holdings of a Base wallet address, plus the biggest movers.","exampleAgentPrompt":"How is my portfolio doing today? Check the 24h unrealized PnL for my Base wallet 0x1234...abcd and tell me which holdings are the biggest movers.","exampleUseCases":null,"resultDescription":"Returns the total unrealized PnL for the wallet over the last 24 hours expressed in USD and as a percentage, along with a breakdown of the top gaining and losing token positions (biggest movers).","failureModes":["Invalid or malformed wallet address returns a 400 error","Wallet with no tracked holdings returns zero or empty results","Pricing data unavailable for an exotic token causes partial results","Payment not included or insufficient USDC triggers a 402 payment required response","Network timeout if Base RPC or price feeds are slow"],"whenToPreferThis":"Use this endpoint when you need a quick snapshot of how a specific Base wallet's holdings have performed over the past 24 hours, including unrealized PnL in USD and percentage terms and which positions moved the most. Prefer this over raw transaction history endpoints when the goal is performance analytics rather than activity logging.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:58:00.181Z","isFirstParty":false}