DEX Swap Quotes API
Best swap quotes across Uniswap, SushiSwap, Aerodrome -- price impact, route, slippage. Pre-trade essential. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.
接入你的智能体
發布者自己的 URL。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
https://dex-quotes.api.klymax402.com/mcp上方的 Claude 按鈕會開啟 Claude,並填好名稱和 URL。你仍需在那裡確認。
claude mcp add --transport http io.github.br0ski777-dex-quotes https://dex-quotes.api.klymax402.com/mcpRun in a terminal.
{ "mcpServers": { "io.github.br0ski777-dex-quotes": { "command": "npx", "args": [ "-y", "mcp-remote", "https://dex-quotes.api.klymax402.com/mcp" ] } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
Best swap quotes across Uniswap, SushiSwap, Aerodrome -- price impact, route, slippage. Pre-trade essential. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.
Best swap quotes across DEXes (Uniswap, SushiSwap, Aerodrome). Base & Ethereum. x402.
Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.
Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):
{
"mcpServers": {
"dex-quotes": {
"url": "https://dex-quotes.api.klymax402.com/mcp"
}
}
}
curl "https://dex-quotes.api.klymax402.com/api/quote?tokenIn=...&tokenOut=...&amount=..."
# -> 402 Payment Required, with an x402 payment challenge in the response body
Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.
dex_get_swap_quoteUse this when you need a swap quote before trading tokens on-chain. Returns the best price across multiple DEXes in JSON.
Parameters
Returns
bestDex -- which DEX offers the best rate (Uniswap, SushiSwap, Aerodrome)amountOut -- expected output token amountpriceImpact -- percentage price impact of the trademinimumReceived -- minimum output after slippage toleranceroute -- swap path (e.g. USDC -> WETH -> TOKEN)gasEstimateUsd -- estimated gas cost in USDExample response:
{"bestDex":"Uniswap V3","amountOut":"0.3215","priceImpact":"0.12%","minimumReceived":"0.3183","route":["USDC","WETH"],"gasEstimateUsd":0.04}
When to use: executing any token swap to find the best rate and estimate slippage. Essential for trade sizing and DEX comparison.
Not for: gas estimation only (use gas_get_current_price), yield opportunities (use defi_find_best_yields), wallet balance (use wallet_get_portfolio).
dex_get_swap_quoteUse this when you need a swap quote before trading tokens on-chain. Returns the best price across multiple DEXes in JSON. POST variant of dex_get_swap_quote -- same params passed as JSON body instead of query string.
Parameters
Returns
bestDex -- which DEX offers the best rate (Uniswap, SushiSwap, Aerodrome)amountOut -- expected output token amountpriceImpact -- percentage price impact of the trademinimumReceived -- minimum output after slippage toleranceroute -- swap path (e.g. USDC -> WETH -> TOKEN)gasEstimateUsd -- estimated gas cost in USDExample response:
{"bestDex":"Uniswap V3","amountOut":"0.3215","priceImpact":"0.12%","minimumReceived":"0.3183","route":["USDC","WETH"],"gasEstimateUsd":0.04}
When to use: executing any token swap to find the best rate and estimate slippage. Essential for trade sizing and DEX comparison.
Not for: gas estimation only (use gas_get_current_price), yield opportunities (use defi_find_best_yields), wallet balance (use wallet_get_portfolio).
100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.
MIT
Best swap quotes across DEXes (Uniswap, SushiSwap, Aerodrome). Base & Ethereum. x402.
{ "mcpServers": { "io.github.br0ski777-dex-quotes": { "url": "https://dex-quotes.api.klymax402.com/mcp", "headers": {} } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 http 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
DEX Swap Quotes API 透過 HTTP 存取。
上次檢查時間:2026-11-08。 Best swap quotes across DEXes (Uniswap, SushiSwap, Aerodrome). Base & Ethereum. x402.