Api Endpoint

LI.FI via vAPI

Hosted by vAPI for LI.FI: Finds routes for a token transfer.

Open interactive test console

Offering

Provider
api.vapinetwork.ai
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.vapinetwork.ai/shim/lifi/routes
MIME type
Not provided
First seen
2026-11-25T17:17:09.158Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x29A57013BbF3fDBE2cCD6D3612FD45fd7ef27984"
  }
]

Observed health

Status
Healthy
Latest latency
140 ms
Average latency
136 ms
HTTP status
204
Last checked
Reachability
100% over 2 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "properties": {
        "fromAddress": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[^\\s/]+$",
          "type": "string"
        },
        "fromAmount": {
          "maxLength": 128,
          "pattern": "^(0|[1-9][0-9]*)$",
          "type": "string"
        },
        "fromAmountForGas": {
          "maxLength": 128,
          "pattern": "^(0|[1-9][0-9]*)$",
          "type": "string"
        },
        "fromChainId": {
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "type": "integer"
        },
        "fromTokenAddress": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[^\\s/]+$",
          "type": "string"
        },
        "options": {
          "additionalProperties": false,
          "properties": {
            "allowDestinationCall": {
              "type": "boolean"
            },
            "allowSwitchChain": {
              "type": "boolean"
            },
            "bridges": {
              "additionalProperties": false,
              "properties": {
                "allow": {
                  "items": {
                    "maxLength": 128,
                    "minLength": 1,
                    "pattern": "^[^\\s/]+$",
                    "type": "string"
                  },
                  "maxItems": 100,
                  "type": "array"
                },
                "deny": {
                  "items": {
                    "maxLength": 128,
                    "minLength": 1,
                    "pattern": "^[^\\s/]+$",
                    "type": "string"
                  },
                  "maxItems": 100,
                  "type": "array"
                },
                "prefer": {
                  "items": {
                    "maxLength": 128,
                    "minLength": 1,
                    "pattern": "^[^\\s/]+$",
                    "type": "string"
                  },
                  "maxItems": 100,
                  "type": "array"
                }
              },
              "type": "object"
            },
            "distributionFees": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "percentage": {
                    "exclusiveMaximum": 0.5,
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  "receiver": {
                    "pattern": "^(?:0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$",
                    "type": "string"
                  }
                },
                "required": [
                  "percentage",
                  "receiver"
                ],
                "type": "object"
              },
              "maxItems": 10,
              "type": "array"
            },
            "exchanges": {
              "additionalProperties": false,
              "properties": {
                "allow": {
                  "items": {
                    "maxLength": 128,
                    "minLength": 1,
                    "pattern": "^[^\\s/]+$",
                    "type": "string"
                  },
                  "maxItems": 100,
                  "type": "array"
                },
                "deny": {
                  "items": {
                    "maxLength": 128,
                    "minLength": 1,
                    "pattern": "^[^\\s/]+$",
                    "type": "string"
                  },
                  "maxItems": 100,
                  "type": "array"
                },
                "prefer": {
                  "items": {
                    "maxLength": 128,
                    "minLength": 1,
                    "pattern": "^[^\\s/]+$",
                    "type": "string"
                  },
                  "maxItems": 100,
                  "type": "array"
                }
              },
              "type": "object"
            },
            "fee": {
              "exclusiveMaximum": 1,
              "minimum": 0,
              "type": "number"
            },
            "insurance": {
              "type": "boolean"
            },
            "integrator": {
              "maxLength": 256,
              "minLength": 1,
              "pattern": "^[^\\s/]+$",
              "type": "string"
            },
            "maxPriceImpact": {
              "type": "number"
            },
            "order": {
              "enum": [
                "FASTEST",
                "CHEAPEST"
              ],
              "type": "string"
            },
            "pools": {
              "additionalProperties": false,
              "properties": {
                "deny": {
                  "anyOf": [
                    {
                      "items": {
                        "anyOf": [
                          {
                            "pattern": "^0x[0-9a-fA-F]{40}$",
                            "type": "string"
                          },
                          {
                            "pattern": "^0x[0-9a-fA-F]{40}-0x[0-9a-fA-F]{64}$",
                            "type": "string"
                          }
                        ]
                      },
                      "maxItems": 100,
                      "minItems": 1,
                      "type": "array"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "type": "object"
            },
            "preset": {
              "maxLength": 50,
              "minLength": 1,
              "pattern": "^[a-zA-Z0-9_-]+$",
              "type": "string"
            },
            "referrer": {
              "maxLength": 256,
              "minLength": 1,
              "pattern": "^[^\\s/]+$",
              "type": "string"
            },
            "slippage": {
              "type": "number"
            },
            "svmMaxSupportedTransactionVersion": {
              "anyOf": [
                {
                  "const": 0,
                  "type": "number"
                },
                {
                  "const": 1,
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ]
            },
            "svmPriorityFeeLevel": {
              "enum": [
                "NORMAL",
                "FAST",
                "ULTRA"
              ],
              "type": "string"
            },
            "timing": {
              "additionalProperties": false,
              "properties": {
                "routeTimingStrategies": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "minWaitTimeMs": {
                        "maximum": 15000,
                        "minimum": 0,
                        "type": "number"
                      },
                      "reduceEveryMs": {
                        "maximum": 15000,
                        "minimum": 0,
                        "type": "number"
                      },
                      "startingExpectedResults": {
                        "maximum": 100,
                        "minimum": 0,
                        "type": "number"
                      },
                      "strategy": {
                        "const": "minWaitTime",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                },
                "swapStepTimingStrategies": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "minWaitTimeMs": {
                        "maximum": 15000,
                        "minimum": 0,
                        "type": "number"
                      },
                      "reduceEveryMs": {
                        "maximum": 15000,
                        "minimum": 0,
                        "type": "number"
                      },
                      "startingExpectedResults": {
                        "maximum": 100,
                        "minimum": 0,
                        "type": "number"
                      },
                      "strategy": {
                        "const": "minWaitTime",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "toAddress": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[^\\s/]+$",
          "type": "string"
        },
        "toChainId": {
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "type": "integer"
        },
        "toTokenAddress": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[^\\s/]+$",
          "type": "string"
        }
      },
      "required": [
        "fromChainId",
        "fromAmount",
        "fromTokenAddress",
        "toChainId",
        "toTokenAddress",
        "fromAddress"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "additionalProperties": false,
  "properties": {
    "type": {
      "const": "json",
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}