> ## Documentation Index
> Fetch the complete documentation index at: https://docs.0xarchive.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ApiResponseL2OrderBookDiffArray Schema

> ApiResponseL2OrderBookDiffArray JSON Schema for 0xArchive OpenAPI responses and field contracts. Includes schemas, examples, and implementation notes.

Source OpenAPI: 0xArchive API 1.6.1; 147 paths; 128 component schemas.

Use the JSON Schema block below for field-level types, required fields, nested objects, and enum values.

## Required Fields

No required fields are declared on this component schema.

## JSON Schema

```json theme={"theme":"github-dark"}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ApiResponseL2OrderBookDiffArray",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "description": "Full-depth L2 aggregate diff event derived from L4 deltas",
        "type": "object",
        "required": [
          "block_number",
          "count",
          "price",
          "side",
          "size",
          "timestamp"
        ],
        "properties": {
          "block_number": {
            "description": "Hyperliquid block number for the diff event",
            "type": "integer",
            "format": "int64",
            "example": 1023882395
          },
          "count": {
            "description": "Number of orders at the price level after the diff",
            "type": "integer",
            "example": 3
          },
          "price": {
            "description": "Price level changed by this diff",
            "type": "number",
            "example": 61088
          },
          "side": {
            "description": "Book side: B for bid, A for ask",
            "type": "string",
            "enum": [
              "B",
              "A"
            ],
            "example": "B"
          },
          "size": {
            "description": "Aggregate size at the price level after the diff",
            "type": "number",
            "example": 0.40603
          },
          "timestamp": {
            "description": "Diff timestamp (UTC)",
            "type": "string",
            "format": "date-time",
            "example": "2026-06-05T13:53:33.971Z"
          }
        }
      }
    },
    "meta": {
      "description": "Response metadata",
      "type": "object",
      "properties": {
        "count": {
          "description": "Number of records returned",
          "type": "integer"
        },
        "coverage_from": {
          "description": "Earliest coverage for the requested symbol and data type. Present only when the requested window ends before coverage begins.",
          "type": "string",
          "format": "date-time"
        },
        "next_cursor": {
          "description": "Cursor for pagination (timestamp). Use this value as the `cursor` parameter to fetch the next page of results.",
          "type": "string",
          "nullable": true
        },
        "notice": {
          "description": "Human-readable advisory about the response. Currently used when the requested window ends before coverage begins for the symbol; may carry other advisories in future.",
          "type": "string"
        },
        "request_id": {
          "description": "Unique request ID for support",
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "success": {
      "type": "boolean",
      "example": true
    }
  }
}
```

## Referenced By

* [GET /v1/hyperliquid/hip3/orderbook/{symbol}/l2/diffs](/schemas/operations/get-hip3-full-depth-l2-diffs)
* [GET /v1/hyperliquid/orderbook/{symbol}/l2/diffs](/schemas/operations/get-hyperliquid-full-depth-l2-diffs)
