Market Data · x402

On-chain DEX pool data API: reads Uniswap v2/v3-compatible liquidity pools from Ethereu…

On-chain DEX pool data API: reads Uniswap v2/v3-compatible liquidity pools from Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, and Avalanche via JSON-RPC — no third-party data vendor. Auto-detects pool type; returns token addresses, symbols, decimals, spot…

by gateway.stride20k.com · discovered, not yet claimed by its owner · updated 2026-08-30

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

On-chain DEX pool data API: reads Uniswap v2/v3-compatible liquidity pools from Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, and Avalanche via JSON-RPC — no third-party data vendor. Auto-detects pool type; returns token addresses, symbols, decimals, spot price both directions, v3 fee tier, sqrtPriceX96 and in-range liquidity, or v2 decimal-adjusted reserves. For price discovery, liquidity checks, and trading agents needing trustless pair state. Cached up to 30 seconds.

Tags: bazaar

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/1153.json for the price and payment options.
  3. Pay. Call GET https://gateway.stride20k.com/dex/pool/:chain/:poolAddress. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with 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, 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.01 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Uptime
0 of the last 1 checks answered
Calls (30d)
3 · 2 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010x552Cc4A10878C7F20574489D47184249657Ca3f660s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x552Cc4A10878C7F20574489D47184249657Ca3f6",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "bazaar": {
    "info": {
      "input": {
        "method": "GET",
        "pathParams": {
          "chain": "base",
          "poolAddress": "0xd0b53D9277642d899DF5C87A3966A349A798F224"
        },
        "queryParams": {},
        "type": "http"
      },
      "output": {
        "example": {
          "data": {
            "chain": "base",
            "feeTierBps": 5,
            "inRangeLiquidity": "982849519553028412",
            "pool": "0xd0b53d9277642d899df5c87a3966a349a798f224",
            "poolType": "uniswap-v3-compatible",
            "price": {
              "token0PerToken1": 0.000571,
              "token1PerToken0": 1749.08
            },
            "sqrtPriceX96": "3313476886659605909169204",
            "token0": {
              "address": "0x4200000000000000000000000000000000000006",
              "decimals": 18,
              "symbol": "WETH"
            },
            "token1": {
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "decimals": 6,
              "symbol": "USDC"
            }
          },
          "endpoint": "/dex/pool/:chain/:poolAddress",
          "meta": {
            "attribution": null,
            "cached": false,
            "fetchedAt": "2026-07-04T00:00:00.000Z",
            "source": "on-chain (PublicNode/dRPC JSON-RPC)"
          },
          "ok": true
        },
        "type": "json"
      }
    },
    "routeTemplate": "/dex/pool/:chain/:poolAddress",
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "method": {
              "enum": [
                "GET"
              ],
              "type": "string"
            },
            "pathParams": {
              "properties": {
                "chain": {
                  "aliases": {
                    "1": "ethereum",
                    "10": "optimism",
                    "56": "bsc",
                    "137": "polygon",
                    "8453": "base",
                    "42161": "arbitrum",
                    "43114": "avalanche",
                    "arb": "arbitrum",
                    "avax": "avalanche",
                    "bnb": "bsc",
                    "eth": "ethereum",
                    "matic": "polygon",
                    "op": "optimism"
                  },
                  "description": "Chain to read from. Shorthands accepted: 1, 10, 56, 137, 8453, 42161, 43114, eth, arb, op, matic, avax, bnb.",
                  "enum": [
                    "ethereum",
                    "base",
                    "polygon",
                    "arbitrum",
                    "optimism",
                    "bsc",
                    "avalanche"
                  ],
                  "missTrack": true,
                  "normalize": "lower",
                  "type": "string"
                },
                "poolAddress": {
                  "description": "Pool (pair) contract address, 0x-prefixed.",
                  "pattern": "0x[a-fA-F0-9]{40}",
                  "type": "string"
                }
              },
              "required": [
                "chain",
                "poolAddress"
              ],
              "type": "object"
            },
            "queryParams": {
              "properties": {},
              "type": "object"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "properties": {
                "data": {
                  "properties": {
                    "chain": {
                      "description": "Chain queried.",
                      "type": "string"
                    },
                    "feeTierBps": {
                      "description": "v3 only: fee tier in basis points (e.g. 30 = 0.3%).",
                      "type": "number"
                    },
                    "inRangeLiquidity": {
                      "description": "v3 only: current in-range liquidity, as decimal string.",
                      "type": "string"
                    },
                    "pool": {
                      "description": "Pool contract address.",
                      "type": "string"
                    },
                    "poolType": {
                      "description": "'uniswap-v3-compatible' or 'uniswap-v2-compatible'.",
                      "type": "string"
                    },
                    "price": {
                      "description": "Decimal-adjusted spot price: { token1PerToken0, token0PerToken1 }.",
                      "type": "object"
                    },
                    "reserves": {
                      "description": "v2 only: decimal-adjusted { token0, token1 } reserves.",
                      "type": "object"
                    },
                    "sqrtPriceX96": {
                      "description": "v3 only: raw sqrt price, Q64.96, as decimal string.",
                      "type": "string"
                    },
                    "token0": {
                      "description": "First pool token: { address, symbol, decimals }.",
                      "type": "object"
                    },
                    "token1": {
                      "description": "Second pool token: { address, symbol, decimals }.",
                      "type": "object"
                    }
                  },
                  "required": [
                    "chain",
                    "pool",
                    "poolType",
                    "token0",
                    "token1",
                    "price"
                  ],
                  "type": "object"
                },
                "endpoint": {
                  "description": "Always \"/dex/pool/:chain/:poolAddress\".",
                  "type": "string"
                },
                "meta": {
                  "properties": {
                    "attribution": {
                      "description": "Licensing attribution when the source requires it.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cached": {
                      "description": "Whether this response was served from cache.",
                      "type": "boolean"
                    },
                    "fetchedAt": {
                      "description": "ISO 8601 time the data was actually retrieved from the upstream.",
                      "type": "string"
                    },
                    "source": {
                      "description": "Upstream source: on-chain (PublicNode/dRPC JSON-RPC).",
                      "type": "string"
                    }
                  },
                  "required": [
                    "source",
                    "cached",
                    "fetchedAt"
                  ],
                  "type": "object"
                },
                "ok": {
                  "description": "true on success.",
                  "type": "boolean"
                }
              },
              "required": [
                "ok",
                "endpoint",
                "data",
                "meta"
              ],
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}
Example shape — generated from the schema, not a captured live response
null

Examples

curl
curl "https://gateway.stride20k.com/dex/pool/:chain/:poolAddress"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://gateway.stride20k.com/dex/pool/:chain/:poolAddress");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://gateway.stride20k.com/dex/pool/:chain/:poolAddress")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
gateway.stride20k.com
Endpoint
https://gateway.stride20k.com/dex/pool/:chain/:poolAddress
Machine-readable
/resources/1153.json