{"uid":"cap_jpyxoSMamtTgkEl2pyd9S","slug":"lp-impermanent-loss-fee-apr-estimator-0e716562","name":"LP Impermanent Loss & Fee APR Estimator","description":"Estimate liquidity-provider impermanent loss, fee APR, TVL, and net APR from observed AMM pool data with on-chain and DefiLlama fallback sources.","url":"https://gpt55.558686.xyz/lp-impermanent-loss-estimator/entrypoints/estimate_lp_il/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":null,"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_uGsrHFVxhn1H2yWOfFq6V","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":"Estimates impermanent loss, fee APR, TVL, and net APR for AMM liquidity-provider positions using on-chain data and DefiLlama fallback sources.","exampleAgentPrompt":"Estimate the impermanent loss, fee APR, TVL, and net APR for the ETH/USDC Uniswap v2 pool — use on-chain data with DefiLlama as fallback if needed.","exampleUseCases":null,"resultDescription":"Returns a structured breakdown of impermanent loss percentage, fee APR, total value locked (TVL), and net APR for the queried AMM pool, derived from on-chain reserve data and/or DefiLlama fallback sources.","failureModes":["Pool address not found on-chain or DefiLlama — returns error with no data","Stale or unavailable DefiLlama data causes fallback failure","Unsupported AMM protocol or chain returns a schema mismatch error","Missing required body fields cause a 400 validation error","Network timeout when fetching on-chain reserve data"],"whenToPreferThis":"Use this endpoint when you need a quick, cost-effective estimate of LP impermanent loss and fee yield metrics for an AMM pool, especially when you want both on-chain accuracy and DefiLlama fallback reliability in a single call. Prefer this over manual calculation or DefiLlama API alone when you need IL and net APR combined in one response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:50:29.119Z","isFirstParty":false}