Skip to main content

Creating a CEX.IO API Key for Your Trading Bot

This guide walks you through creating an API key on CEX.IO for automated trading. Follow these steps to ensure secure and efficient bot operation on your account.

Step-by-Step Guide for Setting Up Your CEX.IO API Key​

  1. Log into CEX.IO: Access your CEX.IO account and ensure that Two-Factor Authentication (2FA) is enabled and your account meets all requirements for API access.

  2. Navigate to API Management: Find 'API' or 'API Management' in your CEX.IO account dashboard, usually located under your profile icon or in the main account settings menu. This is where you'll create and manage your API credentials.

  3. Initiate API Key Creation: Select 'Generate Key' or 'Create New API Key' (or similar wording) to begin the setup process. Your new key will serve as your bot's secure access point to CEX.IO. You may be asked to label your key here; choose a descriptive name (e.g., "Gunbot_Trading").

  4. Configure Your API Key Permissions: Grant only the necessary permissions for your trading bot:

    • Account balance: To read current balances.
    • Open orders: To view existing open orders.
    • Place order: To create new orders.
    • Cancel order: To cancel existing orders. Critically, ensure that 'Withdrawal' permissions are NOT selected/enabled. Keep all other permissions disabled unless explicitly required by your bot for a specific function (which is rare for trading).
Info

CEX.IO API keys often require activation after creation. You'll typically receive an email with an activation link. The key will not work until it's activated.

  1. Secure and Activate Your API Key:

    • IP Whitelisting: Before or after activation, enable IP whitelisting. Add your bot's static IP address(es) to the list of allowed IPs.
    • Activate Key: Check your email for an activation link from CEX.IO and click it to activate the API key.
    • Withdrawal Permissions: Double-check that withdrawal permissions are explicitly disabled for this key.
    • Trading Limits: Set any available trading limits if CEX.IO provides this option for API keys. These steps are crucial for preventing unauthorized access.
  2. Finalize API Key Setup: After activation, review all selected permissions and verify security settings like IP whitelisting. Once all details are confirmed, carefully copy and store your API Key and Secret Key in a secure location, such as a password manager or offline.

CEX.IO API key creation interface showing security settings and permissions

Access your API settings directly through CEX.IO API Management.

A properly configured API key ensures reliable automated trading operations. Regularly reviewing your API settings helps maintain account security. Remember to never share your API credentials and always use secure channels when setting up your trading bot.

Ready to Start Automated Trading on CEX.IO?​

Transform your trading approach with automated strategies designed for CEX.IO. Explore our CEX.IO Trading Bot features for optimal performance.