Skip to main content
Source OpenAPI: 0xArchive API 1.5.0; 140 paths; 119 component schemas. Aggregate open trigger orders into price buckets near the current mid/mark price, useful for liquidation-wall and stop/trigger heatmaps. Requires API key access to the L4/order-level surface. Explicit endpoint cost is 5 credits per request.

Route Metadata

FieldValue
MethodGET
Path/v1/hyperliquid/liquidations/{symbol}/levels
operationIdgetHyperliquidLiquidationLevels
TagHyperliquid - Liquidations
FamilyHyperliquid Core
Deprecated or legacyno

Request Parameters

Path Parameters

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "getHyperliquidLiquidationLevels path parameters",
  "type": "object",
  "required": [
    "symbol"
  ],
  "properties": {
    "symbol": {
      "description": "Trading pair symbol.",
      "type": "string",
      "example": "BTC",
      "x-parameter-location": "path"
    }
  }
}

Query Parameters

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "getHyperliquidLiquidationLevels query parameters",
  "type": "object",
  "properties": {
    "range_pct": {
      "description": "Percentage range around current mid/mark price. Values are clamped between 1 and 50. Default 10.",
      "type": "number",
      "default": 10,
      "minimum": 1,
      "maximum": 50,
      "x-parameter-location": "query"
    },
    "buckets": {
      "description": "Number of price buckets. Values are clamped between 10 and 200. Default 50.",
      "type": "integer",
      "default": 50,
      "minimum": 10,
      "maximum": 200,
      "x-parameter-location": "query"
    },
    "side": {
      "description": "Optional side filter. Accepted values: bid, ask, buy, sell, B, A.",
      "type": "string",
      "enum": [
        "bid",
        "ask",
        "buy",
        "sell",
        "B",
        "A"
      ],
      "x-parameter-location": "query"
    }
  }
}

Response Contracts

Status 200

Liquidation level buckets

application/json

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "getHyperliquidLiquidationLevels response 200",
  "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
    }
  }
}

Status 400

Invalid request

application/json

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "getHyperliquidLiquidationLevels response 400",
  "description": "Error response",
  "type": "object",
  "properties": {
    "code": {
      "description": "HTTP status code",
      "type": "integer"
    },
    "error": {
      "description": "Error message",
      "type": "string"
    }
  }
}
OpenAPI example
{
  "code": 400,
  "error": "Invalid request parameters"
}

Status 401

Authentication required

application/json

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "getHyperliquidLiquidationLevels response 401",
  "description": "Error response",
  "type": "object",
  "properties": {
    "code": {
      "description": "HTTP status code",
      "type": "integer"
    },
    "error": {
      "description": "Error message",
      "type": "string"
    }
  }
}
OpenAPI example
{
  "code": 401,
  "error": "Missing or invalid API key. Provide X-API-Key header."
}

Status 429

Rate limit exceeded

application/json

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "getHyperliquidLiquidationLevels response 429",
  "description": "Error response",
  "type": "object",
  "properties": {
    "code": {
      "description": "HTTP status code",
      "type": "integer"
    },
    "error": {
      "description": "Error message",
      "type": "string"
    }
  }
}
OpenAPI example
{
  "code": 429,
  "error": "Rate limit exceeded"
}
Last modified on June 19, 2026