> ## 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.

# PriceLevel Schema

> Single price level in the order book. Includes required fields, field types, schema references, and generated JSON details from the 0xArchive OpenAPI contract.

Source OpenAPI: 0xArchive API 1.8.0; 227 paths; 217 component schemas.

Single price level in the order book

## Required Fields

| Field | Type | Description |
| - | - | - |
| `n` | integer | Number of orders at this level |
| `px` | string | Price |
| `sz` | string | Total size at this price level |

## JSON Schema

```json theme={"theme":"github-dark"}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "PriceLevel",
  "description": "Single price level in the order book",
  "type": "object",
  "required": [
    "n",
    "px",
    "sz"
  ],
  "properties": {
    "n": {
      "description": "Number of orders at this level",
      "type": "integer",
      "example": 15
    },
    "px": {
      "description": "Price",
      "type": "string",
      "example": "42150.00"
    },
    "sz": {
      "description": "Total size at this price level",
      "type": "string",
      "example": "1.5"
    }
  }
}
```

## Components using this schema

* [OrderBook](/schemas/components/order-book)

## Referenced By

Use this shared schema with the generated component index and route-specific endpoint pages during implementation.

## Operations using this component transitively

* [`GET /v1/hyperliquid/hip3/orderbook/{symbol}`](/schemas/operations/get-hip3-orderbook)
* [`GET /v1/hyperliquid/hip3/orderbook/{symbol}/history`](/schemas/operations/get-hip3-orderbook-history)
* [`GET /v1/hyperliquid/hip3/orderbook/{symbol}/l2`](/schemas/operations/get-hip3-full-depth-l2-orderbook)
* [`GET /v1/hyperliquid/hip3/orderbook/{symbol}/l2/history`](/schemas/operations/get-hip3-full-depth-l2-history)
* [`GET /v1/hyperliquid/hip4/orderbook/{symbol}`](/schemas/operations/get-hip4-orderbook)
* [`GET /v1/hyperliquid/hip4/orderbook/{symbol}/history`](/schemas/operations/get-hip4-orderbook-history)
* [`GET /v1/hyperliquid/orderbook/{symbol}`](/schemas/operations/get-hyperliquid-orderbook)
* [`GET /v1/hyperliquid/orderbook/{symbol}/history`](/schemas/operations/get-hyperliquid-orderbook-history)
* [`GET /v1/hyperliquid/orderbook/{symbol}/l2`](/schemas/operations/get-hyperliquid-full-depth-l2-orderbook)
* [`GET /v1/hyperliquid/orderbook/{symbol}/l2/history`](/schemas/operations/get-hyperliquid-full-depth-l2-history)
* [`GET /v1/hyperliquid/spot/orderbook/{symbol}`](/schemas/operations/get-hyperliquid-spot-orderbook)
* [`GET /v1/hyperliquid/spot/orderbook/{symbol}/history`](/schemas/operations/get-hyperliquid-spot-orderbook-history)
* [`GET /v1/lighter/orderbook/{symbol}`](/schemas/operations/get-lighter-orderbook)
* [`GET /v1/lighter/orderbook/{symbol}/history`](/schemas/operations/get-lighter-orderbook-history)
* [`GET /v1/rh-lighter/orderbook/{symbol}`](/schemas/operations/get-rh-lighter-orderbook)
* [`GET /v1/rh-lighter/orderbook/{symbol}/history`](/schemas/operations/get-rh-lighter-orderbook-history)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.