{"uid":"cap_EdnM1uE0-Ilc_vAWc8RYj","slug":"lone-star-oracle-pnl-evm-wallet-profit-loss-44ea65fc","name":"Lone Star Oracle PnL — EVM Wallet Profit & Loss","description":"Wallet realized and unrealized PnL — per-token profit and loss and cost basis for any EVM address","url":"https://pnl.lonestaroracle.xyz/pnl","method":"GET","headers":{},"bodySchema":{"tags":["wallet","pnl","profit","portfolio","evm"],"type":"object","category":"data","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"days":{"type":"integer","title":"Days","default":30,"maximum":365,"minimum":1,"description":"Lookback period in days"},"wallet":{"type":"string","title":"Wallet","description":"Base wallet address (0x...)"},"address":{"type":"string","title":"Address","description":"Alias for wallet"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","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.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dj3jHecVGq0zC6I5Zzx6U","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns per-token realized and unrealized PnL, cost basis, and portfolio profit/loss for any EVM wallet address over a configurable lookback period","exampleAgentPrompt":"Can you check the realized and unrealized PnL for wallet 0xAbCd1234...5678 over the last 90 days, broken down by token?","exampleUseCases":null,"resultDescription":"A JSON object containing per-token profit and loss metrics for the queried EVM wallet, including realized PnL (gains/losses from completed trades), unrealized PnL (open position gains/losses), and cost basis figures, computed over the specified lookback window.","failureModes":["Invalid or malformed wallet address returns an error response","Lookback period outside 1–365 days range is rejected with a validation error","Wallet with no transaction history may return empty or zero PnL data","Payment not provided or insufficient USDC (0.2 USDC required) results in 402 Payment Required","Network or indexer downtime may cause delayed or unavailable data"],"whenToPreferThis":"Use this endpoint when you need on-chain realized and unrealized PnL with cost basis for any EVM-compatible wallet, especially when you need per-token granularity over a custom time window. Prefer this over generic portfolio trackers when cost basis accuracy and EVM compatibility are priorities and you need a pay-per-call model without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:32:50.236Z","isFirstParty":false}