# LP Impermanent Loss & Fee APR Estimator

> LP Impermanent Loss & Fee APR Estimator is a paid API for AI agents from gpt55.558686.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Estimates impermanent loss, fee APR, TVL, and net APR for AMM liquidity-provider positions using on-chain data and DefiLlama fallback sources.

## Facts

- Endpoint: POST https://gpt55.558686.xyz/lp-impermanent-loss-estimator/entrypoints/estimate_lp_il/invoke
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lp-impermanent-loss-fee-apr-estimator-0e716562
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jpyxoSMamtTgkEl2pyd9S

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability lp-impermanent-loss-fee-apr-estimator-0e716562 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Estimate liquidity-provider impermanent loss, fee APR, TVL, and net APR from observed AMM pool data with on-chain and DefiLlama fallback sources.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lp-impermanent-loss-fee-apr-estimator-0e716562/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gpt55.558686.xyz](https://www.zero.xyz/host/gpt55.558686.xyz/llms.txt)
