How to Get Crypto Price Data in Excel and Google Sheets? (2024)

Cryptocurrencies have become increasingly popular over the past few years, and more people are now investing in them. As a result, there is a growing need for tools and methods that can help investors track their cryptocurrency holdings and monitor market trends.

One such tool is the use of an API to pull crypto data into an Excel spreadsheet. This method allows investors to easily analyze and manipulate data in a familiar format. In this article, we will explore the steps involved in pulling crypto data into an Excel and Google spreadsheet using Token Metrics Crypto Data API.

Token Metrics API Overview

The Token Metrics Data API is a comprehensive data solution that offers both real-time and historical market data for cryptocurrencies. Its purpose is to aid developers and businesses in accessing and analyzing data promptly to make informed decisions.

Regardless of whether you're a seasoned developer or just starting in the cryptocurrency world, you can maximize your crypto portfolio using the end-points provided by Token Metrics.

The Data API provides a stream of 14 endpoints, including exclusive grades, analytics, and indicators, that can be utilized to empower your bots, models, and platforms. The data provided by the API can assist you in:

  • Validating
  • Back-testing, and
  • Refining your investment decision-making process.

Let’s check the process of pulling the crypto data into an Excel sheet in the 7-step breakdown below…

Import Crypto Data in Google Sheets and Excel

Here’s the step-by-step breakdown of extracting crypto data into an Excel Sheet using Token Metrics:

1. Register on Token Metrics Platform

First, head over to www.tokenmetrics.com/crypto-data-api and login/signup using your credentials.

Note: If you are new to Token Metrics, then click on Register, and sign-up for a 7-day free trial. One Bonus: You can pay with NFT.

How to Get Crypto Price Data in Excel and Google Sheets? (1)

2. Go to Homepage

Once you are in, you will be guided to the homepage, where you will have all rating of crypto assets, as shown below:

How to Get Crypto Price Data in Excel and Google Sheets? (2)

3. Click on the DATA API

Now, click on the “DATA API” from the Menu Bar on the top. [Refer to the image below]

How to Get Crypto Price Data in Excel and Google Sheets? (3)

4. Generate Access Key

From here, you need to generate your access key using the "Generate Access Key" button [as seen on the top-right corner of the image below].

How to Get Crypto Price Data in Excel and Google Sheets? (4)

Important Note:

Copy and save the access key shown on the next page as it will not be made visible again.

5. Open Google Sheets

It’s now time to open Google Sheets and create a new spreadsheet.

In this new spreadsheet, enter some crypto assets under Column 1 and their symbol in Column 2 like this.

How to Get Crypto Price Data in Excel and Google Sheets? (5)

Here, we have put TM Token ID in Column 3, a unique identifier associated with each token in the TM Data API ecosystem. This will make your life easier once you become familiar with our interface on a daily basis.

In Column 4 and Column 5, we have put TM Investor Grade and TM Trader Signal, respectively, which will be fetched from TM Data API in the following steps.

6. Go to Extensions and click Apps Script

Now, hover over to the "Extensions" tab under the menu bar and click "Apps Script" where we will write scripts to automate the fetching of the above metrics in the Google Sheets.

How to Get Crypto Price Data in Excel and Google Sheets? (6)

7. Apps Script IDE

Now, our powerful ‘Apps Script IDE’ will be opened, where we will write the code to the script and later deploy as necessary.

How to Get Crypto Price Data in Excel and Google Sheets? (7)

The Code Format:

We will start writing the script in Code.gs file.

The following part will be focused on the actual code that will be written in the script file.

Run the Open() function once using the above command, and you will see a menu "Update Metrics" in the spreadsheet menu bar with the following options:

  • TM Token Ids
  • TM Investor Grade
  • TM Trader Signal

You can click on all the three options, one at a time, to see the results displayed on the spreadsheet.

How to Get Crypto Price Data in Excel and Google Sheets? (8)

Also, you can update the metrics whenever required by pressing the above buttons in the menu bar, so that you get the accurate data for your investments.

How to Get Crypto Price Data in Excel and Google Sheets? (9)

Interested?

Looking to learn more about our Crypto data API?

Just head over here - developers.tokenmetrics.com

Having explained all this, let the truth be told. Token Metrics does not personally favor or vouch for any particular cryptocurrency in the market.

The Bottom Line

In conclusion, pulling crypto data into an Excel spreadsheet using an API can be a useful and efficient way to keep track of market trends and analyze cryptocurrency performance.

By following the steps outlined in this process, one can easily integrate an API into Excel and retrieve real-time data on various cryptocurrencies.

Additionally, with the vast array of features available on Token Metrics API, one can tailor their data retrieval to specific preferences and easily manipulate the data in Excel for further analysis.

With the growing importance of cryptocurrencies in the financial world, utilizing APIs to pull crypto data into Excel can provide a valuable tool for traders, investors, and researchers alike.

How to Get Crypto Price Data in Excel and Google Sheets? (2024)

FAQs

How to Get Crypto Price Data in Excel and Google Sheets? ›

Import live Bitcoin prices into Google Sheets using the GOOGLEFINANCE

GOOGLEFINANCE
Google Finance is a website focusing on business news and financial information hosted by Google.
https://en.wikipedia.org › wiki › Google_Finance
function or API connectors like CoinGecko through add-ons. The simplest method involves typing '=GOOGLEFINANCE("BTC-USD")' in a cell. For more detailed data, install an API Connector add-on and configure requests for live cryptocurrency prices.

How to get cryptocurrency prices in Excel? ›

In Excel, use the "DATA" tab and select 'From Web' to import data from the API. Follow the prompts to connect to the API and retrieve live price data for your chosen cryptocurrencies.

Can Google Sheets track crypto? ›

Tracking your crypto portfolio on Google Sheets allows you to easily analyze data with charts, pivot tables and formulas across any device, any time. Having auto-refreshing crypto price data also ensures you have an accurate view of all your investments at all times.

How do you automatically populate crypto price in spreadsheet? ›

Add Crypto Prices to Google Sheets Using GOOGLEFINANCE Function
  1. Identify The Crypto to Import. ‍ What we need to identify is the crypto and its corresponding ticker in Google Finance. ...
  2. Use Formula =GOOGLEFINANCE(ticker) ‍ Using the syntax =GOOGLEFINANCE(ticker), the formula becomes. ...
  3. Press Enter. ‍
Jan 29, 2024

How do I get crypto price data? ›

Here is the list of top crypto API providers with Free and paid plans.
  1. Token Metrics API.
  2. CoinMarketCap.
  3. CoinGecko.
  4. CryptoCompare.
  5. CCXT.

How to pull crypto prices into Google Sheets? ›

Import live Bitcoin prices into Google Sheets using the GOOGLEFINANCE function or API connectors like CoinGecko through add-ons. The simplest method involves typing '=GOOGLEFINANCE("BTC-USD")' in a cell. For more detailed data, install an API Connector add-on and configure requests for live cryptocurrency prices.

How to make a crypto Excel spreadsheet? ›

Step 1: Install Cryptosheets: Get the add-in from their website. Step 2: Connect Data: Launch Excel, go to Cryptosheets, and connect to your data source. Step 3: Retrieve Data: Use Cryptosheets' functions to get specific cryptocurrency data. Step 4: Organize and Analyze: Organize and visualize data using Excel's tools.

Does Excel have crypto? ›

The easiest way to import live crypto prices is by using Excel's "Data from Web" feature, and connecting it with CoinGecko's crypto API endpoint /coins/markets.

How do I track crypto portfolio in Google Sheets? ›

Let's jump in!
  1. Step 1: Install API Connector. Install the API Connector add-on from the Google Marketplace. ...
  2. Step 2: Get Your CoinGecko API Key. ...
  3. Step 3: Pull CoinGecko API Data into Google Sheets. ...
  4. Step 4: Handling Pagination. ...
  5. Step 5: Configure Your Crypto Portfolio Tracker.
Apr 8, 2024

Can Google Sheets pull data? ›

To pull data from other spreadsheets, use the IMPORTRANGE function.

How to get crypto price from CoinMarketCap on google sheet? ›

Use the UrlFetchApp method to make HTTP requests to the API. Include your CoinMarketCap API key in the request header for authentication. Write a script to fetch the latest price of a specific cryptocurrency or other data as needed. Use the =getCryptoData() formula in a cell in your Google Sheets to display the data.

How to fetch live stock prices in Excel? ›

You can use the function like =qm_stream_last (“MSFT“) or =qm-stream_last(B2) where cell B2 is the one that contains the stock symbol. As soon as you do that, the stock prices will start showing in your Excel cell.

Is crypto data free? ›

There are a huge number of crypto APIs, and virtually all of them offer public crypto data for free through their public endpoints.

Where can I get cryptocurrency data? ›

CryptoCompare displays a live feed of currently traded cryptocurrencies in addition to market analysis information for each coin. Bloomberg (see access details) offers price data for Bitcoin, Bitcoin Cash, Dash, EOS, Ethereum, Ethereum Classic, Litecoin, Monero, XRP, and Zcash as well as cryptocurrency futures data.

Where can I get crypto market data? ›

dxFeed provides access to normalized real-time, delayed and historical market data for all main cryptocurrencies from the top 20+ crypto exchanges. dxFeed is connected directly to the exchanges and brings high speed, resilience and flexibility to data management.

How to get data from CoinMarketCap to Excel? ›

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. Excel will connect to the API and open up the Power Query window.

Top Articles
Latest Posts
Article information

Author: Edmund Hettinger DC

Last Updated:

Views: 5898

Rating: 4.8 / 5 (58 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Edmund Hettinger DC

Birthday: 1994-08-17

Address: 2033 Gerhold Pine, Port Jocelyn, VA 12101-5654

Phone: +8524399971620

Job: Central Manufacturing Supervisor

Hobby: Jogging, Metalworking, Tai chi, Shopping, Puzzles, Rock climbing, Crocheting

Introduction: My name is Edmund Hettinger DC, I am a adventurous, colorful, gifted, determined, precious, open, colorful person who loves writing and wants to share my knowledge and understanding with you.