Skip to main content
Source OpenAPI: 0xArchive API 1.5.0; 140 paths; 119 component schemas. Liquidation/trigger-order levels response body.

Required Fields

FieldTypeDescription
levelsarray<object>Defined by the generated JSON Schema block.
mid_pricenumberCurrent mid/mark price used as the center of the requested range.

JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "LiquidationLevelsData",
  "description": "Liquidation/trigger-order levels response body.",
  "type": "object",
  "required": [
    "levels",
    "mid_price"
  ],
  "properties": {
    "levels": {
      "type": "array",
      "items": {
        "description": "Aggregated trigger-order level near the current mark/mid price.",
        "type": "object",
        "required": [
          "ask_count",
          "ask_size",
          "bid_count",
          "bid_size",
          "price_bucket"
        ],
        "properties": {
          "ask_count": {
            "description": "Number of ask-side trigger orders in the bucket.",
            "type": "integer",
            "format": "int64",
            "example": 9
          },
          "ask_size": {
            "description": "Ask-side trigger size in the bucket.",
            "type": "number",
            "example": 18.75
          },
          "bid_count": {
            "description": "Number of bid-side trigger orders in the bucket.",
            "type": "integer",
            "format": "int64",
            "example": 12
          },
          "bid_size": {
            "description": "Bid-side trigger size in the bucket.",
            "type": "number",
            "example": 31.25
          },
          "price_bucket": {
            "description": "Rounded trigger price bucket.",
            "type": "number",
            "example": 64200
          }
        }
      }
    },
    "mid_price": {
      "description": "Current mid/mark price used as the center of the requested range.",
      "type": "number",
      "example": 64215
    }
  }
}

Referenced By

Use this shared schema with the generated component index and route-specific endpoint pages during implementation.
Last modified on June 19, 2026