Api Endpoint

LI.FI via vAPI

Hosted by vAPI for LI.FI: Populates a selected route step with transaction data.

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/step-transaction
MIME type
Not provided
First seen
2026-11-25T19:24:10.917Z
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
129 ms
Average latency
139 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": {},
      "properties": {
        "action": {
          "additionalProperties": {},
          "properties": {
            "fromAddress": {
              "maxLength": 256,
              "minLength": 1,
              "pattern": "^[^\\s/]+$",
              "type": "string"
            },
            "fromAmount": {
              "maxLength": 128,
              "pattern": "^(0|[1-9][0-9]*)$",
              "type": "string"
            },
            "fromChainId": {
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991,
              "type": "integer"
            },
            "fromToken": {
              "additionalProperties": {},
              "properties": {
                "address": {
                  "maxLength": 256,
                  "minLength": 1,
                  "pattern": "^[^\\s/]+$",
                  "type": "string"
                },
                "chainId": {
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "coinKey": {
                  "maxLength": 256,
                  "minLength": 1,
                  "pattern": "^[^\\s/]+$",
                  "type": "string"
                },
                "decimals": {
                  "maximum": 9007199254740991,
                  "minimum": 0,
                  "type": "integer"
                },
                "logoURI": {
                  "maxLength": 2048,
                  "type": "string"
                },
                "name": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "priceUSD": {
                  "type": "string"
                },
                "symbol": {
                  "maxLength": 256,
                  "minLength": 1,
                  "pattern": "^[^\\s/]+$",
                  "type": "string"
                }
              },
              "required": [
                "address",
                "symbol",
                "decimals",
                "chainId",
                "name"
              ],
              "type": "object"
            },
            "slippage": {
              "type": "number"
            },
            "toAddress": {
              "maxLength": 256,
              "minLength": 1,
              "pattern": "^[^\\s/]+$",
              "type": "string"
            },
            "toChainId": {
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991,
              "type": "integer"
            },
            "toToken": {
              "additionalProperties": {},
              "properties": {
                "address": {
                  "maxLength": 256,
                  "minLength": 1,
                  "pattern": "^[^\\s/]+$",
                  "type": "string"
                },
                "chainId": {
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "coinKey": {
                  "maxLength": 256,
                  "minLength": 1,
                  "pattern": "^[^\\s/]+$",
                  "type": "string"
                },
                "decimals": {
                  "maximum": 9007199254740991,
                  "minimum": 0,
                  "type": "integer"
                },
                "logoURI": {
                  "maxLength": 2048,
                  "type": "string"
                },
                "name": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "priceUSD": {
                  "type": "string"
                },
                "symbol": {
                  "maxLength": 256,
                  "minLength": 1,
                  "pattern": "^[^\\s/]+$",
                  "type": "string"
                }
              },
              "required": [
                "address",
                "symbol",
                "decimals",
                "chainId",
                "name"
              ],
              "type": "object"
            }
          },
          "required": [
            "fromChainId",
            "fromAmount",
            "fromToken",
            "toChainId",
            "toToken"
          ],
          "type": "object"
        },
        "denyPools": {
          "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"
        },
        "estimate": {
          "additionalProperties": {},
          "properties": {
            "approvalAddress": {
              "maxLength": 256,
              "minLength": 1,
              "pattern": "^[^\\s/]+$",
              "type": "string"
            },
            "data": {
              "additionalProperties": {},
              "propertyNames": {
                "type": "string"
              },
              "type": "object"
            },
            "executionDuration": {
              "type": "number"
            },
            "feeCosts": {
              "items": {
                "type": "object"
              },
              "type": "array"
            },
            "fromAmount": {
              "type": "string"
            },
            "fromAmountUSD": {
              "type": "string"
            },
            "gasCosts": {
              "items": {
                "type": "object"
              },
              "type": "array"
            },
            "skipApproval": {
              "type": "boolean"
            },
            "toAmount": {
              "type": "string"
            },
            "toAmountMin": {
              "type": "string"
            },
            "toAmountUSD": {
              "type": "string"
            },
            "tool": {
              "type": "string"
            }
          },
          "required": [
            "tool",
            "fromAmount",
            "toAmount",
            "toAmountMin",
            "approvalAddress",
            "executionDuration"
          ],
          "type": "object"
        },
        "execution": {},
        "id": {
          "maxLength": 256,
          "minLength": 1,
          "type": "string"
        },
        "includedSteps": {
          "items": {
            "additionalProperties": {},
            "properties": {
              "action": {
                "type": "object"
              },
              "estimate": {
                "type": "object"
              },
              "id": {
                "type": "string"
              },
              "tool": {
                "type": "string"
              },
              "toolDetails": {
                "type": "object"
              },
              "type": {
                "enum": [
                  "swap",
                  "cross",
                  "lifi",
                  "protocol"
                ],
                "type": "string"
              }
            },
            "required": [
              "id",
              "type",
              "tool",
              "toolDetails",
              "action",
              "estimate"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "integrator": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[^\\s/]+$",
          "type": "string"
        },
        "mayanNonEvmPermitSignature": {
          "type": "boolean"
        },
        "referrer": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[^\\s/]+$",
          "type": "string"
        },
        "skipSimulation": {
          "type": "boolean"
        },
        "svmMaxSupportedTransactionVersion": {
          "anyOf": [
            {
              "const": 0,
              "type": "number"
            },
            {
              "const": 1,
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "svmPriorityFeeLevel": {
          "enum": [
            "NORMAL",
            "FAST",
            "ULTRA"
          ],
          "type": "string"
        },
        "tool": {
          "maxLength": 128,
          "minLength": 1,
          "pattern": "^[^\\s/]+$",
          "type": "string"
        },
        "toolDetails": {
          "additionalProperties": {},
          "properties": {
            "key": {
              "maxLength": 128,
              "minLength": 1,
              "pattern": "^[^\\s/]+$",
              "type": "string"
            },
            "logoURI": {
              "maxLength": 2048,
              "type": "string"
            },
            "name": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            }
          },
          "type": "object"
        },
        "transactionRequest": {
          "additionalProperties": false,
          "properties": {
            "svmTransactionVersion": {
              "anyOf": [
                {
                  "const": 0,
                  "type": "number"
                },
                {
                  "const": 1,
                  "type": "number"
                }
              ]
            }
          },
          "type": "object"
        },
        "type": {
          "enum": [
            "swap",
            "cross",
            "lifi",
            "protocol"
          ],
          "type": "string"
        }
      },
      "required": [
        "id",
        "type",
        "tool",
        "action"
      ],
      "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"
}