# Creating a Bitget API Key

{% embed url="<https://www.youtube.com/watch?v=bSB4OG-EXgA>" %}
Follow our step by step guide on creating and adding your bitget api keys
{% endembed %}

<figure><img src="https://1855557010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuzWZkA5631kraBpRETyN%2Fuploads%2FyuZ6ZquYI64H3xe9xTrM%2FBitget%20API%20set%20up.png?alt=media&#x26;token=0abda710-213f-431e-853e-7b38e3b57b38" alt=""><figcaption></figcaption></figure>

On the API keys page, press the **Create API Key** button and then select '**System-generated API key**' on the pop-up

<figure><img src="https://1855557010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuzWZkA5631kraBpRETyN%2Fuploads%2FPUNb12fs4RN4nZpys0UW%2FBitget%20System%20Generated%20API%20KEY.png?alt=media&#x26;token=476c917a-49e0-483c-a3e5-45e766628218" alt=""><figcaption></figcaption></figure>

Complete the form that appears.

Note that the API key name (referred to as 'NOTE') must not exceed 26 characters. **Make sure to retain your passphrase for the API key**, as it will be required when adding to the Terminal.

When creating or editing an API KEY, you must set the permissions to&#x20;

* **Futures Orders**
* **Futures Holdings**
* **Spot**
* **Margin**

as shown below:

{% hint style="info" %}
Some of our users have reported that Bitget subaccount APIs can only be added to the Terminal with the P2P-permission activated.
{% endhint %}

<figure><img src="https://1855557010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuzWZkA5631kraBpRETyN%2Fuploads%2FpN7eKtHGkCWxKdYs5Cxy%2FScreenshot%202023-08-15%20at%2018.35.00.png?alt=media&#x26;token=62b21aad-7004-4dfb-91cc-21475618d99a" alt=""><figcaption><p>It's important to select all four of these options</p></figcaption></figure>

### IP Access Restrictions \[Optional]

**If you want to restrict the key to Terminal servers, you may copy and paste all the IP addresses provided below into the 'Linked IP address' field exactly as they are listed:**

```
18.180.195.116, 13.114.235.19, 18.181.102.105, 35.75.215.133, 54.65.212.219, 52.196.177.46, 35.76.223.130, 35.77.250.223, 18.180.239.100, 3.113.78.104, 18.181.158.39, 54.65.86.241, 52.199.152.174, 54.250.232.158, 52.69.38.104, 54.64.139.96, 52.194.90.124, 13.113.149.88, 52.199.229.99, 43.206.9.80, 54.150.160.59, 52.197.231.212, 13.114.162.121, 18.179.173.44, 52.68.79.101, 54.95.43.20, 54.92.115.167, 54.92.84.241, 54.64.37.174, 54.92.48.235

```

{% hint style="info" %}
**Make sure you copy all the IP addresses, there should be 30 in total!**
{% endhint %}

<figure><img src="https://1855557010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuzWZkA5631kraBpRETyN%2Fuploads%2F5x3VYvVjsdhNih73exkf%2FBitget%20API%20VIEW%20AND%20IPS.png?alt=media&#x26;token=9b0bd8af-b93d-477e-9895-6a30e81ce431" alt=""><figcaption></figcaption></figure>

After successfully creating your account and setting up your API, proceed to the 'Settings' section. From there, navigate to the 'Account' tab, where you will be welcomed by a screen as seen below:

<figure><img src="https://1855557010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuzWZkA5631kraBpRETyN%2Fuploads%2FwkB0qca27nKZptRAKG5L%2FScreenshot%202025-08-01%20at%209.07.10.png?alt=media&#x26;token=fbf33e48-c526-4a59-8db0-c186e12bc87a" alt=""><figcaption></figcaption></figure>

Input all the information into the respective fields, ensuring that you include the **Passphrase** you generated for your **API KEY.**
