Import CoinMarketCap API Data to Airtable

Mar 1, 2021Andy Cloke

In this guide, we'll look at how to import cryptocurrency prices from the CoinMarketCap API to Airtable. CoinMarketCap is an online source of crypto market data, such as coin prices (current and historical), exchange information and lots more. We first need to get an API key from CoinMarketCap, then we will use the Data Fetcher extension to create a crypto tracker in Airtable.

Get CoinMarketCap API Key

Click here to get a CoinMarketCap API key. Then click 'Get Your API Key Now'.

Group 1(13).png

Fill in your details and create a free CoinMarketCap account.

Screenshot 2021-12-29 at 11.23.39.png

You'll receive an email from CoinMarketCap. Click 'Verify My Account' in the email. In your CoinMarketCap account, click 'Copy Key' and make a note of it somewhere secure.

Group 1(15).png

Install Data Fetcher

Install Data Fetcher from the Airtable marketplace. After the extension launches, sign up for a free Data Fetcher account by entering a password and clicking 'Sign up for free'.

Group 1Data Fetcher Sign Up .png

Import CoinMarketCap Data to Airtable

Requests in Data Fetcher are how you import data to or send data from your Airtable base. We will create a request to import prices from CoinMarketCap.

On the home screen of the Data Fetcher extension, click 'Create your first request'.


On the create request screen in Data Fetcher, for Application, select 'CoinMarketCap'.


Under Authorization, enter your CoinMarketCap API key from the earlier step.

Enter a Name for your request, e.g. 'Import Coin Prices'.

For Endpoint, select 'Latest market quotes for 1 or more cryptocurrencies'. This determines what data we want to import from CoinGecko to Airtable.

Click 'Save & Continue'.


Select the Coins you want to import data for, e.g. 'Bitcoin'.

Screenshot 2021-12-29 at 11.29.09.png

Select the currency you want to Convert to, e.g. 'USD'.


Select the Output Table & View you want to import CoinMarketCap data into.

Screenshot 2021-12-28 at 14.50.05.png

Click 'Save & Run'.


The request will run and the Response field mapping modal will open. This is where you set which fields to import from CoinMarketCap and how they should map to your output table. For each CoinMarketCap field, you can either import or filter it. For an imported field, you can set whether to map them to an existing field or create a new field.

Filter out any fields you do not want to import, e.g. all the ones that begin 'Status'.

Group 1(19).png

Change the field type of 'Quote N price' (e.g. 'Quote 2782 price') field to currency using the dropdown and the new field name to 'Current price'.

Group 1(21).png

Click 'Save & Run'.

Group 1(22).png

Data Fetcher will create any fields that need to be created in the output table, then run the request again and import the data from CoinMarketCap to Airtable.

Screenshot 2021-12-29 at 12.05.59.png

Build an Airtable Crypto Tracker

Now we can use our table of coin prices to build an Airtable crypto tracker. This will track the value of our crypto portfolio based on the amount we hold and the latest prices.

Create a second table in your base called 'Portfolio'. Add a field called 'Coin' that is linked to the first table (the table you imported CoinMarketCap prices into). Then add a field called 'Price' that is a lookup of the 'Current price' field in the first table.

Screenshot 2021-12-29 at 12.25.49.png

Add a field called 'Exchange' with type 'Single select' with options for the coin exchanges you use, e.g. 'Binance', 'Coinbase' etc.

Screenshot 2021-12-29 at 12.26.28.png

Add a field called 'Balance' with type 'Number'. This is how many of the coin you have in that exchange. Add a formula field called 'Value' with the formula {Price}*Balance and select 'Currency' formatting.

Screenshot 2021-12-29 at 12.27.40.png

We now have a built an Airtable crypto tracker that updates when time we run the request. You can see the total value of your portfolio in the Airtable summary bar.

Group 1(25).png

Import CoinMarketCap API Data Automatically

At the moment, we have to manually run the request and import the prices from CoinMarketCap. We can use Data Fetcher's scheduled requests feature to automatically update them every 15 minutes/ hour/ day etc.

In Data Fetcher, scroll to Schedule and click 'Upgrade'.


A new tab will open where you can select a plan and enter your payment details to upgrade.

data fetcher upgrade pricing plans.png

Return to the Data Fetcher extension and click 'I've done this'.


Under Schedule click '+ Authorize'.

Schedule Data Fetcher

A new window will now open where you need to authorize the Airtable bases Data Fetcher will be able to access.

By selecting 'All current and future bases in all current and future workspaces' you will avoid having to unauthorize other bases in the future.

Click 'Grant access'.


Back in Data Fetcher, you'll see Schedule this request is now toggled on.

Select how often you want the request to run, e.g. 'Every 15 mins'. Click 'Save' The request will now run on the schedule and import prices from CoinMarketCap automatically.

Group 11(2).png

Related Posts

How to Connect to the Coinbase API in Airtable with No-Code

How to Connect to the Coinbase API in Airtable with No-Code

Oct 11, 2022

Rosie Threlfall

How to Create an Airtable Crypto Tracker

How to Create an Airtable Crypto Tracker

Apr 12, 2022

Rosie Threlfall

Import Historical Crypto Market Data in Airtable

Import Historical Crypto Market Data in Airtable

Feb 17, 2022

Andy Cloke