How to Pull Crypto Prices and Data Into Excel - HowtoExcel.net (2024)

In this article, I’ll show you how you can download the latest prices for cryptocurrencies, along with percent and volume changes. The data will be downloaded via an API from coinmarketcap.com. Once you’ve set up the API, it becomes a breeze to pull crypto prices and data into Excel, in just a matter of seconds.

Getting an API Key

One of the first things you’ll want to do is go onto the website https://coinmarketcap.com/api/ where you can request an API key, which you’ll need if you want to query the data. Once you have the key, you can begin pulling in values. You don’t need to worry about saving or remembering your API key because once you’re logged into the site, you’ll see an Overview section that shows you where you can copy your API key by hovering over that section. On this page, you will also see how many credits you have used today and this month versus how many are available on your plan.

How to Pull Crypto Prices and Data Into Excel - HowtoExcel.net (1)

Setting up the connection in Power Query

Once you’ve got your API key copied, you can go into Excel and create a Power Query connection. To do this, go under the Data tab and select the From Web button:

How to Pull Crypto Prices and Data Into Excel - HowtoExcel.net (2)

Then, you’ll enter the URL for the API connection, which is https://pro-api.coinmarketcap.com. On the documentation page, you’ll also see a list of possible endpoint paths. Under the basic plan, not all endpoints will be available. In this example, I’m just going to retrieve the latest market data. And for that, the URL is as follows:

https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest

I’ll put that into the Power Query URL. However, because the connection requires authentication, I need to check off the option for Advanced rather than just leave the default to Basic. In the section for HTTP request header parameters, you need to enter X-CMC_PRO_API_KEY (you’ll find this on the documentation page) and your API key. Here’s how that looks:

Then, click on OK and Power Query will go to work on creating your connection.

Formatting the data in Power Query

Once loaded into Power Query, you’ll see this:

How to Pull Crypto Prices and Data Into Excel - HowtoExcel.net (4)

If you click on the List button next to data, then you will get a series of records:

How to Pull Crypto Prices and Data Into Excel - HowtoExcel.net (5)

On the top-left-hand corner, there is an option to convert this To Table. Click on that button, leave the default options on the next window as they are, and then click on OK. We’re still left with a long list of records. For this step, click on the icon highlighted below, at the top of the column:

How to Pull Crypto Prices and Data Into Excel - HowtoExcel.net (6)

When the next screen pops up showing you all the columns that will be expanded, click OK. Now you have something that looks a lot more useable:

How to Pull Crypto Prices and Data Into Excel - HowtoExcel.net (7)

But there’s still more information that can be extracted. Scroll over to the last column, which should contain the word ‘quote’ in its name. Here there will be a list of records again. And using that button at the top of the field, this can also be expanded. It only has a USD field and once expanded, it looks like nothing has changed. Click on the header button once more, and now you’ll see fields showing volumes and price changes.

How to Pull Crypto Prices and Data Into Excel - HowtoExcel.net (8)

Now, you can load the data into Excel by clicking on the Close & Load button. You should now see it populate in your spreadsheet:

How to Pull Crypto Prices and Data Into Excel - HowtoExcel.net (9)

Now you can do a refresh at any point in time and your query will pull in the latest data from coinmarketcap.com.

If you liked this post on How to Pull Crypto Prices and Data Into Excel, please give this site a like on Facebook and also be sure to check out some of the many templates that we have available for download. You can also follow us on Twitter and YouTube.

How to Pull Crypto Prices and Data Into Excel - HowtoExcel.net (2024)

FAQs

Can you put crypto prices in Excel? ›

Cryptocurrencies Now In Excel!

When Excel received the capability to retrieve stock data directly within the spreadsheet via data types, cryptocurrencies were also included in the dataset. This article will show you how to pull current crypto prices and historical data natively inside Excel.

How do you add a crypto price to a spreadsheet? ›

Google Sheets' GOOGLEFINANCE function can be used to get cryptocurrency prices. Simply type in, between quotation marks, the ticker symbol for the cryptocurrency as the only argument for the function. Alternatively, type the ticker symbol, without quotation marks, into a cell and use the cell reference in the formula.

How do I get my CSV from crypto? ›

How to export my Crypto.com App transaction records?
  1. On the Accounts page, tap the history icon (top right).
  2. Tap on the 'Export' button (top right).
  3. Select the Start and End Date (inclusive) then tap "Export to CSV'.

How do I find my crypto CSV? ›

Click transaction history icon (top right) on the Crypto Wallet page. Click export icon (top right) on the Transaction History page. Select date range for export and click export to CSV. The CSV file is generated and you can now export it.

How do I install Cryptosheets in Excel? ›

Excel Online
  1. Login with your Microsoft credentials.
  2. Choose New Blank Workbook.
  3. Go to Insert > Office Add-ins.
  4. In the popup window, choose Store.
  5. Type Cryptosheets in the search box.
  6. Choose Cryptosheets.
  7. Take a moment to look at the Store page to familiarize yourself with the add-in.
  8. Choose Add to install the add-in.

Is Cryptosheets free? ›

Can I get started for free? Yes! All accounts receive 1000 free queries per month that reload automatically.

How do you keep track of crypto prices? ›

Cryptocurrency price trackers should use reliable data and consistently update their data. CoinMarketCap is the industry's most popular and recognizable cryptocurrency price tracker; other trackers include Coinlib and Bitgur.

How do I get CoinMarketCap prices in Excel? ›

Getting Current Latest Price Quotes
  1. Step 1: Setup the CoinMarketCap Web Request in Excel. To pull the data into Excel, we use a web query. ...
  2. Step 2: Create the Tables in the Excel Query Editor. ...
  3. Step 3: Finished CoinMarketCap Table in Excel and Setup Auto Refresh.
Dec 20, 2019

How do I find Cryptosheets in Excel? ›

Excel Online
  1. Sign in to your Office 365 account.
  2. Select New Blank Workbook.
  3. Go to Insert > Office Add-ins.
  4. In the popup window, choose Store.
  5. Type Cryptosheets in the search box.
  6. Choose Cryptosheets.
  7. Take a moment to look at the Store page to familiarize yourself with the add-in.
  8. Choose Add to install the add-in.
Aug 3, 2018

Top Articles
Latest Posts
Article information

Author: Nathanael Baumbach

Last Updated:

Views: 5626

Rating: 4.4 / 5 (55 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Nathanael Baumbach

Birthday: 1998-12-02

Address: Apt. 829 751 Glover View, West Orlando, IN 22436

Phone: +901025288581

Job: Internal IT Coordinator

Hobby: Gunsmithing, Motor sports, Flying, Skiing, Hooping, Lego building, Ice skating

Introduction: My name is Nathanael Baumbach, I am a fantastic, nice, victorious, brave, healthy, cute, glorious person who loves writing and wants to share my knowledge and understanding with you.