{"name":"onyx_base_swap_quote","tier":"metered","price_usdc":"0.002","endpoint":"https://onyx-actions.onrender.com/v1/onyx_base_swap_quote","method":"POST","input_schema":{"type":"object","properties":{"token_in":{"type":"string","description":"Address of input token (0x... on Base mainnet). Use 0x4200000000000000000000000000000000000006 for WETH."},"token_out":{"type":"string","description":"Address of output token (0x... on Base mainnet)."},"amount_in":{"type":"string","description":"Atomic input amount (decimal string). E.g. 1 ETH = '1000000000000000000'; 100 USDC = '100000000'."}},"required":["token_in","token_out","amount_in"]},"description":"Best-route swap quote on Base across all major DEXes (Uniswap V2/V3, Aerodrome, BaseSwap, PancakeSwap, plus ~12 others) via KyberSwap aggregator. Returns amountOut, USD value, gas estimate, route hops, price impact. Same role as Jupiter on Solana — most agents need this before any on-chain swap.","when_to_use":"Any agent about to perform a swap on Base. Get a price-and-route quote before signing the actual swap transaction.","vs_alternatives":"Direct Uniswap V3 quoter call gives single-pool quote, missing better routes on Aerodrome/BaseSwap. KyberSwap aggregates across ~15 DEXes.","example_request":{"token_in":"0x4200000000000000000000000000000000000006","token_out":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount_in":"1000000000000000000"},"example_response":null,"settle_to":"0x3fD9ee1373562f894D322B37DFFAd7a5D2b2d78f","network":"base","facilitator":"https://facilitator.xpay.sh","payment_required":true,"free_introspection":true,"note":"GET this URL = free introspection card. POST with x402 payment header to call."}