Skip to main content
Source OpenAPI: 0xArchive API 1.5.0; 140 paths; 119 component schemas. API response containing liquidation level buckets.

Required Fields

No required fields are declared on this component schema.

JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ApiResponseLiquidationLevels",
  "description": "API response containing liquidation level buckets.",
  "type": "object",
  "properties": {
    "data": {
      "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
        }
      }
    },
    "meta": {
      "description": "Response metadata",
      "type": "object",
      "properties": {
        "count": {
          "description": "Number of records returned",
          "type": "integer"
        },
        "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
        },
        "request_id": {
          "description": "Unique request ID for support",
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "success": {
      "type": "boolean",
      "example": true
    }
  }
}

Referenced By

Last modified on June 19, 2026