{"uid":"cap_Rxcp06I5cP26pAteKmAmv","slug":"speraxos-historical-impermanent-loss-attribution-calculator-191e6b00","name":"SperaxOS Historical Impermanent Loss Attribution Calculator","description":"AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.","url":"https://chat.sperax.io/api/x402/tools/il-calculator/getHistoricalILAttribution?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"type":"string","description":"Chain to analyze (or \"all\" for cross-chain)."},"protocol":{"type":"string","description":"Filter to specific protocol."},"periodDays":{"type":"number","description":"Historical period in days. Default: 30."},"walletAddress":{"type":"string","description":"Wallet address to analyze."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_W6b9oUBDIMEdWX1vgCmPZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0xD74f5255D557944cf7Dd0E45FF521520002D5748","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates and attributes historical impermanent loss (IL) for a wallet's liquidity pool positions across DeFi protocols over a specified time period","exampleAgentPrompt":"Calculate my historical impermanent loss attribution for wallet 0xABC...123 on Base using Uniswap over the last 30 days and break down where the losses came from.","exampleUseCases":[{"title":"Monthly LP performance review","prompt":"Show me a breakdown of my impermanent loss on all chains for wallet 0xABC...123 over the past 30 days — I want to see how much each protocol contributed."},{"title":"Protocol-specific IL deep dive","prompt":"How much impermanent loss did I accumulate specifically on Aerodrome for my wallet 0xDEF...456 on Base over the last 90 days?"},{"title":"Cross-chain IL comparison","prompt":"Analyze the historical impermanent loss across all chains for my wallet 0x789...GHI over the last 60 days so I can figure out which chain is costing me the most."}],"resultDescription":"Returns a breakdown of historical impermanent loss attributed to the specified wallet's liquidity positions, segmented by protocol and/or chain over the requested period, including loss amounts in USD and percentage terms.","failureModes":["Invalid or unrecognized wallet address returns an error","Unsupported chain identifier causes a 400-level error","Very short periodDays with no LP activity returns empty attribution","Payment failure via x402 returns 402 Payment Required","Protocol not found or misspelled returns empty or error response","Wallet with no LP history returns zero or empty IL data"],"whenToPreferThis":"Use this endpoint when you need historical, attributable impermanent loss data tied to a specific wallet across DeFi liquidity pools. It is ideal for retrospective analysis of LP performance, portfolio audits, and tax/reporting workflows where you need to know not just total IL but which protocol or chain caused it. Prefer this over generic portfolio trackers when the specific focus is impermanent loss attribution with chain and protocol granularity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:50:19.578Z","isFirstParty":false,"canonicalSlug":"speraxos-historical-impermanent-loss-attribution-calculator-191e6b00"}