Overview
Use when an agent needs a swap quote and price impact before trading. Input: chain (base, ethereum, arbitrum), from, to (ticker like USDC, ETH or 0x address), amounts (1-5 sizes in from-token units). Output: JSON per size best venue (Uniswap v3 fee tier, Uniswap v2, Aerodrome), amount out, effective price, price impact %, all venue quotes, spot price. Quote only: no calldata, nothing executed. Example: ?from=USDC&to=ETH&amounts=1000,100000
Protocol
x402
Price
$0.0020
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
crypto/defi
Provider
DEX Swap Quote
Indexed
2026-11-09 04:07:46
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"method": "GET",
"queryParams": {
"amounts": "1000,100000",
"chain": "base",
"from": "USDC",
"to": "ETH"
},
"type": "http"
}
Output Schema
{
"example": {
"asOf": "2026-11-08T09:05:41.331Z",
"cache": "miss",
"chain": "base",
"from": {
"decimals": 6,
"symbol": "USDC",
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"method": "eth_call quotes: Uniswap v3 QuoterV2 (4 fee tiers), Uniswap v2 Router02.getAmountsOut, Aerodrome pool.getAmountOut (volatile + stable). Direct pools only.",
"notes": [
"Quote only: no calldata, no approval, nothing executed. Amounts out include the pool fee; gas is not included."
],
"quotes": [
{
"amountIn": 1000,
"best": {
"amountOut": 0.44712671,
"effectivePrice": 0.00044712671,
"feeTier": "0.01%",
"priceImpactPct": 0.02,
"venue": "uniswap_v3"
},
"venues": [
{
"amountOut": 0.44712671,
"feeTier": "0.01%",
"venue": "uniswap_v3"
}
]
}
],
"spotPrice": 0.00044721625,
"spotPriceUnit": "WETH per 1 USDC (best direct pool at a small probe size, fee included)",
"to": {
"decimals": 18,
"symbol": "WETH",
"token": "0x4200000000000000000000000000000000000006"
}
},
"type": "json"
}