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

# LiquidationLevelsHistoryItem Schema

> One historical liquidation-levels snapshot. Includes generated fields, route metadata, response shapes, and implementation-safe 0xArchive contract details.

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

One historical liquidation-levels snapshot. levels is omitted when summary=true.

## Required Fields

| Field              | Type          | Description                                 |
| ------------------ | ------------- | ------------------------------------------- |
| `block_number`     | integer:int64 | Defined by the generated JSON Schema block. |
| `flagged_notional` | number        | Defined by the generated JSON Schema block. |
| `mid_price`        | number        | Defined by the generated JSON Schema block. |
| `snapshot_ts`      | string        | Defined by the generated JSON Schema block. |
| `total_long`       | number        | Defined by the generated JSON Schema block. |
| `total_short`      | number        | Defined by the generated JSON Schema block. |

## JSON Schema

```json theme={"theme":"github-dark"}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "LiquidationLevelsHistoryItem",
  "description": "One historical liquidation-levels snapshot. levels is omitted when summary=true.",
  "type": "object",
  "required": [
    "block_number",
    "flagged_notional",
    "mid_price",
    "snapshot_ts",
    "total_long",
    "total_short"
  ],
  "properties": {
    "block_number": {
      "type": "integer",
      "format": "int64"
    },
    "flagged_notional": {
      "type": "number"
    },
    "levels": {
      "type": "array",
      "items": {
        "description": "One price bucket of projected forced-liquidation exposure.",
        "type": "object",
        "required": [
          "long_count",
          "long_notional",
          "price",
          "short_count",
          "short_notional"
        ],
        "properties": {
          "long_count": {
            "description": "Number of long positions in this bucket.",
            "type": "integer"
          },
          "long_notional": {
            "description": "USD notional of long positions projected to liquidate in this bucket.",
            "type": "number"
          },
          "price": {
            "description": "Bucket center price.",
            "type": "number"
          },
          "short_count": {
            "description": "Number of short positions in this bucket.",
            "type": "integer"
          },
          "short_notional": {
            "description": "USD notional of short positions projected to liquidate in this bucket.",
            "type": "number"
          }
        }
      }
    },
    "mid_price": {
      "type": "number"
    },
    "snapshot_ts": {
      "type": "string"
    },
    "total_long": {
      "type": "number"
    },
    "total_short": {
      "type": "number"
    }
  }
}
```

## Referenced By

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