{"uid":"cap_L2NTgcn0uFB9kqB7iaQCe","slug":"moneytools-impermanent-loss-calculator-5a88bb74","name":"MoneyTools Impermanent Loss Calculator","description":"Impermanent loss calculator: LP value vs holding after a price move: full-range (Uniswap v2) and concentrated range (v3, lower/upper) impermanent loss. Free tier 10/day; then $0.001 via x402 (HTTP 402 + PAYMENT-REQUIRED) or X-API-Key credits. Not charged on failure. $0.001 USDC per call via x402 on Base. Run by MoneyTools.","url":"https://tools.moneytools.dev/v1/impermanent-loss?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":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","required":[],"properties":{"lower":{"type":"string","description":"v3 range lower"},"upper":{"type":"string","description":"v3 range upper"},"newPrice":{"type":"number","examples":["4500"],"description":"current price"},"entryPrice":{"type":"number","examples":["3000"],"description":"price at deposit"},"priceRatio":{"type":"string","description":"or new/entry ratio"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","properties":{"payment":{"type":"object","properties":{"charged":{"type":"boolean"},"network":{"type":"string"},"amountUsd":{"type":"string"},"transaction":{"type":["string","null"]}}},"freeTier":{"type":"object"},"_moneytools":{"type":"object","description":"optional plan / partner hints"}},"description":"Tool-specific JSON result (see llms.txt / openapi.json). Always includes payment info.","additionalProperties":true}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_j7OuYQLiYJJjE6sL6tNt6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates impermanent loss for liquidity providers comparing LP position value vs holding after a price move, supporting both Uniswap v2 full-range and v3 concentrated range positions.","exampleAgentPrompt":"What's my impermanent loss on a Uniswap v2 full-range ETH/USDC LP position I entered at $3000 ETH if the current price is $4500?","exampleUseCases":[{"title":"ETH price surge IL check","prompt":"ETH pumped from $3000 to $4500 since I added liquidity — can you calculate how much impermanent loss I've suffered on my Uniswap v2 LP position compared to if I had just held?"},{"title":"Concentrated v3 range IL analysis","prompt":"I have a Uniswap v3 position with a price range of $2500 lower and $5000 upper, entered at an ETH price of $3000. ETH is now at $4200 — what's my impermanent loss in that concentrated range?"},{"title":"Price ratio IL estimate","prompt":"If the price ratio between my two LP tokens changes by 2x from when I deposited, how much impermanent loss would I face on a standard Uniswap v2 full-range pool?"}],"resultDescription":"Returns impermanent loss metrics including the percentage loss versus a hold strategy, LP position value change, and optionally concentrated range IL for v3 positions with custom lower/upper bounds. Also includes payment metadata (whether a charge was made, network, USD amount, transaction hash) and free tier usage info.","failureModes":["Missing required entryPrice or newPrice parameters returns an error","Invalid or illogical price range (lower >= upper for v3) may cause computation error","Free tier exhausted (10/day) without payment method results in HTTP 402 requiring x402 micropayment","Payment failure on x402 results in no charge and no result","Non-numeric price values cause validation errors"],"whenToPreferThis":"Use this endpoint when you need a quick, accurate impermanent loss calculation for DeFi liquidity positions — particularly when supporting both Uniswap v2 full-range and v3 concentrated range positions is needed. Prefer this over manual calculation or generic DeFi tools when you need programmatic IL data for agents managing LP positions, risk dashboards, or DeFi portfolio analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-05T12:43:34.892Z","isFirstParty":false,"canonicalSlug":"moneytools-impermanent-loss-calculator-5a88bb74"}