> For the complete documentation index, see [llms.txt](https://www.bfm-unity.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.bfm-unity.org/antbot-doc/en/function/how-to-create-okx-api-key.md).

# How to Create OKX API Key?

[Skip to content](https://www.antrade.io/guide/docs/en/binding_okx/#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 OKX API Key?](https://www.antrade.io/guide/docs/en/binding_okx/)

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 OKX API Key?

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

**Before you begin, please transfer funds to your trading account to ensure that the robot can be used normally.**

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

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

**How to Create OKX API Key?**

**1. Sign into your OKX account with app and click on your profile in the top left corner of \[OKX] page.**

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

**2. Click on the \[API].**

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

**3. Click on \[Create V5 API Key].**

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

**4. Enter the creation page, and remember to select the trading permissions.**

**Please note:**

**1. The API passphrase is the unique password for the API Key. It is different from your account password or trading password. Please be sure to save and remember it, as without it, you will not be able to add the API to AntBot.**

**2. 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-4.jpg" alt=""><figcaption></figcaption></figure>

**5.Enter the security verification code**

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

**6. Copy the API key and API secret key after successful creation.**

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

**7. Go back to AntBot’s API binding, paste the following content, and click \[Bind] to complete the API binding.**

<figure><img src="https://www.antrade.io/guide/docs/en/wp-content/uploads/2023/03/okx.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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://www.bfm-unity.org/antbot-doc/en/function/how-to-create-okx-api-key.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
