Skip to main content

Creating a CEX.IO API Key for Your Trading Bot

This guide walks you through creating a CEX.IO API key for automated trading and securing it for bot access.

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

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

  2. Navigate to API Management: Find 'API' or 'API Management' in your CEX.IO dashboard (profile menu or account settings).

  3. Initiate API Key Creation: Select 'Generate Key' or 'Create New API Key' (or similar wording). If prompted, label the key with a descriptive name (e.g., "Gunbot_Trading").

  4. Configure Your API Key Permissions: Grant only the permissions your bot needs:

    • 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. Ensure 'Withdrawal' permissions are NOT selected/enabled. Keep other permissions disabled unless your bot explicitly requires them.
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 and add your bot's static IP address(es).
    • 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 disabled.
    • Trading Limits: Set any available trading limits if CEX.IO offers them for API keys.
  2. Finalize API Key Setup: After activation, review permissions and IP whitelisting, then store your API Key and Secret Key in a secure location.

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 supports reliable automated trading. Review API settings regularly, and never share your API credentials.

Ready to Start Automated Trading on CEX.IO?

Explore our CEX.IO Trading Bot features for automated strategies.