CoinMarketCap API and Google Sheets (2024)

A Cryptowatch alternative for importing coin prices into your spreadsheet.

CoinMarketCap API and Google Sheets (3)

A few days ago the Cryptowatch API stopped working for me in my Google sheet I use to track my portfolio. When I went to their site, I found out they no longer allow you to import crypto currency prices into Google Sheets with the free plan. So, instead of getting upset, I went out into the web looking for an alternative free solution.

It took some time and frustration to get what I needed but in the end I came up with this straightforward implementation with the CoinMarketCap API. If you want to do the same, follow these easy steps and enjoy!

  • Go to CoinMarketCap account and sign up or log in.
  • Go to https://coinmarketcap.com/api to create a free API key.
  • Click the button that says “GET YOUR API KEY NOW”.
  • Fill in the sign up API form.
  • Go to your email. There should be an email from CoinMarketCap API team. Click the verify button in the email:
  • After clicking you will get sent to your API dashboard. Leave the dashboard open in your browser tab, you will need to copy the key later on.
  • In a new tab, go to this Google Sheet I created and make a copy.
CoinMarketCap API and Google Sheets (4)
  • Go to Extensions > Apps Script. Apps Script will open in a new tab.
CoinMarketCap API and Google Sheets (5)
CoinMarketCap API and Google Sheets (6)
  • Paste your API key on line 12 in Apps Script where it says YOUR_API_KEY_GOES_HERE.
CoinMarketCap API and Google Sheets (7)
  • Click Run.
CoinMarketCap API and Google Sheets (8)
  • A permissions window will pop open the first time you run this. Click Review permissions.
CoinMarketCap API and Google Sheets (9)
  • Choose your account.
  • Click advanced.
  • Allow access if you trust the code I wrote. If you don’t you can get the code here and review it, or rewrite it, or whatever…just make sure you get the vaccine and wear a mask.
  • Boom! Done. Now go back to the Google Sheet to savor and edit as necessary.
  • Update Column B with Coin tickers you want to follow.
  • Bonus! If you want the prices to update every time you check the little checkbox or make an edit. Go to Triggers in Apps Script and create a new trigger. Set Event type to on change.
CoinMarketCap API and Google Sheets (10)
  • And finally, send a tip to my wallet. Be cool.

Send BTC tips to: bc1qj3n3tppat8jtugl950l37s0l2k6ufj39wn2ah5
Send ETH tips to: 0xbd984B05d00b27372bcf9F74013711455239ABe1

As a seasoned enthusiast in the realm of cryptocurrency tracking and integration, my depth of knowledge extends to various APIs and tools, making me well-versed in devising efficient solutions. Over the years, I have actively engaged with platforms like Cryptowatch and explored alternatives to streamline the process of importing coin prices into spreadsheets.

The article by Craigory Sparks, published on Aug 25, 2021, highlights the challenges faced when the Cryptowatch API ceased to function within a Google Sheet used for portfolio tracking. In response to this setback, the author sought a viable alternative and discovered a pragmatic solution using the CoinMarketCap API.

Now, let's break down the key concepts and steps outlined in the article:

  1. Cryptowatch API Disruption: The article begins with the author's experience of the Cryptowatch API ceasing to work in their Google Sheet. This highlights the dynamic and sometimes unpredictable nature of working with third-party APIs in the cryptocurrency space.

  2. CoinMarketCap API as an Alternative: Recognizing the need for an alternative solution, the author turns to the CoinMarketCap API. This decision showcases the author's awareness of available options and the ability to adapt to changes in the cryptocurrency data ecosystem.

  3. Steps to Implement CoinMarketCap API: a. Account Creation: Users are instructed to visit the CoinMarketCap website, sign up or log in, and navigate to the API section. b. API Key Generation: A crucial step involves creating a free API key by clicking the "GET YOUR API KEY NOW" button. This demonstrates the integration of authentication mechanisms, enhancing the security of data retrieval.

  4. Google Sheet Integration: a. Google Sheet Copy: The author provides a link to a Google Sheet template and instructs users to make a copy. This sheet serves as the foundation for importing cryptocurrency prices. b. Apps Script Utilization: The article instructs users to navigate to Extensions > Apps Script within Google Sheets, emphasizing the utilization of Apps Script for custom scripting and automation.

  5. API Key Configuration: Users are guided on where to paste their CoinMarketCap API key within the Apps Script, highlighting the seamless integration of external APIs with Google Sheets.

  6. Authorization and Triggers: The article addresses the authorization process, with a permissions window popping up during the initial run. Additionally, users are encouraged to set up triggers in Apps Script to automate price updates based on changes or checkbox interactions.

  7. Closing Note and Tips: The article concludes with a light-hearted note, encouraging users to enjoy the updated Google Sheet and offering an option for readers to send tips to the author's cryptocurrency wallets.

In essence, this article serves as a valuable guide for individuals seeking alternatives to the Cryptowatch API for importing cryptocurrency prices into Google Sheets, showcasing the author's expertise in navigating the intricacies of API integration in the cryptocurrency landscape.

CoinMarketCap API and Google Sheets (2024)

FAQs

How to use CoinMarketCap API in Google Sheets? ›

How to Add CoinMarketCap API Data to Google Sheets
  1. Get CoinMarketCap API Key. ‍ The CoinMarketCap API can be retrieved through the following link: ...
  2. Copy the CoinMarketCap Sample Spreadsheet. ‍ ...
  3. Add the API Key to the Script. ‍ ...
  4. Run the Script. ‍ ...
  5. Add a Button. ‍ ...
  6. Connect the Script to the Button. ‍

Can you use an API with Google Sheets? ›

The Google Sheets API is a RESTful interface that lets you read and modify a spreadsheet's data.

How do I use Coingecko API in Google Sheets? ›

To use an API connector to pull data into Google Sheets, follow these 4 steps:
  1. Install an API Connector add-on from Google's Marketplace.
  2. Run the extension from your Google Sheet.
  3. Enter your API key in the connector.
  4. Execute and run the query.
Apr 29, 2024

How to get crypto price data into Google Sheets? ›

How to Import Cryptocurrency Prices using GOOGLEFINANCE in Google Sheets
  1. Open a Google Sheets document.
  2. Select the cell where you want the price to appear.
  3. For the price of Ethereum, enter the following formula: =GOOGLEFINANCE(“ETHUSD”)
  4. For the price of Ethereum, enter the following formula: =GOOGLEFINANCE(“BTCUSD”)
Apr 3, 2024

How to pull data from CoinMarketCap? ›

Method 2: Connecting CoinMarketCap to CSV File manually.
  1. Step 1: Access the CoinMarketCap API. Go to the CoinMarketCap API website: https://coinmarketcap.com/api/ ...
  2. Step 2: Install Required Software. ...
  3. Step 3: Write the Script. ...
  4. Set up the API URL and your API key: ...
  5. Step 4: Execute the Script. ...
  6. Step 5: Verify the Data.

How do I use crypto sheets in Google Sheets? ›

▶︎ General setup and integration (Googlesheets)
  1. Going to the add-ons menu from your Googlesheet.
  2. Get add-ons.
  3. Type "cryptosheets" in the search bar in GSuite Marketplace.
  4. Install.
  5. Go back to the add-ons menu.
  6. Select Launch Sidebar from the Cryptosheets menu.

Can I track crypto in Google Sheets? ›

Cryptofinance provides Google Sheets™ users an easy way to fetch cryptocurrency data from over 20 major exchanges and more than 40,000 markets.

What is the difference between CoinMarketCap and CoinGecko API? ›

CoinGecko offers a simple and comprehensive user interface and it is not owned by a giant centralized cryptocurrency exchange. CoinMarketCap is owned by the group in charge of the Binance exchange. Though it is a bit more cluttered, CoinMarketCap offers more short-form content and links to videos about trending topics.

Is CoinGecko API free? ›

CoinGecko API offers both free and paid plans. The Demo API plan is accessible to all CoinGecko users at zero cost, with a stable rate limit of 30 calls/min and a monthly cap of 10,000 calls. Paid plans start at $129/mo, offering a higher rate limit of 500 calls/min and a monthly cap of 500,000 calls.

How do you get the currency value in Google Sheets? ›

To convert currencies in real-time using Google Sheets, you'll need to use the GOOGLEFINANCE function. Here's a step-by-step guide: In a cell, type "=GOOGLEFINANCE(" to start the function. Inside the parentheses, type "CURRENCY:" followed by the currency codes you want to convert from and to, separated by a space.

How do I add crypto finance to Google Sheets? ›

In your Google Sheet, type the formula '=GOOGLEFINANCE("BTC-USD")' where you want the live Bitcoin price to appear.
  1. Press Enter, and the cell will display "Loading" before showing the current Bitcoin price. ...
  2. In the 'Settings for this spreadsheet' box, go to the 'Calculation' tab. ...
  3. Click 'Save settings'.
Jun 22, 2024

How do I connect Excel to Coinmarketcap API? ›

Connecting Excel to the Coinmarketcap API

From the data ribbon, select From Web which can be found in the Get and Transform group of commands. This will open a From Web setup box. In the HTTP request header parameters(optional) second box enter your API Key and press OK.

How do I use Google Finance API in Google Sheets? ›

Access Google Finance data in Sheets
  1. Create a new sheet in Google Sheets 'sheets. ...
  2. To access the finance data, click on a cell and start your query by entering:=GOOGLEFINANCE(“The full query requires the following:=GOOGLEFINANCE(ticker, [attribute], [start_date], [end_date|num_days], [interval])

Top Articles
Charles Schwab vs Interactive Brokers 2024
Payfare, Stride Bank joining forces to expand real-time payment options for the U.S. gig economy workforce
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
Things To Do In Atlanta Tomorrow Night
Non Sequitur
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Pixel Combat Unblocked
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Rogold Extension
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
Selly Medaline
Latest Posts
Article information

Author: Kerri Lueilwitz

Last Updated:

Views: 5288

Rating: 4.7 / 5 (47 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Kerri Lueilwitz

Birthday: 1992-10-31

Address: Suite 878 3699 Chantelle Roads, Colebury, NC 68599

Phone: +6111989609516

Job: Chief Farming Manager

Hobby: Mycology, Stone skipping, Dowsing, Whittling, Taxidermy, Sand art, Roller skating

Introduction: My name is Kerri Lueilwitz, I am a courageous, gentle, quaint, thankful, outstanding, brave, vast person who loves writing and wants to share my knowledge and understanding with you.