# Creating an Apex API Key

{% embed url="<https://www.youtube.com/watch?v=Na-vR7O4O7E>" %}

On the Apex Website, click on your wallet address in the top right and then go to **API Management**.

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

Click on **Generate API** and type in a name.&#x20;

Enable **Trade** Permission. The key does **not** have withdrawal access for your security.

### IP Access Restrictions <a href="#ip-access-restrictions" id="ip-access-restrictions"></a>

For better key security, you can restrict IP access in the **IP field** and whitelist our server IPs. Hover over the box below and press the 'copy' button on the right to copy the text.

```
13.250.186.60 54.255.0.70 52.74.27.144 3.1.54.33 18.139.173.154 18.139.59.79 54.251.196.206 13.251.217.114 13.250.151.140 3.0.83.35 54.179.128.56 13.228.92.195 13.251.8.54 18.143.211.73 54.255.37.249 54.151.227.132 13.213.228.129 18.142.78.89
```

{% hint style="info" %}
It's important you copy and paste **all** of the IPs. There are 18 in total.
{% endhint %}

Copy the key to the [Terminal API Key input form](https://docs.insilicoterminal.com/documentation/setup/adding-your-api-key-to-the-terminal) or store them securely. Make sure you correctly match the **API Key**, **Secret** and **Passphrase** fields. Back in the Apex modal click on Done.<br>

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

After that click on **Omni Key** at the top. Copy the key and paste it to the **OMNI Seed** field in the Terminal.&#x20;

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


---

# 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://docs.insilicoterminal.com/documentation/setup/creating-an-api-key/creating-an-apex-api-key.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.
