byScript Docs
  • Start Here
  • About
  • FAQ
  • Exchange
    • Binance
    • Bybit
    • OKX
    • Kucoin
    • Binance TR
    • Binance US
    • Bitfinex
    • Bitget
    • Bitstamp
    • Coinbase Advanced
    • Coinbase Perpetual
    • Gate.io
    • Gemini
    • HTX
    • Kraken
  • Autotrader
  • Trading Plan
    • XMA
  • Plans
  • Affiliate
  • Back to Dashboard
Powered by GitBook
On this page
  • 1. Go to the API management page
  • 2. Click "Create APIs"
  • 3. Give it a name
  • 4. Choose the account where you want to create an API key
  • 5. Choose Linking third-party apps and choose "3Commas"
  • 6. Choose the "Trade" permission
  • 7. Enter the Passphrase
  • 8. Click on Submit all button
  • 9. Enter the 2FA code and passphrase, then click "Confirm"
  • 10. To see API keys, click on Show info
  • 11. Save your created API keys
  • 12. Link the API Key and Secret to the 3Commas Client Portal
  1. Exchange

OKX

PreviousBybitNextKucoin

Last updated 6 months ago

1. Go to the API management page

Hover over the profile icon on the top right corner, and click on the API button:

You must enable 2FA to add API keys. If you see this message, please follow OKX's instructions:

2. Click "Create APIs"

3. Give it a name

When you have multiple APIs, a proper name helps to manage them.

4. Choose the account where you want to create an API key

It includes all your main and sub-accounts.

5. Choose Linking third-party apps and choose "3Commas"

6. Choose the "Trade" permission

7. Enter the Passphrase

It's a "password" for the API key. Remember or save it somewhere safe, as you can't add API without it.

8. Click on Submit all button

9. Enter the 2FA code and passphrase, then click "Confirm"

10. To see API keys, click on Show info

11. Save your created API keys

12. Link the API Key and Secret to the 3Commas Client Portal

Now you have API keys to connect Spot and Futures OKX account!

Enter the API keys and Passphrase in the corresponding fields: