{"slug":"api-vapinetwork-ai-shim-lifi-routes-1fc255","title":"Hosted by vAPI for LI.FI","host":"api.vapinetwork.ai","method":"POST","resource":"https://api.vapinetwork.ai/shim/lifi/routes","category":"market","description":"Hosted by vAPI for LI.FI: Finds routes for a token transfer.","price_listed":0.001,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"fromAddress":"0x552008c0f6870c2f77e5cC1d2eb9bdff03e30Ea0","fromAmount":"1000000","fromChainId":100,"fromTokenAddress":"0x4ecaba5870353805a9f068101a40e0f32ed605c6","options":{"order":"CHEAPEST","slippage":0.003},"toChainId":137,"toTokenAddress":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"input":{"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":{"additionalProperties":false,"properties":{"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Hosted by vAPI for LI.FI: Finds routes for a token transfer.","last_updated":"2026-11-25T13:39:38.774Z","schemes":["exact"]}