---
updatedAt: 2025-04-25T02:43:04.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": [
    [
      0.07,                                 // 当前价格
      0.033065,                             // 阴影最低值
      0.044064,                             // 第一层
      0.059892,                             // 第二层
      0.082219,                             // 第三层
      0.110996,                             // 第四层
      0.149845,                             // 第五层
      0.205865,                             // 第六层
      0.283454,                             // 第七层
      0.380525,                             // 第八层
      0.517626,                             // 第九层
      1282003200000                        // 时间戳
    ]
  ]
}

```

# 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/index/bitcoin/rainbow-chart": {
      "get": {
        "summary": "Bitcoin-Rainbow-Chart",
        "description": "",
        "operationId": "bitcoin-rainbow-chart",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"code\": \"0\",                              \n  \"msg\": \"success\",                        \n  \"data\": [\n    [\n      0.07,                                 // 当前价格\n      0.033065,                             // 阴影最低值\n      0.044064,                             // 第一层\n      0.059892,                             // 第二层\n      0.082219,                             // 第三层\n      0.110996,                             // 第四层\n      0.149845,                             // 第五层\n      0.205865,                             // 第六层\n      0.283454,                             // 第七层\n      0.380525,                             // 第八层\n      0.517626,                             // 第九层\n      1282003200000                        // 时间戳\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
}
```