How we can get trades?

I have the token for coinbase API.
I need to find out the following:
How to GET ‘trade details’ from individual user accounts after the user grants View permission.

Hello @lalitkansal34, Welcome to the forum! First of all, we’d like to thank you for trying out our Coinbase APIs.For us to further assist you, we’d need you to help us in understanding your concern better. Kindly provide additional information regarding your query:

  • We noticed that you logged your concern under Sign in With Coinbase, we’d like to confirm if this is the product you are trying to use.
  • Additionally, can you please elaborate what you meant by “trade details?”

We’d appreciate it if you could get back to us as soon as you can so we can assist you right away. Thank you for your patience and understanding.

4 Likes

yes, this is the concern under Sign in With Coinbase
“trade details” means we want trade data of the user like symbol, price , date , tradeTpye.

2 Likes

Hello @lalitkansal34! First, we would like to clarify that Sign in With Coinbase doesn’t have an endpoint for trades. However, you may utilize the /transactions endpoint on SIWC mentioned in this documentation.

This endpoint will return the lists of transactions of an account by account ID. From the response data, you may be able to get the price or amount, the type of transactions such as buy, sell, send, transfer, etc. as well as the date the transaction was created. We hope this helps and again, welcome to the community!

2 Likes