dexswap-quote
Non-custodial swap calldata for Base: give tokenIn, tokenOut, raw amountIn, slippage and recipient; we read Aerodrome and Uniswap V3 on-chain state, pick the max-output route, and return ready-to-sign transaction calldata plus the ERC-20 approval, amountOutMin, price impact and the venues compared. You sign with your own wallet — we never hold or move funds.
The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
"amount": "50000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 300
}
],
"resource": {
"url": "https://api.agentstools.dev/swap/quote",
"tags": [
"swap",
"dex",
"calldata",
"non-custodial",
"base",
"aerodrome",
"uniswap",
"defi",
"aggregator",
"on-chain",
"erc20",
"routing"
],
"mimeType": "application/json",
"description": "Non-custodial swap calldata for Base: give tokenIn, tokenOut, raw amountIn, slippage and recipient; we read Aerodrome and Uniswap V3 on-chain state, pick the max-output route, and return ready-to-sign transaction calldata plus the ERC-20 approval, amountOutMin, price impact and the venues compared. You sign with your own wallet — we never hold or move funds.",
"serviceName": "dexswap-quote"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"tokenIn": "WETH",
"amountIn": "1000000000000000000",
"tokenOut": "USDC",
"recipient": "0x1111111111111111111111111111111111111111",
"slippageBps": 50
}
},
"output": {
"type": "json",
"example": {
"chain": "eip155:8453",
"quote": {
"route": {
"hops": 1,
"venue": "univ3",
"feeTier": 500
},
"gasEstimate": 81662,
"slippageBps": 50,
"buyAmountRaw": "1840378178",
"priceImpactPct": 0.02,
"venuesCompared": [
{
"venue": "aerodrome",
"buyAmountRaw": "1838425629"
},
{
"venue": "univ3",
"buyAmountRaw": "1840378178"
}
],
"buyAmountMinRaw": "1831176287"
},
"network": "base",
"approval": {
"data": "0x095ea7b3...",
"spender": "0x2626664c...",
"amountRaw": "1000000000000000000"
},
"buyToken": {
"symbol": "USDC",
"decimals": 6
},
"deadline": null,
"warnings": [],
"sellToken": {
"symbol": "WETH",
"decimals": 18
},
"disclaimer": "not financial advice; you sign; ...",
"transaction": {
"to": "0x2626664c...",
"data": "0x04e45aaf...",
"value": "0"
},
"sellAmountRaw": "1000000000000000000"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method"
],
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"type": "object",
"required": [
"tokenIn",
"tokenOut",
"amountIn",
"recipient"
],
"properties": {
"tokenIn": {
"type": "string",
"description": "Sell token: a supported symbol (WETH, USDC, AERO, ...) or a 0x ERC-20 address on Base."
},
"amountIn": {
"type": "string",
"description": "Sell amount in RAW atomic units of tokenIn (e.g. 1 WETH = 1000000000000000000). Integer as string."
},
"tokenOut": {
"type": "string",
"description": "Buy token: a supported symbol or a 0x ERC-20 address on Base."
},
"recipient": {
"type": "string",
"description": "0x address that receives tokenOut (baked into the calldata)."
},
"slippageBps": {
"type": "integer",
"description": "Max slippage in basis points (50 = 0.5%). Default 50, max 5000."
},
"deadlineSeconds": {
"type": "integer",
"description": "Seconds from now until the swap deadline. Default 600."
}
}
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.
Pay 0.05 USDC on Base to 0xF22e…Ff493. The signed payment is good for 5 minutes.
- Paid to
- 0xF22e…Ff493
- USD Coin contract
- 0x8335…02913
- Payment window
- 5 minutes
- As published
- 50000 smallest units
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- 0xF22e…Ff493
- Token contract
- 0x3c49…c3359
- Payment window
- 5 minutes
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- 0xF22e…Ff493
- Token contract
- 0xaf88…e5831
- Payment window
- 5 minutes
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- 0xF22e…Ff493
- Token contract
- 0x79A0…D24D1
- Payment window
- 5 minutes
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- AytHnv…Z8R1u
- Token contract
- EPjFWd…TDt1v
- Payment window
- 5 minutes
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
"amount": "50000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 300
},
{
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
"amount": "50000",
"scheme": "exact",
"network": "eip155:137",
"maxTimeoutSeconds": 300
},
{
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
"amount": "50000",
"scheme": "exact",
"network": "eip155:42161",
"maxTimeoutSeconds": 300
},
{
"asset": "0x79A02482A880bCe3F13E09da970dC34dB4cD24D1",
"extra": {
"name": "USDC",
"version": "2"
},
"payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
"amount": "50000",
"scheme": "exact",
"network": "eip155:480",
"maxTimeoutSeconds": 300
},
{
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"feePayer": "D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM"
},
"payTo": "AytHnvc6bZx1ALTy7b5Px7hcavoSYszG9aeKvDcZ8R1u",
"amount": "50000",
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"maxTimeoutSeconds": 300
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"tokenIn": "WETH",
"amountIn": "1000000000000000000",
"tokenOut": "USDC",
"recipient": "0x1111111111111111111111111111111111111111",
"slippageBps": 50
}
},
"output": {
"type": "json",
"example": {
"chain": "eip155:8453",
"quote": {
"route": {
"hops": 1,
"venue": "univ3",
"feeTier": 500
},
"gasEstimate": 81662,
"slippageBps": 50,
"buyAmountRaw": "1840378178",
"priceImpactPct": 0.02,
"venuesCompared": [
{
"venue": "aerodrome",
"buyAmountRaw": "1838425629"
},
{
"venue": "univ3",
"buyAmountRaw": "1840378178"
}
],
"buyAmountMinRaw": "1831176287"
},
"network": "base",
"approval": {
"data": "0x095ea7b3...",
"spender": "0x2626664c...",
"amountRaw": "1000000000000000000"
},
"buyToken": {
"symbol": "USDC",
"decimals": 6
},
"deadline": null,
"warnings": [],
"sellToken": {
"symbol": "WETH",
"decimals": 18
},
"disclaimer": "not financial advice; you sign; ...",
"transaction": {
"to": "0x2626664c...",
"data": "0x04e45aaf...",
"value": "0"
},
"sellAmountRaw": "1000000000000000000"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method"
],
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"type": "object",
"required": [
"tokenIn",
"tokenOut",
"amountIn",
"recipient"
],
"properties": {
"tokenIn": {
"type": "string",
"description": "Sell token: a supported symbol (WETH, USDC, AERO, ...) or a 0x ERC-20 address on Base."
},
"amountIn": {
"type": "string",
"description": "Sell amount in RAW atomic units of tokenIn (e.g. 1 WETH = 1000000000000000000). Integer as string."
},
"tokenOut": {
"type": "string",
"description": "Buy token: a supported symbol or a 0x ERC-20 address on Base."
},
"recipient": {
"type": "string",
"description": "0x address that receives tokenOut (baked into the calldata)."
},
"slippageBps": {
"type": "integer",
"description": "Max slippage in basis points (50 = 0.5%). Default 50, max 5000."
},
"deadlineSeconds": {
"type": "integer",
"description": "Seconds from now until the swap deadline. Default 600."
}
}
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-08-17 09:56Z
- Last indexed by Roundhouse
- 2026-09-16 09:50Z
- Last enriched (probe, favicon, geo)
- 2026-09-23 18:15Z
- x402 version
- 2
- Max timeout
- 300s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 24 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service dexswap-quote and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=dexswap-quote' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://api.agentstools.dev/swap/quote, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402, or use an organization key from https://roundhouseai.io/dashboard/team. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.