Skip to main content

Coinbase Advanced: How to Create API Keys

Learn how to create Coinbase Advanced API keys and connect your account to 3Commas.

Updated over 2 weeks ago

Important:

  1. USDC Trading Pairs: ​Coinbase Advanced now supports trading with USDC pairs. This update benefits US residents and users in other supported regions.

  2. Coinbase Advanced Perpetual (non-US): You can connect Coinbase Advanced Perpetual accounts to 3Commas only via manual API keys.


Note:

  • Coinbase Advanced Perpetual supports collateral assets (e.g., BTC, ETH), but collateral values are not displayed in the total balance on 3Commas.

  • 3Commas supports connecting only the Primary (Spot account) and Perpetual account from Coinbase Advanced. Additional portfolios cannot be connected.

  • Coinbase Advanced Futures (US):

    • supported for eligible US customers.

    • If a supported Coinbase US futures contract is available in 3Commas pair selection, it can be traded in 3Commas. Contract availability depends on your Coinbase account eligibility and supported Coinbase products.

    • US Futures can only be traded using API keys from the Primary portfolio. Futures can’t be traded from manually created portfolios​. More information here.

    • Backtesting for Coinbase Advanced Futures (US) is supported in 3Commas for DCA bots and Grid bots.

    • Trading hours: Coinbase crypto futures are generally available 24/7, including weekends. There may be a scheduled weekly maintenance break on Friday (5–6 PM ET) depending on Coinbase/clearing setup. More info here.

  • For eligible Coinbase Futures (US)/Perpetual (non-US) users, leverage is determined automatically by Coinbase based on the margin settings on your Coinbase account. You cannot manually change leverage in 3Commas. 3Commas currently displays leverage based on the overnight margin rate. If you use intraday margin on Coinbase, the leverage shown in 3Commas may still reflect the overnight margin value.

  • Coinbase Advanced Perpetuals (non-US): available only in select jurisdictions.

  • To create a Coinbase Advanced trading account, users must first complete standard eligibility assessment checks conducted by Coinbase. Learn more here.

Before you move forward with this article...

If you have any feedback regarding this article, please fill out this Feedback form. This will help us update the article faster to meet your expectations and answer your questions.


Manual API Key Creation for Coinbase Advanced

1. Log In or Create a Coinbase Account:

Visit Coinbase to access your account.

2. Access the API Management Page:

There are two Coinbase API key creation pages:

Only the first link allows you to choose the Ed25519 signature algorithm, which is the recommended option for use with 3Commas.

3. Click on Create API key

Assign a name for your API keys. Ensure the name starts with a letter.

4. Set API Restrictions:

  • Add the required IP whitelist addresses.

  • Use the IP addresses provided on the Coinbase Advanced connection page in 3Commas. Note: IP addresses are the same for both Coinbase Advanced and Perpetual accounts.

  • Paste the address into the IP whitelist field.

Important:

  • Only copy the IP addresses displayed inside the exchange connection widget.

  • Do not copy the IPs from the screenshots in this article as they are examples only.

5. Enable Permissions:

  • Choose the portfolio type:

    • Primary: for Spot trading (all regions). For Coinbase Advanced Futures (US), you must select Primary. Futures can’t be traded from manually created portfolios​.

    • Perpetuals: for Perpetuals trading (non-US accounts where available).

  • Enable the Trade permission.

Note:

  • You only need View (read-only) and Trade for 3Commas. If you see Server Wallet options (like Accounts (Export private key) or Policies (Manage)), leave them unchecked. These are for Coinbase on-chain wallet management and aren’t required and not supported by 3Commas.

  • Set the Signature Algorithm: In the API key’s Advanced settings, select Ed25519 as the signature algorithm. This is the recommended option by both Coinbase and 3Commas.

6. Complete Two-Factor Authentication (2FA):

Verify the API key creation process using 2FA.

7. Secure Your API Keys:

  • Download and securely save the generated JSON file.

  • Copy the API key and secret directly from the JSON file or dashboard.

Important

Delete the JSON file or saved API key details after successfully connecting your account for added security.

8. Connect to 3Commas:

Enter your API key and secret in the dedicated fields to connect your Coinbase Advanced account.

For detailed instructions, refer to:


Notes on Spot and Perpetual Connections

  • For non-US accounts, Spot and Perpetuals are split into two portfolios (Primary and Perpetuals) and require two separate API keys (one per portfolio).

  • For US accounts, API key creation may show only the Primary portfolio option. If you want to connect both Coinbase Advanced Spot and Coinbase Advanced Futures in 3Commas, you still need to create two separate API keys (both set to Primary): one for the Spot connection and one for the Futures connection. This is because 3Commas currently treats them as two separate exchange connections.

  • US Futures and Portfolios: US Futures can only be traded using API keys from the Primary portfolio. Futures can’t be traded from manually created portfolios​. More information here.


Need Assistance?

If you encounter issues during the creation of API keys on Coinbase, contact the Coinbase support team for detailed guidance.

Join the conversation: Connect with fellow traders in our official Telegram community.

Did this answer your question?