# Creating a Bitmex API Key

{% embed url="<https://youtu.be/Zyq83KZ01Ac>" %}

Create a Bitmext account on [Bitmex.com](https://www.bitmex.com/app/register) or log into an existing account.

Upon reaching the main Bitmex page, direct your attention to the user-icon located in the far right corner of the screen. **Open the dropdown menu** and select the '**API KEYS' option**.

<figure><img src="https://1855557010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuzWZkA5631kraBpRETyN%2Fuploads%2FcgUGa3j4yOgITEDf6ntG%2Freplace%20now.png?alt=media&#x26;token=d59d2a99-6aef-4ba0-ae34-6f1bc923d1cc" alt=""><figcaption></figcaption></figure>

Now you are on the API Keys page, create an API Key by firstly giving it a name.  The change the **key permissions to "ORDER".**

Click on the blue button below that states "**Create API Key**"&#x20;

<figure><img src="https://1855557010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuzWZkA5631kraBpRETyN%2Fuploads%2FGpUp2gobkApPCGjeLyyp%2Fbitmex%20creation%20of%20API%20KEYS.png?alt=media&#x26;token=f374b724-86c2-40b6-a57b-34abc30d31fe" alt=""><figcaption></figcaption></figure>

&#x20;Once your API Key is generated, it will be displayed on the right-hand side under the section labeled "**Your API KEYS**." Here, you have the option to manage your API Keys by either deleting or disabling them according to your preferences.&#x20;

Now you **can copy and paste into the termina and you can use your API Keys**

<figure><img src="https://1855557010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuzWZkA5631kraBpRETyN%2Fuploads%2FPfvsXoaxq6QD5UH2LV7Y%2FScreenshot%202025-08-01%20at%2015.23.56.png?alt=media&#x26;token=034e19d9-156d-4311-94d1-5221b289cfb2" alt=""><figcaption></figcaption></figure>

**Please be aware if you are trying to use an older Bitmex account you will have to go through the verification process on their website before being able to use the API keys on the terminal.**&#x20;


---

# 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-a-bitmex-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.
