How will the exchange API work when my Coinbase pro account is migrated?

Hi,

Currently I use several exchange endpoints (Which I understand will be unchanged as part of the migration), and using these endpoints I make trades from my Coinbase pro account.

When my account is migrated, will it just be the case that I update my API key etc and the exchange endpoints will then all work with my advanced trade account?

Thanks

edit - I can actually see in the mapping document (Pro API Mapping | Coinbase Cloud) that the exchange endpoints are changing, so maybe I have missunderstood what it means when the ‘exchange API will not be effected’?

Hi @pete! Welcome to the Coinbase Cloud forum and thank you for taking an interest in trying out the Coinbase APIs.

To answer your query, once accounts are fully migrated, customers will only be able to trade with Advanced Trade API while Coinbase Pro will be totally discontinued. With that, customers will not be able to use existing Pro API keys and will need to create new ones to trade with Advanced Trade. With regards to your concern on the Exchange API not being affected, Coinbase Pro and Coinbase Exchange are similar Coinbase APIs that use the same endpoints - the only difference is that Pro is used by individual account holders while Exchange is used by Institutional clients. In addition, the two APIs use different base URLs - https://api.exchange.coinbase.com for Exchange and https://api.pro.coinbase.com for Pro. Pro will be discontinued while Exchange API will not be affected and will continue to operate.

We hope this helps. Have a great day! :sun_behind_small_cloud:

1 Like

Hi bazinga,

Thanks a lot for getting back to me. Thats really helpful and I appreciate you taking the time to reply.

Im still a bit confused though as currently I use only the Exchange API endpoints (api.exchange.coinbase), but I have a coinable pro account and API key. Does this mean I’ll be able to continue using these endpoints in future? Will they work when I have to change to an Advanced trade account?

Also, do you know if the public exchange API endpoints will remain publicly accessible?

Thanks

Hello @pete! We understand that you are still seeking clarifications regarding our Coinbase Exchange API endpoints, and we’re happy to help!

To better understand your case, please be informed that we tried recreating your scenario of using Coinbase Pro API key to access Coinbase Exchange API endpoints. However, our investigation showed that you cannot utilize Coinbase Pro API keys to access the Coinbase Exchange private API endpoints. Related to this, please note that Coinbase Exchange and Coinbase Pro are different products with different account requirements and authentication. What this means is that an API Key for Coinbase Pro will not work for accessing Coinbase Exchange private API endpoints. And even though they are two separate products, the Websocket and API for Coinbase Exchange and Coinbase Pro functions almost identically for each product, with the Websocket feed allowing customers to easily gain access to real-time market data, and the API allowing development of programmatic trading bots. The key differences between the products are that:

  • Coinbase Exchange targets institutional traders and investors. In order to use Coinbase Exchange, customers must first apply for an Institutional account.
  • Coinbase Pro targets advanced and experienced individual traders. It is separate from the main Coinbase retail platform, but shares most account settings and profile information.

Accordingly, we are now assuming that you may be actually referring to the Exchange public API endpoints which does not require any authentication. This type of endpoints will provide public data without the need for any permission scope and authentication. And to answer your question “Does this mean I’ll be able to continue using these endpoints in future? Will they work when I have to change to an Advanced trade account?”, please note that once Coinbase Pro accounts are fully migrated to Advanced Trade, customers will only be able to trade with Advanced Trade API while Coinbase Pro will be totally discontinued. Hence, customers will not be able to use existing Coinbase Pro API keys and will need to create new ones to trade with Advanced Trade.

With regard to your other concern about Coinbase Exchange public API endpoints not being affected, we would like to confirm that Coinbase Exchange API endpoints will not be affected by the sunsetting of Coinbase Pro and will continue to operate and be of service to institutional traders and investors.

We hope we have addressed your concerns. Please do not hesitate to reply to this thread if you have further queries. Have a great day! :smiley:

4 Likes

Hello!

Thanks again for getting back to me. I think we may have found the source of my confusion now…

I definitely am using the private exchange endpoints to make my trades. I am also using the exchange WS feeds and authenticating with them.
To post an order I am hitting https://api.exchange.coinbase.com/orders.

Likewise to read the feeds I am using ‘‘wss://ws-feed.exchange.coinbase.com’’ - and authenticating with it.

Does this mean then that I have an exchange account? I thought that may be the case, but when I navigate to the exchange login (Not the Coinbase Pro login I usually use), I get a message saying ‘we have detected you do not have an exchange account, please register’.

Is there a way I can find out what’s going on here, as to update all the code is going to take some time, so id like to understand as soon as possible if I can continue to use exchange, or if updates will be required.

Just to clear up any confusion, my api key is generated within my Coinbase Pro settings page.

Thanks again!

Hello @pete! Thank you for further detailing your scenario so we can better assist you with your concern. With this, please note that we have already raised your concern with the relevant teams to ensure that this is addressed accurately for you. We will get back to you once we have more information. Keep in touch!

1 Like

This great - many thanks to all you guys, I really appreciate the help!

3 Likes

I’m just looking for a little bit more clarification. Will that mean that the public channels on the Exchange websocket will remain public?
I don’t have an institutional account, but I do use the public ticker feed for best_bid and best_ask prices.
Unless I’m mistaken, it looks like the only way to get the best bid/ask prices in the new Advanced API is to subscribe to the level2 and keep track of the entire order book. That’s not something I’m willing to keep track of.

Thank you

Hello @stevenb2! Welcome to the forum! With regard to your concern about the public channels of the Exchange Websocket, it will still be available for use even if you’re not registered as an institutional account and you may still utilize the ticker channel for best_bid and best_ask prices. We would also like to confirm that the only way for you to get those desired data in the Advanced Trade API is the level2 channel. You may go to the Feedback Section of the Forum to request for features that you think will be beneficial for you and to the community as features and improvements to Coinbase come directly from feedback like yours, so it’s very valuable to us. Thank you!

2 Likes

Thank you for the help! That is reassuring news.

3 Likes

Hi - any news on this one?

Thanks

Hi @pete! Apologies for the delay in our response regarding this matter.

Based on the information we received from the relevant teams, it was confirmed that yes, Coinbase Pro API keys may be used with Coinbase Exchange endpoints. Thus to answer your question “Does this mean then that I have an exchange account?,” our answer here is no. Having known that you are also seeing a message saying “we have detected you do not have an exchange account, please register” confirms that you actually have a Coinbase Pro account and it only happens that you are able to utilize the Coinbase Exchange endpoints using API keys from your Coinbase Pro account.

Now, to answer your next question “Is there a way I can find out what’s going on here, as to update all the code is going to take some time, so id like to understand as soon as possible if I can continue to use exchange, or if updates will be required,” we regret to inform you that following what was announced here, Coinbase Pro (including Coinbase Pro APIs) will be fully sunsetted this year, after all customers have migrated to the new Advanced Trade. This means that once accounts are migrated and Coinbase Pro is fully sunsetted, you will not be able to use any of your existing Coinbase Pro APIs. This also means that your generated API keys from Coinbase Pro will no longer work either on the new Advanced Trade or in the Coinbase Exchange platform. Hence, we strongly recommend that you migrate your trading activity from Coinbase Pro to Advanced Trade and use Advanced Trade as your primary advanced trading platform before this time. To know more about this transition from Coinbase Pro to Advanced Trade, we suggest that you refer to this FAQ page. You may also read further on this Pro API Mapping documentation where you can see the alignment of Coinbase Pro API resources to Advanced Trade API.

Lastly, with regard to your concern about also using the Coinbase Exchange WebSocket, we would like to inform you that based on this announcement, Coinbase Exchange APIs (FIX, REST and Websocket) will continue to be available to Exchange (Institutional) clients. Hence, we can only clarify for now that Coinbase Exchange public WebSocket feed will still continue to work, but authenticated Coinbase Exchange WebSocket channels will not once Coinbase Pro is totally sunsetted.

We hope we are able to provide clarity with your concerns. Please feel free to reply back to this thread if you have further questions.

Thank you and have a great day! :sunny:

1 Like