How Can I get the Currency from trans list?


Hello, When I pulled Trans for a account id,it returned json data did not contains currency. How can I get it?

Hello @Mysoul. Welcome to the forum! Thank you for taking interest in Coinbase APIs.

I see that you are using the transfers endpoint. However, this endpoint doesn’t include what currency was transferred.

If you want to retrieve currencies from transfers or deposits, you can generate reports using the Reports endpoint specifically the POST request to https://api.exchange.coinbase.com/reports and the GET request to https://api.exchange.coinbase.com/reports/{report_id} to download it.

Additionally, we have escalated this to our engineering team for a fix. Though we currently don’t have an estimated time on when the fix would be implemented, rest assured that we will inform you once we have an update.

Thank you!

2 Likes

Thank you ~
I will try it again later

2 Likes

Hello @Mysoul! We would like to inform you that the issue you have reported has been fixed. You should be able to see now that the currency is being returned as part of the response for the transfers endpoint. Thank you for your patience and understanding.

Please reach out in the future if you need anything else.

2 Likes

All right, Thank you~

Hi,@Shirley Dizon ! I found that in the returned message, some sections content still has no currency. Is there any special processing logic?

Hi @Mysoul ! Our team is still in the process of adding the currency field to all the transactions/transfers, so you will notice that any new transfers will have the field, but we are still adding that field for older transfers, and it will take some time before seeing the currency field added to all transfers.

We hope this helps clarify things, and thank you for your patience and understanding.

Please reach out in the future if you need anything else.

4 Likes

thank you very much~

WOW…
I asked the coinbase pro support 2 YEARS ago why the transfers do not include any currency field, but only received a response after 1 year and the response was not helpful at all, because the support is just the worst from all exchanges.

Now I finally found this place and just few days ago you (Mysoul) made coinbase fix this issue, thank you very much !

@Coinbase:
Please also fix this for other endpoints, like the “ledger” endpoint. It also does not contain any information about the currency when the type is “transfer”.
The “fee” type also has no currency, not 100% sure though if this is needed, since it at least has the product_id.

Hello @Serpens66. Welcome to the forum! Thank you for taking interest in our Coinbase APIs. We will relay your concern with our team and we will get back to you once we have an update. Keep in touch!

Hi @Serpens66,

Thank you for your patience while we were looking into this. Regarding what you’ve reported about the currency parameter not being shown in the response when the type is “transfer” for the “ledger” endpoint, we have escalated this to our engineering team, and we will let you know as soon as we have updates from them.

About the “fee” endpoint, adding the currency to the response would be a feature request since that parameter is not expected on the response at this time. We recommend that you post this in the Feedback Section of the Forum as most new features and improvements to Coinbase come directly from feedback like yours, so it’s very valuable to us. Thanks!