{
  "x402Version": 2,
  "id": 35246,
  "slug": "35246",
  "resource": "https://api.marketintelligenceapi.com/api/v1/intelligence/quote",
  "description": "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.",
  "type": "http",
  "serviceName": "DEX swap quote and best route",
  "resourceType": "Market Data",
  "accepts": [
    {
      "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
    }
  ],
  "outputSchema": {
    "additionalProperties": true,
    "properties": {
      "example": {
        "description": "Example JSON response returned by this endpoint"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "type": "http"
        },
        "output": {
          "example": {
            "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"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Amount of the sell token in whole units, e.g. 1000 or 0.5",
                    "type": "string"
                  },
                  "buy": {
                    "description": "Token to buy: ETH, WETH, USDC (USDT on Ethereum) or a 0x token address",
                    "type": "string"
                  },
                  "chain": {
                    "default": "base",
                    "description": "Chain the swap is quoted on: base, ethereum, arbitrum, optimism or polygon. Not the payment network: payment networks are in x-payment-info.networks.",
                    "enum": [
                      "base",
                      "ethereum",
                      "arbitrum",
                      "optimism",
                      "polygon"
                    ],
                    "type": "string"
                  },
                  "sell": {
                    "description": "Token to sell: ETH, WETH, USDC (USDT on Ethereum) or a 0x token address",
                    "type": "string"
                  },
                  "slippageBps": {
                    "default": 50,
                    "description": "Slippage tolerance for minimumReceived, in basis points",
                    "maximum": 5000,
                    "minimum": 1,
                    "type": "integer"
                  }
                },
                "required": [
                  "sell",
                  "buy",
                  "amount"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "additionalProperties": true,
            "properties": {
              "example": {
                "description": "Example JSON response returned by this endpoint"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input",
          "output"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "swap",
    "quote",
    "dex",
    "slippage",
    "routing",
    "bazaar"
  ],
  "sourceHost": "api.marketintelligenceapi.com",
  "lastUpdated": "2026-10-07T18:40:26.656Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-07T18:40:26.418Z"
  },
  "metadata": {
    "serviceName": "DEX swap quote and best route",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "type": "http"
          },
          "output": {
            "example": {
              "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"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "additionalProperties": false,
                  "properties": {
                    "amount": {
                      "description": "Amount of the sell token in whole units, e.g. 1000 or 0.5",
                      "type": "string"
                    },
                    "buy": {
                      "description": "Token to buy: ETH, WETH, USDC (USDT on Ethereum) or a 0x token address",
                      "type": "string"
                    },
                    "chain": {
                      "default": "base",
                      "description": "Chain the swap is quoted on: base, ethereum, arbitrum, optimism or polygon. Not the payment network: payment networks are in x-payment-info.networks.",
                      "enum": [
                        "base",
                        "ethereum",
                        "arbitrum",
                        "optimism",
                        "polygon"
                      ],
                      "type": "string"
                    },
                    "sell": {
                      "description": "Token to sell: ETH, WETH, USDC (USDT on Ethereum) or a 0x token address",
                      "type": "string"
                    },
                    "slippageBps": {
                      "default": 50,
                      "description": "Slippage tolerance for minimumReceived, in basis points",
                      "maximum": 5000,
                      "minimum": 1,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "sell",
                    "buy",
                    "amount"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "additionalProperties": true,
              "properties": {
                "example": {
                  "description": "Example JSON response returned by this endpoint"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input",
            "output"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.marketintelligenceapi.com",
    "manifest_name": "api.marketintelligenceapi.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "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"
    }
  }
}