Returns fiat and cryptocurrency in SIWC API

Hi, is there such an API endpoint in Sign in with Coinbase API that returns the supported fiat currencies and cryptocurrencies of Coinbase? Thanks

Hello @goodboy! We appreciate your interest in using Coinbase APIs. With regards to your concern if there’s an endpoint that returns the supported fiat currencies and cryptocurrencies of Coinbase. Unfortunately, Sign in with Coinbase doesn’t have an endpoint that you can use to return the supported fiat currencies and cryptocurrencies of Coinbase.However, we believe you can utilize the /currencies endpoint of Coinbase Exchange. You may do this by pushing a GET request to https://api.exchange.coinbase.com/currencies

However, this endpoint only returns the list of currently supported currencies, but not necessarily the list of all the tradable assets. Please note that this is a public endpoint, and does not require authentication. You may simply type in the request URL into your browser. You may check this documentation site for more details: Get all known currencies.

We hope we were able to help you. If you have questions or clarification, please do not hesitate to reach out to us again. Thank you!

Thanks for your response, I appreciate it. I am kind of confused because in the documentation, it says that the Get Currencies of SIWC API list known currencies, and it even has an example of currency code which is BTC. So, basically this endpoint only returns fiat currencies, is that correct?

Hi @goodboy! Thank you for pointing this out. You are right about your knowledge that the /currencies endpoint returning only fiat currencies. Please note that we have raised this concern so that the wrong information in the docs should be removed.

Hello @goodboy ! As an alternative, you can hit the /v2/currencies/crypto endpoint to retrieve information on all cryptocurrencies. We will be following up with the relevant team to get this updated in the documentation.

Thank you and have a great day!