---
updatedAt: 2025-12-31T09:59:56.000Z
agentTools:
  projectIndex: https://docs.coinglass.com/v4.0-zh/llms.txt
---

# 交易对清算热力图(模型2)

该接口提供交易对的爆仓热力图数据

***缓存 / 更新频率:*** 实时.

***该接口以下API等级可用：*** [API 等级](https://www.coinglass.com/zh/pricing)：

| API 等级 | 爱好版 | 创业版 | 标准版 | 专业版 | 企业版 |
| :----- | :-- | :-- | :-- | :-- | :-- |
| 可用性    | ❌   | ❌   | ❌   | ✅   | ✅   |

### 响应数据

```json
{
  "code": "0",
  "msg": "success",
  "data": {
    "y_axis": [47968.54, 48000.00, 48031.46], // Y轴坐标，价格范围
    "liquidation_leverage_data": [
      [5, 124, 2288867.26], // 每个数组表示：[X轴索引, Y轴索引, 该位置的清算强度]
      [6, 123, 318624.82],
      [7, 122, 1527940.12]
    ],
    "price_candlesticks": [
      [
        1722676500, // 时间戳（秒）
        "61486",    // 开盘价
        "61596.4",  // 最高价
        "61434.4",  // 最低价
        "61539.9",  // 收盘价
        "63753192.1129" // 成交量（美元）
      ],
      [
        1722676800,
        "61539.9",
        "61610.0",
        "61480.0",
        "61590.5",
        "42311820.8720"
      ]
    ]
  }
}

```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "coinglass",
    "version": "3.0"
  },
  "servers": [
    {
      "url": "https://open-api-v4.coinglass.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "CG-API-KEY"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/futures/liquidation/heatmap/model2": {
      "get": {
        "summary": "Liquidation Heatmap Model2",
        "description": "This API presents liquidation levels on the chart by calculating them based on market data and various leverage amounts",
        "operationId": "liquidation-heatmap-model2",
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "required": true,
            "description": "交易所名称（例如：Binance、OKX）。可通过 support-exchange-pair 接口获取支持的交易所列表。",
            "schema": {
              "type": "string",
              "default": "Binance"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "required": true,
            "description": "交易币种（例如：BTC）。可通过 support-coins 接口获取支持的币种列表。",
            "schema": {
              "type": "string",
              "default": "BTCUSDT"
            }
          },
          {
            "name": "range",
            "in": "query",
            "required": true,
            "description": "数据的时间范围（例如：12h、24h、3d、7d、30d、90d、180d、1y）",
            "schema": {
              "type": "string",
              "default": "3d"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"code\": \"0\",\n  \"msg\": \"success\",\n  \"data\": {\n    \"y_axis\": [47968.54, 48000.00, 48031.46], // Y轴坐标，价格范围\n    \"liquidation_leverage_data\": [\n      [5, 124, 2288867.26], // 每个数组表示：[X轴索引, Y轴索引, 该位置的爆仓金额（美元）]\n      [6, 123, 318624.82],\n      [7, 122, 1527940.12]\n    ],\n    \"price_candlesticks\": [\n      [\n        1722676500, // 时间戳（秒）\n        \"61486\",    // 开盘价\n        \"61596.4\",  // 最高价\n        \"61434.4\",  // 最低价\n        \"61539.9\",  // 收盘价\n        \"63753192.1129\" // 成交量（美元）\n      ],\n      [\n        1722676800,\n        \"61539.9\",\n        \"61610.0\",\n        \"61480.0\",\n        \"61590.5\",\n        \"42311820.8720\"\n      ]\n    ]\n  }\n}\n"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```