Skip to main content
Glama

get_dex_quotes

Compare DEX swap quotes across Uniswap, SushiSwap, and 1inch to identify optimal prices, price impact, liquidity, and fees for token exchanges.

Instructions

Compare swap quotes across DEXes: Uniswap, SushiSwap, and 1inch. Returns best price, price impact, liquidity, and estimated fees for each venue. Costs 0.002 USDC per call (x402 micropayment on Base).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYesInput token symbol or address (e.g. "ETH", "USDC", "0x...")
toYesOutput token symbol or address (e.g. "USDC", "DAI", "0x...")
amountYesAmount to swap (e.g. "1.5" for 1.5 ETH)
chainNoChain to query (e.g. "ethereum", "base", "arbitrum"). Defaults to "ethereum".

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fernsugi/x402-api'

If you have feedback or need assistance with the MCP directory API, please join our Discord server