---
updatedAt: 2026-05-07T03:14:52.000Z
agentTools:
  projectIndex: https://docs.coinglass.com/v4.0-zh/llms.txt
---

# Hyperliquid 账户多空比（按标签）

该接口提供 Hyperliquid 上各币种在不同标签分组下的账户多空数据历史信息，包括多空账户数量及对应仓位规模。

***缓存/ 更新频率 :*** 15分钟更新一次.

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

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

### 响应数据

```json
{
  "code": "0",
  "data": [
    {
      "time": 1775467800000,
      "group_name": "shrimp",
      "account_long_count": 6523,
      "account_short_count": 3897,
      "short_position_usd": 10013432.42878,
      "long_position_usd": 13951364.29166
    },
    {
      "time": 1775468400000,
      "group_name": "shrimp",
      "account_long_count": 6518,
      "account_short_count": 3941,
      "short_position_usd": 10150468.22601,
      "long_position_usd": 14950428.88208
    },
  ]  
}

```

# 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/hyperliquid/long-short-account-ratio-by-tag/history": {
      "get": {
        "description": "该接口提供 Hyperliquid 上各币种在不同标签分组下的账户多空数据历史信息，包括多空账户数量及对应仓位规模。",
        "responses": {
          "200": {
            "description": ""
          }
        },
        "parameters": [
          {
            "in": "query",
            "name": "symbol",
            "schema": {
              "type": "string",
              "default": "BTC"
            },
            "required": true,
            "description": "交易币种（例如：BTC）。通过 support-coins API 获取支持的币种。"
          },
          {
            "in": "query",
            "name": "interval",
            "schema": {
              "type": "string",
              "default": "10m"
            },
            "required": true,
            "description": "数据时间间隔。支持的值：10m, 1h,1d"
          },
          {
            "in": "query",
            "name": "wallet_tag",
            "schema": {
              "type": "string",
              "default": "Shrimp"
            },
            "required": true,
            "description": "支持的标签：Shrimp, Fish, Dolphin, Apex_Predator, Small_Whale, Whale, Tidal_Whale, Leviathan, Money_Printer, Smart_Money, Grinder, Humble_Earner, Exit_Liquidity, Semi_Rekt, Full_Rekt, Giga_Rekt"
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "type": "integer"
            },
            "description": "每次请求的结果数量。默认值：1000，最大值：1000。"
          },
          {
            "in": "query",
            "name": "start_time",
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "description": "起始时间戳（单位：毫秒，例如：1641522717000）。历史数据起始时间为 2026-03-20 00:00:00 UTC"
          },
          {
            "in": "query",
            "name": "end_time",
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "description": "结束时间戳（单位：毫秒，例如：1641522717000）。"
          }
        ],
        "operationId": "get_api-futures-hyperliquid-long-short-account-ratio-by-tag-history",
        "summary": "Hyperliquid 账户多空比（按标签）"
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```