Use Python to Query Coinbase API to Find Available Cryptocurrencies

Are you trying to find out what cryptocurrencies are available on Coinbase with their API? We provide the Python code below to do this in less than 25 lines of actual code! It is extremely simple to follow along with our example. By the way, All of our code is extensively documented line by line so you know exactly what is going on! If you do end up with questions, please contact us and we are happy to respond. The Python code is ready to run right away on Python versions 3.4+

Some of the functions and steps involved include:
(1) Using the requests library to access the API endpoint
(2) Loading the API's response to a Pandas Dataframe
(3) Saving the dataframe to a CSV file

Notice: Information contained herein is not and should not be construed as an offer, solicitation, or recommendation to buy or sell securities. The information has been obtained from sources we believe to be reliable; however no guarantee is made or implied with respect to its accuracy, timeliness, or completeness. Author does not own the any crypto currency discussed. The information and content are subject to change without notice. CryptoDataDownload and its affiliates do not provide investment, tax, legal or accounting advice.

This material has been prepared for informational purposes only and is the opinion of the author, and is not intended to provide, and should not be relied on for, investment, tax, legal, accounting advice. You should consult your own investment, tax, legal and accounting advisors before engaging in any transaction. All content published by CryptoDataDownload is not an endorsement whatsoever. CryptoDataDownload was not compensated to submit this article. Please also visit our Privacy policy; disclaimer; and terms and conditions page for further information.

Latest Posts
Follow Us
Notify me of new content