Api Endpoint

x402-data-api.onrender.com

L2 ORDER-BOOK DEPTH — the live bid/ask ladder for any crypto pair, normalized across Coinbase, Binance.US and Kraken (auto-fallback, or pick a source). Returns bids/asks to your depth plus the analytics that matter: mid, spread (absolute + bps), book liquidity per side, and slippage estimates for $1k/$10k/$100k market orders both directions. Deterministic, no keys, ~1.5s cache. ?pair=BTC-USD&depth=50&source=auto

Open interactive test console

Offering

Provider
x402-data-api.onrender.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Location And Travel
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-data-api.onrender.com/api/orderbook
MIME type
application/json
First seen
2026-10-16T02:54:53.696Z
Last seen
Tags
Crypto Markets

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
38 ms
Average latency
49 ms
HTTP status
402
Last checked
Reachability
100% over 12 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": {
        "pair": {
          "type": "string",
          "description": "BASE-QUOTE, e.g. BTC-USD, ETH-USD, SOL-USD"
        },
        "depth": {
          "type": "number",
          "description": "price levels per side, 1-200 (default 50)"
        },
        "source": {
          "type": "string",
          "description": "auto (default), coinbase, binance, kraken"
        }
      },
      "required": [
        "pair"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "pair": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "mid": {
          "type": "number"
        },
        "spread": {
          "type": "number"
        },
        "spread_bps": {
          "type": "number"
        },
        "best_bid": {
          "type": "object"
        },
        "best_ask": {
          "type": "object"
        },
        "liquidity_quote": {
          "type": "object"
        },
        "slippage": {
          "type": "object"
        },
        "bids": {
          "type": "array"
        },
        "asks": {
          "type": "array"
        }
      }
    }
  },
  "required": [
    "type"
  ]
}