# How to Create Bybit API Key?

[Skip to content](https://www.antrade.io/guide/docs/en/binding_bybit/#content)[AntBot | Crypto Trading Bot](https://www.antrade.io/guide/docs/en/)[Free AntBot](https://antrade.io/)

* [Home](https://www.antrade.io/guide/docs/en)
* [Function](https://www.antrade.io/guide/docs/en/en-function/)
* [How to Create Bybit API Key?](https://www.antrade.io/guide/docs/en/binding_bybit/)

Search for:

FUNCTION

* * [How to Create Kucoin API Key?](https://www.antrade.io/guide/docs/en/binding_kucoin/)
  * [Crypto Fear & Greed Index](https://www.antrade.io/guide/docs/en/fear-and-greed-index/)
  * [Binance: How to Transfer Funds to a Futures Wallet？](https://www.antrade.io/guide/docs/en/binance-how-to-transfer-funds-to-a-futures-wallet/)
  * [How to Create Binance API Key?](https://www.antrade.io/guide/docs/en/binding_binance/)
  * [How to Create OKX API Key?](https://www.antrade.io/guide/docs/en/binding_okx/)
  * [How to Create Bybit API Key?](https://www.antrade.io/guide/docs/en/binding_bybit/)
  * [How to Create Huobi API Key?](https://www.antrade.io/guide/docs/en/binding_huobi/)
  * [How to Buy the Energy on the AntBot？](https://www.antrade.io/guide/docs/en/buy_energy/)
  * [How to Start a Bot on the AntBot for Beginners？](https://www.antrade.io/guide/docs/en/startup_bot/)
  * [How to Deposit the USDT on the AntBot](https://www.antrade.io/guide/docs/en/en_deposit_usdt/)
  * [AntBot Bonus Distribution Pattern Table](https://www.antrade.io/guide/docs/en/en_team/)
  * [YouTube Video Creators Wanted (Influencer Program)](https://www.antrade.io/guide/docs/en/en_video_creators_wanted/)

## How to Create Bybit API Key?

5 months ago[AntBot](https://www.antrade.io/guide/docs/en/author/antbot/)2 minutes

Before everything starts, please ensure that your spot account (for spot trading) and perpetual futures account (for futures trading) have sufficient balance. If the balance is insufficient, you need to transfer funds first. This is to ensure that Ant’s spot or futures trading robots can run smoothly.

<figure><img src="https://www.antrade.io/guide/docs/en/wp-content/uploads/2023/03/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230316114834.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://www.antrade.io/guide/docs/en/wp-content/uploads/2023/03/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230316113919.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://www.antrade.io/guide/docs/en/wp-content/uploads/2023/03/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230316113925.png" alt=""><figcaption></figcaption></figure>

**Tips**

1. Please use the classic account to connect API Key and avoid upgrading to the unified trading account which will prevent you from holding long and short positions simultaneously.
2. Upgraded traders can reconnect API Key by creating a subaccount.

**Step 1: Log in to your Bybit account with your web browser and click on the \[API Management] option in the drop-down menu on the profile icon in the upper right corner.**

<figure><img src="https://www.antrade.io/guide/docs/en/wp-content/uploads/2023/03/1001.jpg" alt=""><figcaption></figcaption></figure>

**Step 2: Click \[Create New Key] on the API Management page.**

<figure><img src="https://www.antrade.io/guide/docs/en/wp-content/uploads/2023/03/1002.jpg" alt=""><figcaption></figcaption></figure>

**Step 3: Click \[System generated API Keys].**

<figure><img src="https://www.antrade.io/guide/docs/en/wp-content/uploads/2023/03/1003.jpg" alt=""><figcaption></figcaption></figure>

**Step 4: Fill in the creation information and click \[Submit].**

**Please enter the complete eight IP addresses of AntBot: 101.36.117.216,165.154.41.100,36.255.222.23,165.154.60.7,101.36.127.124,101.36.108.79,122.10.161.141,165.154.60.119,165.154.44.65**

<figure><img src="https://www.antrade.io/guide/docs/en/wp-content/uploads/2023/03/1004.jpg" alt=""><figcaption></figcaption></figure>

**Step 5: Complete the Security Verification.**

<figure><img src="https://www.antrade.io/guide/docs/en/wp-content/uploads/2023/03/1005-1.jpg" alt=""><figcaption></figcaption></figure>

**Step 6: The API has been successfully created. Please copy the API Key and API Secret Key before clicking \[Understood].**

<figure><img src="https://www.antrade.io/guide/docs/en/wp-content/uploads/2023/03/1006.jpg" alt=""><figcaption></figcaption></figure>

**Step 7: Go back to AntBot’s API binding, paste the API key and the Secret Key, then click \[Bind] to complete the API binding.**

<figure><img src="https://www.antrade.io/guide/docs/en/wp-content/uploads/2023/03/7-1.jpg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://www.antrade.io/guide/docs/en/wp-content/uploads/2023/03/bybit.jpg" alt=""><figcaption></figcaption></figure>

Start your trading journey now! Launch the robot and experience the convenience and efficiency of smart trading!

[#AntBot](https://www.antrade.io/guide/docs/en/tag/antbot/)@AntBot free trading bot\\


---

# 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://www.bfm-unity.org/antbot-doc/en/function/how-to-create-bybit-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.
