CryptoTailor Logo White

OKX: Generating Api Key

To connect your automated trading bot to the OKX exchange, you can create your API key using this guide. Before running the bot, make sure to backtest your strategies.
In this step-by-step guide, you can see how to create an API Key on the OKX exchange. The functionality of the API Key is that this platform (CryptoTailor) uses it to connect to the exchange through your user account, which means it grants this platform the ability to execute trades.

Note that this key can only be used to execute trades and cannot be used for transferring or withdrawing funds.
1

Activating Two-factor Authentication

To use the API on the OKX exchange, you first need to have Two-factor Authentication enabled for your account. If you have already done this, you can skip this step and go to step 6.
To enable Two-factor Authentication, after logging into your account, go to the "Security" section.

OKX-get-started-api-key
2

Choose Google Verification

On the "Authenticator App" section, click on "Setup".

OKX-enable-authenticator
3

Install Google Authenticator

This step is for downloading and installing the "Google Authenticator" app. If you already have this app installed on your phone, you can proceed to the next step and click on "Next". Otherwise, you can download it using the displayed link.

OKX-download-authenticator
4

Scan QR Code

In this step, you need to scan the displayed QR Code using the Google Authenticator app. Note that there is a backup code; make sure to write it down and keep it in a safe place before scanning.

OKX-scan-qr-code
5

Activating Two-factor Authentication

To finalize the activation of Two-factor Authentication, you will be asked to enter the code sent to your email and the code displayed by the Google Authenticator app. After this step, Two-factor Authentication will be activated for your account.

OKX-google-auth
6

Go to "Api Management"

Now that Two-factor Authentication is enabled for your account, you can access the "API Management" page. To do this, on your account page click on "API".

OKX-manage-api
7

Create API

Click on "Create APIs".

OKX-create-api
8

Choose a "Name" for the API Key

In this step, you will be asked to choose a name for the API Key. For example, you can enter "BOT". This label is only for your reference and will not be displayed to others.

For the "Purpose" choose "API Trading". For IP address allowlist, please use the following IPs, please note that IP addresses must be separated by a commo:

For the "Permissions" only select "Trade", this will allow the platform to execute trades on your behalf and also prevent withdrawals or transfers.

You also need to add a "Passphrase" for the API Key. This is a security measure that you can use to further secure your key. Make sure to write down this passphrase and keep it in a safe place. You will need it when connecting the key to the platform.

OKX-api-key-title
9

Authentication

For security purposes, you will be asked to enter the code sent to your email and the Google Authenticator code again.

OKX-authenticate-for-api-key
10

View API Key Details

In this step, the API key is created and to see the details, you need to click on the "Show Info" button.

OKX-viewapi-key-details
11

Copy API Key Details

After that, you can see the API Key and Secret Key. Make sure to copy these keys and keep them in a safe place. You will need them when connecting the key to the platform.

OKX-viewapi-key-details
12

Connect to OKX On CryptoTailor

Now, log into your account dashboard, go to the "Exchanges" section from the left menu, and select "Connect to OKX Exchange." Enter the API Key, Secret Key, and the Passphrase you set earlier when creating the API Key. Finally, click "Save."

OKX-panel-update-keys
13
Finish

If you have entered the information correctly, your key will be successfully saved and the connection to the OKX exchange will be established. Now, this platform can manage your positions through this key. Go ahead and start your automated trading journey! 🚀

OKX-5
APIs, short for Application Programming Interfaces, act as a bridge between our platform and your cryptocurrency exchange account, enabling seamless integration. By leveraging API connections, you can automate your trading strategies, transforming them into bots that operate around the clock, executing trades without the need for constant manual oversight. This setup enhances the efficiency of your trading, giving you more control and flexibility without requiring hands-on management.
At the forefront of API usage is security, a priority we take seriously. Our platform is equipped with robust encryption protocols designed to safeguard your API keys and maintain the confidentiality of your data at all times. Rest assured, the API keys you provide are configured solely for trading purposes. These keys do not permit withdrawals or transfers, which means your funds remain securely stored within your exchange account, inaccessible for movement by our system.
A significant advantage of this API integration is its exclusive focus on trading permissions. By restricting API access to trading operations only, we offer an added layer of asset protection. Even in the unlikely case of a security issue, the API key cannot be used to move your funds, ensuring their safety. This approach allows you to confidently use our platform’s automation features, knowing your assets are shielded from unauthorized withdrawals or transfers.
To start automating your trades, you’ll first need to generate an API key from your exchange account, ensuring that it has the correct trading permissions. This process typically involves navigating to your exchange’s API management section and creating a new key with trading capabilities. Once the key is generated, you can input it into our platform, enabling the automation of your strategies. For further details and step-by-step guidance on API key setup, please consult the instructions available in the following sections.
In summary, APIs are a vital component of automating your trading strategies on our platform. With stringent security protocols in place to ensure trading-only access, you can use our automation tools confidently, knowing your funds remain secure. Our platform offers a streamlined and safe method for optimizing your trading strategies, letting you take full advantage of automation without compromising the protection of your assets.