Binance · Schema

OrderBook

CryptocurrencyExchangeTradingBlockchainFinanceDeFiMarket Data

Properties

Name Type Description
lastUpdateId integer Last update ID for the order book.
bids array Bid price and quantity pairs.
asks array Ask price and quantity pairs.
View JSON Schema on GitHub

JSON Schema

binance-orderbook-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OrderBook",
  "title": "OrderBook",
  "type": "object",
  "properties": {
    "lastUpdateId": {
      "type": "integer",
      "format": "int64",
      "description": "Last update ID for the order book."
    },
    "bids": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "description": "Bid price and quantity pairs."
    },
    "asks": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "description": "Ask price and quantity pairs."
    }
  }
}