{"slug":"402-com-tr-api-x402-swap-route-1dc7b0","title":"Give a token and a trade size in USD → the deepest Base pool to route through, e","host":"402.com.tr","method":"GET","resource":"https://402.com.tr/api/x402/swap-route","category":"market","description":"Give a token and a trade size in USD → the deepest Base pool to route through, estimated price impact, a suggested slippage tolerance + minimum-out, all gated on a honeypot/sell-tax check of the token you'd receive (no point routing into something you can't sell). Moves an agent from analysis to act","price_listed":0.03,"price_asked":0.03,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":715,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","pathParams":{},"queryParams":{"amountUsd":"100","tokenOut":"0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object"},"queryParams":{"properties":{"amountUsd":{"description":"Trade size in USD","type":"string"},"tokenOut":{"description":"Token to receive","type":"string"}},"required":["tokenOut"],"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":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":715,"error":null}],"description_full":"Give a token and a trade size in USD → the deepest Base pool to route through, estimated price impact, a suggested slippage tolerance + minimum-out, all gated on a honeypot/sell-tax check of the token you'd receive (no point routing into something you can't sell). Moves an agent from analysis to action in one call.","last_updated":"2026-09-11T09:56:13.871Z","schemes":["exact"]}