Open Orders API call

Hi Team,

We are trying to fetch portfolios in order to get open orders list. for this, we need to do API key authentication with the below parameters

  • X-CB-ACCESS-KEY: The API key as a string
  • X-CB-ACCESS-PASSPHRASE: The Passphrase shown when creating the API key
  • X-CB-ACCESS-SIGNATURE: The base64-encoded signature
  • X-CB-ACCESS-TIMESTAMP: A timestamp for your request

Since coinbase pro is merged with coinbase. we want to call coinbase and get the data.

For X-CB-ACCESS-PASSPHRASE, We could see that there is a passphrase create option in Coinbase Pro but not on coinbase. Please advise how we could do the call.

also, wanted to check if we can make this call using OAuth2? Please advise

Hello @nydeepak1! Welcome to the Coinbase Developer Forum! We are always happy to help but first we want to clarify that Coinbase Pro is not merged with Coinbase. Coinbase Pro will be fully sunsetted in early 2023 including its REST API and it is now replaced with Coinbase Advanced Trade. You may check the differences between Coinbase Pro and Advanced Trade through this link.

With regard to your inquiry on how to fetch portfolios in Advanced Trade. Unfortunately, portfolios are only available in Coinbase Pro and it is not something we currently offer in Advanced Trade. Because of this you won’t be able to fetch portfolios in Advanced Trade using Oauth2 as well.

As a workaround, you may utilize the List Orders endpoint to get a list of orders filtered by optional query parameters (product_id , order_status , etc).

Rest assured that Portfolios in Advanced Trade has been logged as a feature request with our internal teams so we can continue improving our user experience. Most new features and improvements to our products come directly from feedback like yours, so it’s very valuable to us. While we can’t offer any specific timeline for adding features, we are constantly working to build products our customers will love.

If you want to stay up to date on the latest from Coinbase Cloud, you can also bookmark the following webpage and subscribe to email updates at the bottom of the page: https://www.coinbase.com/cloud/discover

We hope this is helpful, and please let us know if you have any other questions.

2 Likes

Thank you very much for the response, this was helpful