# API Keys

### **How to Add API Keys** <a href="#szhg4v5viayb" id="szhg4v5viayb"></a>

API keys verify the identity of the application or user making a request to the API, ensuring that only authorized parties can access specific functionalities or data. This acts as a security measure to prevent unauthorized access.

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

1. Log in to your HyperTrade Terminal account.
2. Go to **Settings** → **Wallet & API Keys**.
3. Click **Add API Key** button.
4. On Add API Key screen enter the following:
   * Name
   * Public Wallet Address: Use the wallet address connected to exchange (ex: Metamask or Phantom)
   * Private API Key: Use generated from Hyperliquid

![](/files/176vPafUJttuOpRc5uqm)

5. Click **Add API Key** button.
6. “API Key \[Name] added successfully!” notification appears.
7. Newly added API Key listed under API Keys section.

{% embed url="<https://drive.google.com/file/d/188OnhvVNC3izNE3ieB92TSbGFWT06_2m/view?usp=sharing>" %}


---

# 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://modern-stoic-ai.gitbook.io/hypertrade-docs/api-keys.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.
