Api Endpoint

AllTheBot Base swap quote

Swap quote and best DEX price on Base: live quotes from Uniswap v3 (all fee tiers) and Aerodrome (stable/volatile) for any ERC-20 pair, ranked best first, with a low-liquidity flag. ETH, USDC, cbBTC, DAI or any token address. Read-only, no swap executed.

Open interactive test console

Offering

Provider
api.zkrobotics.fr
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.zkrobotics.fr/x402/base/swap-quote
MIME type
application/json
First seen
2026-10-16T01:50:32.458Z
Last seen
Tags
Swap, Quote, DEX, best-price, Base

Payment pricing

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

Payment option 1
0.0025 USDC
Atomic price: 2500 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2500",
    "payTo": "0x60fd97850059dF9600C4E26f09aC58EF51561963"
  }
]

Observed health

Status
Healthy
Latest latency
358 ms
Average latency
1197 ms
HTTP status
402
Last checked
Reachability
100% over 14 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",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "token_in": {
          "type": "string",
          "maxLength": 42
        },
        "token_out": {
          "type": "string",
          "maxLength": 42
        },
        "amount_in": {
          "type": "string",
          "pattern": "^[0-9]{1,30}(\\.[0-9]{1,30})?$"
        }
      },
      "required": [
        "token_in",
        "token_out",
        "amount_in"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "amount_in": {
              "pattern": "^[0-9]{1,30}(\\.[0-9]{1,30})?$",
              "type": "string"
            },
            "token_in": {
              "maxLength": 42,
              "type": "string"
            },
            "token_out": {
              "maxLength": 42,
              "type": "string"
            }
          },
          "required": [
            "token_in",
            "token_out",
            "amount_in"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}