{"slug":"agent-data-tools-revmesh2074-workers-dev-swap-quote-cf91d1","title":"Swap quote, best DEX route","host":"agent-data-tools.revmesh2074.workers.dev","method":"GET","resource":"https://agent-data-tools.revmesh2074.workers.dev/swap/quote","category":"market","description":"Swap quote, best DEX route. Best price to swap one token for another on 30+ chains (Base, Ethereum, Arbitrum, Solana, BSC…) across DEX aggregators, via LI.FI: amount out, minimum after slippage, USD values, gas and fees, total cost in percent, route and approval address; with fromAddress, the unsign","price_listed":0.01,"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:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"amount":"1000","fromChain":"base","fromToken":"USDC","toToken":"ETH"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"amount":{"description":"Amount of fromToken in token units, e.g. 100 or 0.5","examples":["1000"],"type":"string"},"fromAddress":{"description":"Optional wallet that would send: adds the unsigned transaction to the answer","examples":["0x000000000000000000000000000000000000dEaD"],"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"fromChain":{"description":"Chain name or id: base, ethereum, arbitrum, solana…","examples":["base"],"type":"string"},"fromToken":{"description":"Token to sell: symbol (USDC, ETH) or address","examples":["USDC"],"type":"string"},"slippage":{"description":"Slippage tolerance in percent (default 0.5)","examples":[0.5],"type":"number"},"toAddress":{"description":"Optional receiving wallet, e.g. a Solana address when bridging to Solana","examples":["0x000000000000000000000000000000000000dEaD"],"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"toToken":{"description":"Token to buy: symbol or address","examples":["ETH"],"type":"string"}},"required":["fromChain","fromToken","amount","toToken"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"approvalAddress":{"type":"string"},"costs":{"properties":{"feesUsd":{"type":"number"},"gasUsd":{"type":"number"},"totalLossPercent":{"type":"number"}},"type":"object"},"estimatedSeconds":{"type":"number"},"from":{"properties":{"address":{"type":"string"},"amount":{"type":"string"},"amountUsd":{"type":"number"},"chainId":{"type":"number"},"token":{"type":"string"}},"type":"object"},"note":{"type":"string"},"rate":{"type":"number"},"route":{"type":"string"},"slippagePercent":{"type":"number"},"source":{"type":"string"},"steps":{"items":{"properties":{"fromChainId":{"type":"number"},"toChainId":{"type":"number"},"type":{"type":"string"},"via":{"type":"string"}},"type":"object"},"type":"array"},"to":{"properties":{"address":{"type":"string"},"amount":{"type":"string"},"amountMin":{"type":"string"},"amountUsd":{"type":"number"},"chainId":{"type":"number"},"token":{"type":"string"}},"type":"object"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Swap quote, best DEX route. Best price to swap one token for another on 30+ chains (Base, Ethereum, Arbitrum, Solana, BSC…) across DEX aggregators, via LI.FI: amount out, minimum after slippage, USD values, gas and fees, total cost in percent, route and approval address; with fromAddress, the unsigned transaction for your wallet to sign. Tokens by symbol or address, amounts in token units. A quote only: nothing is signed or sent. Use before a trading agent swaps.","last_updated":"2026-11-10T21:26:11.524Z","schemes":["exact"]}