Api Endpoint

DEX swap quote and best route

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.

Open interactive test console

Offering

Provider
api.marketintelligenceapi.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.marketintelligenceapi.com/api/v1/intelligence/quote
MIME type
application/json
First seen
2026-10-16T01:51:10.599Z
Last seen
Tags
Swap, Quote, DEX, slippage, routing, Trading, market data, trading signals, Crypto, tokenized stocks, on chain, order flow

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.005 USDC
Atomic price: 5000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.005 USDC
Atomic price: 5000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.005 USDC
Atomic price: 5000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 5
0.005 USDC
Atomic price: 5000 · Network: eip155:480 · Asset: USDC · Scheme: exact
Payment option 6
4500 atomic units
Atomic price: 4500 · Network: eip155:8453 · Asset: 0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42 · Scheme: exact
Payment option 7
4500 atomic units
Atomic price: 4500 · Network: eip155:480 · Asset: 0x1C60ba0A0eD1019e8Eb035E6daF4155A5cE2380B · Scheme: exact
Payment option 8
0.005 USDC
Atomic price: 5000 · Network: eip155:84532 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "5000",
    "payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "5000",
    "payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "payTo": "9CAhY1vdaZfrfoto3KLQtRAo1dVWxNn5xAfmc2XbZVsf"
  },
  {
    "scheme": "exact",
    "network": "eip155:480",
    "asset": "0x79A02482A880bCE3F13e09Da970dC34db4CD24d1",
    "amount": "5000",
    "payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42",
    "amount": "4500",
    "payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615"
  },
  {
    "scheme": "exact",
    "network": "eip155:480",
    "asset": "0x1C60ba0A0eD1019e8Eb035E6daF4155A5cE2380B",
    "amount": "4500",
    "payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615"
  },
  {
    "scheme": "exact",
    "network": "eip155:84532",
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "amount": "5000",
    "payTo": "0x48d5A78d480B4C32dE319C2aEF69e682Dc304615"
  }
]

Observed health

Status
Healthy
Latest latency
350 ms
Average latency
680 ms
HTTP status
402
Last checked
Reachability
100% over 15 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "const": "http",
      "type": "string"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "chain": {
          "type": "string",
          "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"
          ],
          "default": "base"
        },
        "sell": {
          "type": "string",
          "description": "Token to sell: ETH, WETH, USDC (USDT on Ethereum) or a 0x token address"
        },
        "buy": {
          "type": "string",
          "description": "Token to buy: ETH, WETH, USDC (USDT on Ethereum) or a 0x token address"
        },
        "amount": {
          "type": "string",
          "description": "Amount of the sell token in whole units, e.g. 1000 or 0.5"
        },
        "slippageBps": {
          "type": "integer",
          "description": "Slippage tolerance for minimumReceived, in basis points",
          "minimum": 1,
          "maximum": 5000,
          "default": 50
        }
      },
      "required": [
        "sell",
        "buy",
        "amount"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output 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"
}