> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hyperdash.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Hyperliquid 未平仓量

> 未平仓量是所有未平仓位的总规模。查看本周哪些 Hyperliquid 市场增加最多，哪些减少最多。

> AI agents: read [https://docs.hyperdash.com/skills/data](https://docs.hyperdash.com/skills/data) before using this API. Endpoint index: [https://data.hyperdash.com/llms.txt](https://data.hyperdash.com/llms.txt). Never ask the user to paste an API key into the chat.

> [!TIP]
>
> **向您的智能体提问**（需已连接 [Hyperdash Data MCP 服务器](https://docs.hyperdash.com/cn/data-api/mcp.md)）：
>
> ```text theme={null}
> 本周哪些市场的未平仓量增加最多？
> ```

[2 分钟连接您的智能体](https://docs.hyperdash.com/cn/data-api/quickstart.md)

## 示例答案

您的智能体会将每个市场当前的未平仓量与 7 天前比较，并为变化最大的市场排名。

![柱状图：截至 2026 年 11 月 28 日的 7 天未平仓量变化：xyz:SKHY 增加 83M USD，xyz:GOOGL 增加 55M USD，xyz:BRENTOIL 减少 189M USD，xyz:NVDA 减少 143M USD。](https://mintcdn.com/hd-ebefeca3/yZu313HWnlJE-oK1/images/data-api/guides/open-interest.png?fit=max\&auto=format\&n=yZu313HWnlJE-oK1\&q=85\&s=57e26e198c3cad43532812a8c1b99771)

## 开始使用

> [card] [1. 选择套餐](https://console.hyperdash.com?utm_source=web\&utm_medium=social\&utm_campaign=20261128-docs-guide-open-interest)
>
> 每月 \$20 起。

> [card] [2. 连接您的智能体](https://docs.hyperdash.com/cn/data-api/quickstart.md)
>
> 只需 2 分钟。

## 常见问题

> [accordion] 未平仓量上升意味着什么？
>
> 新资金正在开仓。未平仓量下降则表示仓位正在平仓。

> [accordion] 包含股票和大宗商品吗？
>
> 包含。Alphabet（`xyz:GOOGL`）和布伦特原油（`xyz:BRENTOIL`）等 Hyperliquid HIP-3 市场与加密货币一起排名。

> [accordion] 可以比较其他时间窗口吗？
>
> 可以。同一份数据还包含 24 小时和 30 天。例如问：“今天哪些市场的未平仓量增加最多？”

> [accordion] 数据有多新？
>
> 使用最新的每小时快照。如需实时数值，请询问某个市场当前的未平仓量。

> [accordion] 会消耗多少积分？
>
> 约 600，约占 Hobby 套餐每月所含 500,000 积分的 0.1%。

> [accordion] 我需要写代码吗？
>
> 不需要。将您的智能体连接到 [Hyperdash Data MCP 服务器](https://docs.hyperdash.com/cn/data-api/mcp.md)，然后运行提示词即可。下方的 API 调用用于将其集成到您自己的应用中。

> [card] [什么是未平仓量？](https://hyperdash.com/learn/what-is-open-interest-and-why-does-it-matter)
>
> 它为何对价格重要。

> [card] [未平仓量历史 API](https://hyperdash.com/learn/hyperliquid-open-interest-history-api)
>
> 通过 API 获取完整历史。

## API 调用

面向开发者。请先设置您的 [API 密钥](https://docs.hyperdash.com/cn/data-api/authentication.md)：

```bash theme={null}
export HYPERDASH_API_KEY="hdk_sk_..."
```

| 您需要的数据 | 端点 | 积分 |
| - | - | - |
| 所有市场现在、24 小时前、7 天前和 30 天前的未平仓量 | [`GET /v1/markets/open-interest/changes`](https://docs.hyperdash.com/data-api/reference/get_open_interest_changes) | 20 + 每行 1 |
| 单个市场的每日未平仓量 | [`GET /v1/markets/{coin}/open-interest/daily`](https://docs.hyperdash.com/data-api/reference/get_open_interest_daily) | 20 + 每行 1 |
| 实时未平仓量 | [`GET /v1/markets`](https://docs.hyperdash.com/data-api/reference/list_markets) | 10 + 每次节点读取 5 |

**1. 获取未平仓量变化**

每个市场一行，包含现在以及 24 小时、7 天和 30 天前以 USD 计的未平仓量。

```bash theme={null}
curl "https://data.hyperdash.com/v1/markets/open-interest/changes" \
  -H "Authorization: Bearer $HYPERDASH_API_KEY"
```

**2. 获取单个市场的每日历史**

每个 UTC 日一行。

```bash theme={null}
curl "https://data.hyperdash.com/v1/markets/xyz:GOOGL/open-interest/daily" \
  -H "Authorization: Bearer $HYPERDASH_API_KEY"
```

参见[通用约定](https://docs.hyperdash.com/cn/data-api/conventions.md)和[积分费用](https://docs.hyperdash.com/cn/data-api/credit-costs.md)。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.