Api Endpoint

api.x402node.dev

On-chain Uniswap V3 swap quote for any token pair - estimated output amount, effective rate and best fee tier, read directly from pools across Base/Ethereum/Arbitrum/Optimism/Polygon - real-time executable pricing agents need before swapping that LLMs cannot compute. swap quote, swap estimate, uniswap quote, token swap rate, dex quote, how much will i get Accepts payment on Base or Solana — either network works.

Open interactive test console

Offering

Provider
api.x402node.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.x402node.dev/defi/swap-quote
MIME type
application/json
First seen
2026-10-16T02:09:24.457Z
Last seen
Tags
None supplied

Payment pricing

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

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x4466d4A84b7c49a6A094ec6eef4a0712D6dd125e"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "9urRvUx69HqAopg1JGV9P9wR7JdKoztzdkuNyJ8Eo1up"
  }
]

Observed health

Status
Healthy
Latest latency
188 ms
Average latency
584 ms
HTTP status
402
Last checked
Reachability
100% over 10 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": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "tokenIn": {
          "type": "string",
          "description": "Input token address (required)"
        },
        "from": {
          "type": "string",
          "description": "Source format (optional)"
        },
        "tokenOut": {
          "type": "string",
          "description": "Output token address (required)"
        },
        "to": {
          "type": "string",
          "description": "Target format (optional)"
        },
        "chain": {
          "type": "string",
          "description": "base (default), ethereum, arbitrum, optimism, polygon"
        },
        "amount": {
          "type": "string",
          "description": "Input amount (default 1)"
        }
      },
      "required": [
        "tokenIn",
        "tokenOut"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET"
          ]
        },
        "queryParams": {
          "type": "object",
          "properties": {
            "tokenIn": {
              "type": "string",
              "description": "Input token address (required)"
            },
            "from": {
              "type": "string",
              "description": "Source format (optional)"
            },
            "tokenOut": {
              "type": "string",
              "description": "Output token address (required)"
            },
            "to": {
              "type": "string",
              "description": "Target format (optional)"
            },
            "chain": {
              "type": "string",
              "description": "base (default), ethereum, arbitrum, optimism, polygon"
            },
            "amount": {
              "type": "string",
              "description": "Input amount (default 1)"
            }
          },
          "required": [
            "tokenIn",
            "tokenOut"
          ]
        }
      },
      "required": [
        "type",
        "method"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "input"
  ]
}