Route Metadata
| Field | Value |
|---|---|
| Method | GET |
| Path | /v1/hyperliquid/hip3/liquidations/{symbol}/levels |
| operationId | getHip3LiquidationLevels |
| Tag | HIP-3 - Liquidations |
| Family | HIP-3 |
| Deprecated or legacy | no |
Request Parameters
Path Parameters
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "getHip3LiquidationLevels path parameters",
"type": "object",
"required": [
"symbol"
],
"properties": {
"symbol": {
"description": "Trading pair symbol.",
"type": "string",
"example": "xyz:TSLA",
"x-parameter-location": "path"
}
}
}
Query Parameters
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "getHip3LiquidationLevels query parameters",
"type": "object",
"properties": {
"range_pct": {
"description": "Percentage range around the snapshot mid/mark price. 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. Clamped between 10 and 200. Default 50.",
"type": "integer",
"default": 50,
"minimum": 10,
"maximum": 200,
"x-parameter-location": "query"
},
"side": {
"description": "Optional side filter. bid/buy/B keeps the long (or bid) side, ask/sell/A keeps the short (or ask) side; the other side is zeroed.",
"type": "string",
"enum": [
"bid",
"ask",
"buy",
"sell",
"B",
"A"
],
"x-parameter-location": "query"
},
"at": {
"description": "Point-in-time read: epoch milliseconds (UTC). Serves the newest snapshot at or before this instant. Omit for the latest snapshot. History begins 2026-07-27; earlier instants return 404.",
"type": "integer",
"format": "int64",
"x-parameter-location": "query"
}
}
}
Response Contracts
Status 200
Get HIP-3 liquidation levelsapplication/json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "getHip3LiquidationLevels response 200",
"description": "API response containing projected forced-liquidation levels for one snapshot.",
"type": "object",
"properties": {
"data": {
"description": "Projected forced-liquidation levels computed from clearinghouse positions and margin state (positions plus maintenance-margin tiers), aggregated into price buckets around the snapshot mark price. Snapshots are computed roughly every 45 minutes; snapshot_ts identifies the snapshot served.",
"type": "object",
"required": [
"block_number",
"flagged_notional",
"levels",
"mid_price",
"snapshot_ts",
"total_long",
"total_short"
],
"properties": {
"block_number": {
"description": "Hyperliquid block height the snapshot reflects.",
"type": "integer",
"format": "int64"
},
"flagged_notional": {
"description": "Notional reported in totals but computed approximately or not bucketed (for HIP-3, cross-margined exposure is reported here and excluded from buckets).",
"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": {
"description": "Mark price at the snapshot, center of the requested range.",
"type": "number",
"example": 64215
},
"snapshot_ts": {
"description": "UTC snapshot time the levels reflect. Treat snapshots older than 2 hours as stale.",
"type": "string"
},
"total_long": {
"description": "Total long notional at risk across the whole book, not only the returned window.",
"type": "number"
},
"total_short": {
"description": "Total short notional at risk across the whole book.",
"type": "number"
}
}
},
"meta": {
"description": "Response metadata",
"type": "object",
"properties": {
"count": {
"description": "Number of records returned",
"type": "integer"
},
"coverage_from": {
"description": "Earliest coverage for the requested symbol and data type. Present only when the requested window ends before coverage begins.",
"type": "string",
"format": "date-time"
},
"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
},
"notice": {
"description": "Human-readable advisory about the response. Currently used when the requested window ends before coverage begins for the symbol; may carry other advisories in future.",
"type": "string"
},
"request_id": {
"description": "Unique request ID for support",
"type": "string",
"format": "uuid"
}
}
},
"success": {
"type": "boolean",
"example": true
}
}
}
Status 400
Invalid requestapplication/json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "getHip3LiquidationLevels response 400",
"description": "Error response",
"type": "object",
"properties": {
"code": {
"description": "HTTP status code",
"type": "integer"
},
"error": {
"description": "Error message",
"type": "string"
},
"error_code": {
"description": "Machine-readable error code. Common values: `invalid_query_params` (a query parameter failed to parse or validate) and `invalid_path_params` (a path parameter failed to parse). Other endpoint-specific codes exist; treat unknown codes as generic errors of the given HTTP status.",
"type": "string"
},
"request_id": {
"description": "Unique request ID for support",
"type": "string",
"format": "uuid"
}
}
}
OpenAPI example
{
"code": 400,
"error": "Failed to deserialize query string: limit: invalid digit found in string",
"error_code": "invalid_query_params",
"request_id": "3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05"
}
Status 401
Authentication requiredapplication/json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "getHip3LiquidationLevels response 401",
"description": "Error response",
"type": "object",
"properties": {
"code": {
"description": "HTTP status code",
"type": "integer"
},
"error": {
"description": "Error message",
"type": "string"
},
"error_code": {
"description": "Machine-readable error code. Common values: `invalid_query_params` (a query parameter failed to parse or validate) and `invalid_path_params` (a path parameter failed to parse). Other endpoint-specific codes exist; treat unknown codes as generic errors of the given HTTP status.",
"type": "string"
},
"request_id": {
"description": "Unique request ID for support",
"type": "string",
"format": "uuid"
}
}
}
OpenAPI example
{
"code": 401,
"error": "Missing or invalid API key. Provide X-API-Key header."
}
Status 429
Rate limit exceededapplication/json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "getHip3LiquidationLevels response 429",
"description": "Error response",
"type": "object",
"properties": {
"code": {
"description": "HTTP status code",
"type": "integer"
},
"error": {
"description": "Error message",
"type": "string"
},
"error_code": {
"description": "Machine-readable error code. Common values: `invalid_query_params` (a query parameter failed to parse or validate) and `invalid_path_params` (a path parameter failed to parse). Other endpoint-specific codes exist; treat unknown codes as generic errors of the given HTTP status.",
"type": "string"
},
"request_id": {
"description": "Unique request ID for support",
"type": "string",
"format": "uuid"
}
}
}
OpenAPI example
{
"code": 429,
"error": "Rate limit exceeded"
}