{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ApiResponseLiquidationLevelsHistory",
"description": "Paginated historical liquidation-levels snapshots, ascending by snapshot_ts. When a page is full, meta.next_cursor carries the cursor for the next page.",
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"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"
}
}
}
},
"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
}
}
}