

- #Http query for cryptocurrency prices mac excel how to#
- #Http query for cryptocurrency prices mac excel install#
In this case, I just want the quote so I only expand that and keep expanding records as long as you want to get the data you need. Then, expand the value record by clicking the two arrows on the header and check off anything you are interested in. Then, convert to table by clicking Into Table as this is already the point we will see the list of quotes. The flow is essentially to click into data, we can disregard the status object. Because this takes many clicks, please refer to the video below to guide you. Next, create the right tables using the query editor from the returned data. Step 2: Create the Tables in the Excel Query Editor By putting our API key as a header item, we are already setup to authenticate with CoinMarketCap, so no further configuration is necessary. If you are asked how you would like to authenticate with the website, choose Anonymous. Paste your API key from CoinMarketCap in the box beside. Then, under HTTP request header parameters type X-CMC_PRO_API_KEY in the dropdown box. In this case, I have used to get the latest prices of BTC and LTC. Enter the API URL you would like to get data from in the top box of URL parts. Make sure the Advanced radio button is selected. Next, we need to input the URL we want to use and setup our API key as a header item to authenticate with CoinMarketCap. Under the Data tab in the ribbon, select Get Data > From Other Sources > From Web. To pull the data into Excel, we use a web query.

Step 1: Setup the CoinMarketCap Web Request in Excel For this example, I will use the symbol parameter. In order for proper data to be returned, a proper API key ( sign up on their website) must be passed as a header item and cryptocurrencies to return selected by the id/slug/symbol parameters. With the CoinMarketCap API, current quotes are handled by the endpoint.
#Http query for cryptocurrency prices mac excel install#
If you are using Excel 2013 or prior, you will need to install Power Query before attempting these steps. Be aware that this works best with Excel 2016 or greater, and doesn’t work with Excel for Mac.
#Http query for cryptocurrency prices mac excel how to#
In this article, I will show you how to use a query to import current prices into Excel and have them updated regularly using the methods shown in the Import JSON Data in Excel article. If it is your wish to use Excel to import CoinMarketCap API data, and have it updated live, look no further.

The CoinMarketCap Pro API is a great source for cryptocurrency data on current and historical prices, exchange information and more.
