Api Endpoint

Order Book Depth and Slippage

Order book depth of one coin's perpetual on Bybit, Hyperliquid, dYdX, Gate, Kraken, Bitfinex, Deribit and OKX: best bid/ask, spread in bps, market depth in USD within 0.1/0.5/1/2% of mid, bid/ask imbalance, estimated slippage for your order size and the largest resting orders (walls). L2 orderbook liquidity for BTC, ETH, SOL and more. Data only. Bad input is free; under 2 venues not charged.

Open interactive test console

Offering

Provider
derivs.duoleads.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://derivs.duoleads.com/v1/orderbook
MIME type
application/json
First seen
2026-10-16T01:50:24.663Z
Last seen
Tags
order-book-depth, Orderbook, order-book, slippage, market-depth

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
164 ms
Average latency
485 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": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "coin": {
          "type": "string",
          "minLength": 1,
          "maxLength": 32,
          "pattern": "^[A-Za-z0-9][A-Za-z0-9_/-]*$",
          "description": "Coin symbol: BTC, ETH, SOL, PEPE ... (also BTCUSDT, BTC-PERP, XBT, 1000PEPE, kPEPE)."
        },
        "size_usd": {
          "type": "string",
          "pattern": "^[0-9]{1,13}(\\.[0-9]{1,8})?$",
          "default": "100000",
          "description": "Order size in USD for the slippage estimate, a plain decimal number from 1 to 1000000000. Default 100000."
        },
        "levels": {
          "type": "string",
          "pattern": "^0*([0-9]|1[0-9]|20)$",
          "default": "0",
          "description": "Also return the top N price levels per side (0-20). Default 0."
        }
      },
      "required": [
        "coin"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "coin": {
              "description": "Coin symbol: BTC, ETH, SOL, PEPE ... (also BTCUSDT, BTC-PERP, XBT, 1000PEPE, kPEPE).",
              "maxLength": 32,
              "minLength": 1,
              "type": "string"
            },
            "levels": {
              "default": "0",
              "description": "Also return the top N price levels per side (0-20). Default 0.",
              "pattern": "^[0-9]{1,2}$",
              "type": "string"
            },
            "size_usd": {
              "default": "100000",
              "description": "Order size in USD for the slippage estimate (1-1e9). Default 100000.",
              "type": "string"
            }
          },
          "required": [
            "coin"
          ],
          "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"
}