CryptoHero Guide
  • Quick Start
  • EN | ID | ES | VN
  • Videos
  • Quick Start Bots
  • CryptoHero Version 3
  • CryptoHero v2.1, The Best Is Not Enough
  • CryptoHero 2, The Future is Here
  • CryptoHero 1.6, Alpha Edition
  • CryptoHero 1.5, The Best Ever
  • CryptoHero 1.4, Release Note
  • Getting started
    • Paper Trading
    • Backtesting
    • Dashboard
    • Portfolio
    • Bots and Deals
    • Bots Processing Priority
    • Trading Terminal
    • Bots Marketplace
    • Futures Trading
  • Bot Settings
    • Strategies
    • Trading Parameters
    • Entry / Exit Conditions
    • Advanced Bots
    • DCA Bots
    • Exit Bot
    • Price Bot
    • Grid Bot
    • Sell Bot
    • Inter-Exchange Arbitrage Bot
    • Intra-Exchange Arbitrage Bot
    • Trailing Stoploss
    • Trailing Take Profit
    • Bot's Performance Stats
    • Strategy Designer
  • Technical Indicators
    • Indicator Settings
    • Bollinger Band
    • EMA
    • RSI
    • Stoch RSI
    • MACD
    • Volume
    • TradingView
    • Mandatory Indicators
  • Exchange API
    • Supported Pairing
    • LATEST: List of Supported Exchanges
    • Binance
    • OKX
    • Kraken
    • Coinbase Pro
    • Coinbase
    • Coinbase (New)
    • Gate IO
    • Kucoin
    • IndoDax
    • Tokocrypto
      • Tokocrypto (bahasa)
    • Mandala
    • Crypto.Com
    • Bitget
    • Mexc
    • Bybit
    • Bitget Futures
  • Gemini
  • FAQ
    • Terminology
    • Frequently Asked Questions
  • Housekeeping
    • Terms of Use
    • CryptoHero Telegram Policy
    • Official Communities
Powered by GitBook
On this page
  • 1. API Management
  • 2. Create API
  • 3. View API
  • 4. Add API to CryptoHero

Was this helpful?

  1. Exchange API

OKX

PreviousBinanceNextKraken

Last updated 3 months ago

Was this helpful?

Please note that your funds in OKX must be in the Trading account. You can transfer the funds to your Trading account in your OKX >> Assets >> Transfer page.

1. API Management

Login to your OKX account and click on your Profile icon. You should see a dropdown menu shown in the image below. Click API.

2. Create API

Click the [Create API key] button. You will see the following page:

Give this API a name. You can name it "CryptoHero".

Check the "API trading" option

Check the permissions Read AND Trade. Do NOT check the Withdraw permission. CryptoHero will never ever need to withdraw your funds.

Enter a unique Passphrase (note this passphrase as you will need to copy it into CryptoHero). Be sure to write this down as you will need to enter it in CryptoHero. A passphrase is needed to create the API. This is not your account password. Each passphrase should be unique to each API.

Click the [Submit All] button.

A verification window will appear. Please fulfil the verification checks.

3. View API

Once the API is created successfully, you will see this pop up window in OKX.

Click the "Show info" link.

You will see the API Key and Secret Key values.

4. Add API to CryptoHero

Now, login to your CryptoHero account and go to Settings >> Exchange API. Select OKX and enter the following values into the respective fields in CryptoHero.

  • API Key

  • Secret Key

  • Passphrase

Click Add Exchange. If the keys and passphrase are correct, you will see OKX listed in the "Connected Exchanges" section.