Skip to main content

Creating an API Key with the Coinbase Developer Platform

This guide walks you through creating an API key using the Coinbase Developer Platform for automated trading. Note that new API keys may take up to 48 hours to activate after creation.

Info

Coinbase Advanced (formerly Coinbase Pro) provides a platform for more experienced traders, and its Developer Platform allows for API key creation to enable automated trading bots.

Access your API settings directly through the Coinbase Developer Platform API Management.

Step-by-Step Guide to API Key Creation​

1. Log Into Coinbase and Access Developer Platform​

  • Visit the Coinbase website and log in to your account.
  • Ensure Two-Factor Authentication (2FA) is enabled on your account for enhanced security.
  • Click on the grid icon (a square made of dots, often labeled "Apps" or similar) in the top-right corner of the Coinbase dashboard.
  • Select Developer Platform from the menu. Access Coinbase Developer Platform

2. Navigate to API Key Management​

  • Once in the Developer Platform, click API Keys in the top navigation bar.
  • You might see a section or button labeled Create API Key. Click this to proceed to the API key creation interface. Navigate to Create API Key section in Coinbase Developer Platform

3. Generate Your API Key and Set Permissions​

  • In the API key creation menu (it might be labeled "Secret API Keys" or similar), click Create API Key again to generate the actual key pair (API Key ID and Secret Key).
  • You will likely be required to complete 2FA verification before the key is generated.
  • Set Permissions: Carefully select the permissions for your API key. For trading, you will generally need:
    • wallet:accounts:read (to read account balances)
    • wallet:buys:create (to create buy orders)
    • wallet:sells:create (to create sell orders)
    • wallet:orders:create (general order creation)
    • wallet:orders:read (to read order status)
    • Consult the specific requirements of your trading bot.
    • Crucially, do NOT enable withdrawal permissions (e.g., wallet:withdrawals:create) unless absolutely necessary for a highly trusted application and you fully understand the risks. Keep permissions minimal for optimal security. Grant only what your bot needs. Setting API key permissions in Coinbase Developer Platform

4. Securely Store Your API Credentials​

  • Once generated, Coinbase will display your API Key ID and Secret Key.
  • The Secret Key will not be shown again. Copy both the API Key ID and the Secret Key immediately and store them in a secure location, such as a password manager.
  • Remember the potential 48-hour activation period for new API keys.

A properly configured API key ensures reliable automated trading operations. Regularly review your API settings and permissions. Never share your API credentials, especially the Secret Key, and always use secure channels when inputting them into your trading bot.

Video Guide​

The video below shows all the steps needed to create new Coinbase Advanced API credentials.

Ready to Start API Trading on Coinbase Advanced?​

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