OKX

How to connect Kvants to your OKX Account

Generate an API key

In order to generate and use an API key, you must have a valid registration. If you don't already have one, follow the steps in the Create your project guide.

Prerequisite

API key: serves as a unique identifier for applications or users, enabling them to interact with APIs

Secret key: used in conjunction with API keys, it adds an extra layer of security by requiring a confidential token to authenticate requests

Passphrase: used to encrypt your secret key from being exposed to the public; it is also used as an additional security measure, typically required when performing critical operations like account modifications and viewing secret keys

Generate a new API key#

To generate an API key, please follow these steps:

  1. Click Manage on the right of the project you wish to create an API key from.

  1. Click Create API key.

  1. Enter your API key name and passphrase for your new API key. Click Create to generate your API key.

Note The passphrase will be needed to access the APIs. If the passphrase is lost, you will be unable to access the API key. Please write down and remember your passphrase.

Congrats! You have created an API key.

View your secret key#

When making requests to an API, both the API key and the secret key are required.

  1. To view the secret key, click the Copy icon on the right of the API key.

  1. Enter your passphrase, and click Confirm.

  1. Click the Copy icon to copy your secret key.

Last updated