# 申请和配置 HypeLiquid API Key

{% hint style="success" %}
使用邀请 <https://app.hyperliquid.xyz/join/FRFR> 注册可以获得手续费优惠
{% endhint %}

{% hint style="warning" %}
Hyperliquid 需要先充值 USDC 才有开通 API 的权限
{% endhint %}

{% stepper %}
{% step %}
访问 <https://app.hyperliquid.xyz/API>&#x20;

申请  API key，**后台 API 设置中使用的 address 是连接的小狐狸钱包的地址，API key 是下图的 Private Key**，请注意区别

<figure><img src="/files/nRiGw9YWwx3ESupr1nyh" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 添加 API key

进入 frfr 后台，选择左下角的 「API keys」，然后点击右下角的添加 API keys

如下图，选择 hyperliquid 现货，填入刚刚申请的 api key，wallet 填写你的主钱包地址，并保存。

<figure><img src="/files/rZ7L5Rd7I5OLMmc4KZ5m" alt=""><figcaption></figcaption></figure>

然后选择 hyperliquid 期货，填入一样的 wallet 和 api key 保存。

<figure><img src="/files/48nblFCGGhht1AwuKN2v" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://frfr.gitbook.io/docs/how-to-use/exchange-config/hyperliquid-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
