Market Cap: $2.1842T -1.57%
Volume(24h): $139.9504B 8.29%
Fear & Greed Index:

20 - Extreme Fear

  • Market Cap: $2.1842T -1.57%
  • Volume(24h): $139.9504B 8.29%
  • Fear & Greed Index:
  • Market Cap: $2.1842T -1.57%
Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos
Top Cryptospedia

Select Language

Select Language

Select Currency

Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos

How to get the OKX API Key? (Developer tools)

To securely create an OKX API key, log in, access Developer Tools via your profile, complete Level 2 KYC, choose permissions/IP restrictions, authenticate with 2FA, and store the one-time API/Secret/Passphrase offline.

Mar 24, 2026 at 10:19 pm

Accessing Developer Tools on OKX

1. Log in to your OKX account using verified credentials and two-factor authentication.

2. Navigate to the top-right corner of the dashboard and click on your profile icon.

3. Select Developer Tools from the dropdown menu to enter the API management interface.

4. Ensure your account has completed identity verification at Level 2 or higher before proceeding.

5. Confirm that no active security alerts or restrictions are applied to your account.

Creating a New API Key

1. Inside Developer Tools, locate and click the Create API Key button.

2. Choose the appropriate permission type: Read-only, Trade, or Withdrawal, based on operational needs.

3. Assign a custom name to the key for internal tracking—this name cannot be edited after creation.

4. Set IP address restrictions by entering one or more IPv4 addresses; leaving this field blank grants access from any IP.

5. Enter your current Google Authenticator code or hardware token value to authorize the request.

Securing and Storing Your Credentials

1. After confirmation, OKX displays the API Key, Secret Key, and Passphrase simultaneously only once.

2. Copy each field manually—browser auto-fill or password managers must not be used during this step.

3. Store all three values in an encrypted offline vault; never commit them to version control systems or cloud notes.

4. Immediately configure your trading bot or application with the credentials before closing the browser tab.

5. Verify functionality by initiating a test request to the /api/v5/account/balance endpoint using HMAC-SHA256 signature logic.

Managing Existing API Keys

1. Return to Developer Tools to view all active keys, including creation timestamp, permission level, and bound IP list.

2. Click the Edit icon next to a key to modify its name or IP restrictions—permissions and passphrase remain immutable.

3. Use the Disable toggle to suspend a key without deleting it; disabled keys retain their configuration history.

4. Initiate permanent deletion only after confirming zero active integrations depend on that specific credential set.

5. Monitor the Last Used timestamp column to identify stale or compromised keys requiring rotation.

Frequently Asked Questions

Q: Can I generate multiple API keys with different permissions under one OKX account?A: Yes. OKX allows up to 10 active API keys per account, each configurable with distinct permission scopes and IP whitelists.

Q: What happens if I lose my Secret Key or Passphrase?A: Neither can be recovered. You must disable the compromised key and generate a new one with identical settings.

Q: Does OKX support sub-account API key generation?A: Sub-accounts cannot independently create API keys. Only the master account may generate keys that operate across linked sub-accounts when enabled during creation.

Q: Is there a rate limit applied to API calls using my key?A: Yes. Public endpoints allow 10 requests per second; private endpoints are limited to 50 requests per second per API key.

Disclaimer:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

Related knowledge

How to use Kraken's proof of reserves to verify that my funds are backed?

How to use Kraken's proof of reserves to verify that my funds are backed?

Jun 02,2026 at 08:59am

Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a block reward reduction every 210,000 blocks, roughly every four years. 2. The most recent ha...

How to fix

How to fix "security verification failed" when withdrawing from Bybit after changing device?

May 28,2026 at 06:59pm

Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a fixed issuance schedule where the block reward is cut in half approximately every 210,000 bl...

How to fix

How to fix "unable to link bank — name mismatch" on Coinbase?

May 29,2026 at 06:19am

Understanding the Name Mismatch Error1. The error occurs when the legal name registered on a Coinbase account does not exactly match the name as it ap...

How to fix

How to fix "network maintenance" causing delayed deposits on OKX?

May 31,2026 at 10:00pm

Understanding Network Maintenance Impact on OKX Deposits1. Network maintenance events on OKX are not arbitrary interruptions—they reflect scheduled in...

How to use the Bybit Insurance Fund and how does it protect traders?

How to use the Bybit Insurance Fund and how does it protect traders?

May 28,2026 at 10:19pm

Insurance Fund Architecture1. The Bybit Insurance Fund operates as a reserve pool specifically designed to cover losses arising from auto-deleveraging...

How to fix

How to fix "account restricted from P2P trading" on Binance after a dispute?

Jun 06,2026 at 05:00am

Understanding P2P Trading Restrictions on Binance1. A P2P trading restriction is triggered when either party files a formal dispute within the Binance...

How to use Kraken's proof of reserves to verify that my funds are backed?

How to use Kraken's proof of reserves to verify that my funds are backed?

Jun 02,2026 at 08:59am

Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a block reward reduction every 210,000 blocks, roughly every four years. 2. The most recent ha...

How to fix

How to fix "security verification failed" when withdrawing from Bybit after changing device?

May 28,2026 at 06:59pm

Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a fixed issuance schedule where the block reward is cut in half approximately every 210,000 bl...

How to fix

How to fix "unable to link bank — name mismatch" on Coinbase?

May 29,2026 at 06:19am

Understanding the Name Mismatch Error1. The error occurs when the legal name registered on a Coinbase account does not exactly match the name as it ap...

How to fix

How to fix "network maintenance" causing delayed deposits on OKX?

May 31,2026 at 10:00pm

Understanding Network Maintenance Impact on OKX Deposits1. Network maintenance events on OKX are not arbitrary interruptions—they reflect scheduled in...

How to use the Bybit Insurance Fund and how does it protect traders?

How to use the Bybit Insurance Fund and how does it protect traders?

May 28,2026 at 10:19pm

Insurance Fund Architecture1. The Bybit Insurance Fund operates as a reserve pool specifically designed to cover losses arising from auto-deleveraging...

How to fix

How to fix "account restricted from P2P trading" on Binance after a dispute?

Jun 06,2026 at 05:00am

Understanding P2P Trading Restrictions on Binance1. A P2P trading restriction is triggered when either party files a formal dispute within the Binance...

See all articles

User not found or password invalid

Your input is correct