---
updatedAt: 2025-04-24T10:53:32.000Z
agentTools:
  projectIndex: https://docs.coinglass.com/v4.0-zh/llms.txt
---

# 交易所余额图表

该接口提供各交易所资产余额随时间变化的历史图表数据，并附带相应的币种价格数据。

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

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

### 响应数据

```json
{
  "code": "0",                                 
  "msg": "success",                            
  "data": [
    {
      "time_list": [1691460000000, ...],       // 时间戳数组（毫秒）
      "price_list": [29140.9, ...],            // 对应时间点的价格数组
      "data_map": {                            // 各交易所的余额数据
        "huobi": [15167.03527, ...],           // Huobi 交易所的余额数据
        "gate": [23412.723, ...],              // Gate 交易所的余额数据
        ...
      }
    }
  ]
}

```

# 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/exchange/balance/chart": {
      "get": {
        "summary": "Exchange Balance Chart",
        "description": "",
        "operationId": "exchange-balance-chart",
        "parameters": [
          {
            "name": "symbol",
            "in": "query",
            "required": true,
            "description": "交易币种   例如：BTC、ETH、USDT(ETH)。   支持的币种：BTC、ETH、1INCH、AAVE、AMP、BAL、BLZ、BNT、BUSD、CRV、DAI、DODO、ENS、FET、FTT、GRT、GTC、GUSD、HOT、HUSD、JASMY、KNC、LINK、MASK、MATIC、OCEAN、OMG、POLY、QNT、SAI、SKL、SRM、STORJ、SUSD、SUSHI、TUSD、UNI、USDC、USDK、USDP、USDT(ETH)、VGX、XRP、YFI、ZRX",
            "schema": {
              "type": "string",
              "default": "BTC"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"code\": \"0\",                                 \n  \"msg\": \"success\",                            \n  \"data\": [\n    {\n      \"time_list\": [1691460000000, ...],       // 时间戳数组（毫秒）\n      \"price_list\": [29140.9, ...],            // 对应时间点的价格数组\n      \"data_map\": {                            // 各交易所的余额数据\n        \"huobi\": [15167.03527, ...],           // Huobi 交易所的余额数据\n        \"gate\": [23412.723, ...],              // Gate 交易所的余额数据\n        ...\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
}
```