{"slug":"api-agentstools-dev-swap-quote-97f0bb","title":"Non-custodial swap calldata for Base","host":"api.agentstools.dev","method":"GET","resource":"https://api.agentstools.dev/swap/quote","category":"market","description":"Non-custodial swap calldata for Base: give tokenIn, tokenOut, raw amountIn, slippage and recipient; we read Aerodrome and Uniswap V3 on-chain state, pick the max-output route, and return ready-to-sign transaction calldata plus the ERC-20 approval, amountOutMin, price impact and the venues compared. ","price_listed":0.05,"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":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"amountIn":"1000000000000000000","recipient":"0x1111111111111111111111111111111111111111","slippageBps":50,"tokenIn":"WETH","tokenOut":"USDC"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"properties":{"amountIn":{"description":"Sell amount in RAW atomic units of tokenIn (e.g. 1 WETH = 1000000000000000000). Integer as string.","type":"string"},"deadlineSeconds":{"description":"Seconds from now until the swap deadline. Default 600.","type":"integer"},"recipient":{"description":"0x address that receives tokenOut (baked into the calldata).","type":"string"},"slippageBps":{"description":"Max slippage in basis points (50 = 0.5%). Default 50, max 5000.","type":"integer"},"tokenIn":{"description":"Sell token: a supported symbol (WETH, USDC, AERO, ...) or a 0x ERC-20 address on Base.","type":"string"},"tokenOut":{"description":"Buy token: a supported symbol or a 0x ERC-20 address on Base.","type":"string"}},"required":["tokenIn","tokenOut","amountIn","recipient"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Non-custodial swap calldata for Base: give tokenIn, tokenOut, raw amountIn, slippage and recipient; we read Aerodrome and Uniswap V3 on-chain state, pick the max-output route, and return ready-to-sign transaction calldata plus the ERC-20 approval, amountOutMin, price impact and the venues compared. You sign with your own wallet — we never hold or move funds.","last_updated":"2026-10-08T06:10:29.502Z","schemes":["exact"]}