{
  "x402Version": 2,
  "id": 36715,
  "slug": "36715",
  "resource": "https://api.vextorium.com/calculadora-il-pago",
  "description": "Impermanent loss calculator for Uniswap v2 (full range) and v3/v4 concentrated ranges: IL vs holding, out-of-range flag and final token mix.",
  "type": "http",
  "serviceName": "Vextorium",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:10",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "amount": "3000",
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "3000",
      "maxTimeoutSeconds": 604900
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "cambio_precio_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "composicion_final": {
            "properties": {
              "token0_pct": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "token1_pct": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "type": [
              "object",
              "null"
            ]
          },
          "fuera_de_rango": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "nota": {
            "type": [
              "string",
              "null"
            ]
          },
          "perdida_impermanente_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "rango": {
            "items": {
              "type": [
                "number",
                "null"
              ]
            },
            "type": [
              "array",
              "null"
            ]
          },
          "tipo": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "precio_final": 2600,
            "precio_inicial": 2000,
            "rango_max": 2400,
            "rango_min": 1800
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "cambio_precio_pct": 30,
            "composicion_final": {
              "token0_pct": 0,
              "token1_pct": 100
            },
            "fuera_de_rango": true,
            "nota": "Perdida frente a mantener los tokens, sin contar comisiones. Fuera de rango la posicion...",
            "perdida_impermanente_pct": -10.8289,
            "rango": [
              1800
            ],
            "tipo": "rango concentrado (Uniswap v3/v4)"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "precio_final": {
                    "description": "Current or target price",
                    "type": "number"
                  },
                  "precio_inicial": {
                    "description": "Price at entry",
                    "type": "number"
                  },
                  "rango_max": {
                    "description": "Optional upper bound of the range",
                    "type": "number"
                  },
                  "rango_min": {
                    "description": "Optional lower bound of the range",
                    "type": "number"
                  }
                },
                "required": [
                  "precio_inicial",
                  "precio_final"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "cambio_precio_pct": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "composicion_final": {
                    "properties": {
                      "token0_pct": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "token1_pct": {
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "fuera_de_rango": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "nota": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "perdida_impermanente_pct": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "rango": {
                    "items": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "tipo": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "impermanent-loss",
    "uniswap",
    "liquidity",
    "defi",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.vextorium.com",
  "lastUpdated": "2026-10-08T06:09:48.36Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-08T06:09:48.133Z"
  },
  "metadata": {
    "serviceName": "Vextorium",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "precio_final": 2600,
              "precio_inicial": 2000,
              "rango_max": 2400,
              "rango_min": 1800
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "cambio_precio_pct": 30,
              "composicion_final": {
                "token0_pct": 0,
                "token1_pct": 100
              },
              "fuera_de_rango": true,
              "nota": "Perdida frente a mantener los tokens, sin contar comisiones. Fuera de rango la posicion...",
              "perdida_impermanente_pct": -10.8289,
              "rango": [
                1800
              ],
              "tipo": "rango concentrado (Uniswap v3/v4)"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "precio_final": {
                      "description": "Current or target price",
                      "type": "number"
                    },
                    "precio_inicial": {
                      "description": "Price at entry",
                      "type": "number"
                    },
                    "rango_max": {
                      "description": "Optional upper bound of the range",
                      "type": "number"
                    },
                    "rango_min": {
                      "description": "Optional lower bound of the range",
                      "type": "number"
                    }
                  },
                  "required": [
                    "precio_inicial",
                    "precio_final"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "cambio_precio_pct": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "composicion_final": {
                      "properties": {
                        "token0_pct": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "token1_pct": {
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "fuera_de_rango": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "nota": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "perdida_impermanente_pct": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "rango": {
                      "items": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "tipo": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.vextorium.com",
    "manifest_name": "api.vextorium.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "cambio_precio_pct": 0,
      "composicion_final": {
        "token0_pct": 0,
        "token1_pct": 0
      },
      "fuera_de_rango": true,
      "nota": "string",
      "perdida_impermanente_pct": 0,
      "rango": [
        0
      ],
      "tipo": "string"
    },
    "type": "string"
  }
}