DEX swap quote and best route ($0.005): how much you get now across Uniswap v2/v3/v4 an…
DEX swap quote and best route ($0.005): how much you get now across Uniswap v2/v3/v4 and Aerodrome (direct or through WETH) on Base, Ethereum, Arbitrum, Optimism or Polygon, with price impact, the minimum to accept at your slippage and alternative routes. Sim…
by api.marketintelligenceapi.com · discovered, not yet claimed by its owner · updated 2026-10-07
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
DEX swap quote and best route ($0.005): how much you get now across Uniswap v2/v3/v4 and Aerodrome (direct or through WETH) on Base, Ethereum, Arbitrum, Optimism or Polygon, with price impact, the minimum to accept at your slippage and alternative routes. Simulated with eth_call; nothing is executed. Use right before an on-chain swap.
Tags: swap · quote · dex · slippage · routing · bazaar
Call contract
- Method
- GET
- Input
- HTTP request
- Output
- json
- Last paid call
- 2026-10-07
{
"best": {
"dex": "uniswap_v3",
"minimumReceived": "0.37108",
"priceImpactPercent": 0.01,
"route": {
"fee": 500
}
},
"buy": {
"amount": "0.3729",
"symbol": "WETH"
},
"chain": "base",
"sell": {
"amount": "1000",
"symbol": "USDC"
}
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/35246.jsonfor the price and payment options. - Pay. Call
GET https://api.marketintelligenceapi.com/api/v1/intelligence/quote. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Polygon, Arbitrum One, Solana, eip155:480, Base Sepolia, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Polygon, Arbitrum One, Solana, eip155:480, Base Sepolia
- Demand
- 3 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0x48d5A78d480B4C32dE319C2aEF69e682Dc304615 | 60s |
| exact | Polygon eip155:137 | USDC | $0.005 | 0x48d5A78d480B4C32dE319C2aEF69e682Dc304615 | 60s |
| exact | Arbitrum One eip155:42161 | USDC | $0.005 | 0x48d5A78d480B4C32dE319C2aEF69e682Dc304615 | 60s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.005 | 9CAhY1vdaZfrfoto3KLQtRAo1dVWxNn5xAfmc2XbZVsf | 60s |
| exact | eip155:480 eip155:480 | 0x79A02482A880bCE3F13e09Da970dC34db4CD24d1 | 5000 | 0x48d5A78d480B4C32dE319C2aEF69e682Dc304615 | 60s |
| exact | Base eip155:8453 | 0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42 | 4500 | 0x48d5A78d480B4C32dE319C2aEF69e682Dc304615 | 60s |
| exact | eip155:480 eip155:480 | 0x1C60ba0A0eD1019e8Eb035E6daF4155A5cE2380B | 4500 | 0x48d5A78d480B4C32dE319C2aEF69e682Dc304615 | 60s |
| exact | Base Sepolia eip155:84532 | USDC | 5000 | 0x48d5A78d480B4C32dE319C2aEF69e682Dc304615 | 60s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "eip155:42161",
"payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "9CAhY1vdaZfrfoto3KLQtRAo1dVWxNn5xAfmc2XbZVsf",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "eip155:480",
"payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615",
"asset": "0x79A02482A880bCE3F13e09Da970dC34db4CD24d1",
"amount": "5000",
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615",
"asset": "0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42",
"amount": "4500",
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "eip155:480",
"payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615",
"asset": "0x1C60ba0A0eD1019e8Eb035E6daF4155A5cE2380B",
"amount": "4500",
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "eip155:84532",
"payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615",
"asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"amount": "5000",
"maxTimeoutSeconds": 60
}
]Schemas
Output schema (JSON Schema)
{
"additionalProperties": true,
"properties": {
"example": {
"description": "Example JSON response returned by this endpoint"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": null,
"type": "string"
}Examples
curl -X GET 'https://api.marketintelligenceapi.com/api/v1/intelligence/quote'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://api.marketintelligenceapi.com/api/v1/intelligence/quote", {
"method": "GET"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.request("GET", "https://api.marketintelligenceapi.com/api/v1/intelligence/quote")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.marketintelligenceapi.com
- Endpoint
- https://api.marketintelligenceapi.com/api/v1/intelligence/quote
- Machine-readable
/resources/35246.json