Crypto API Tutorials:

Binance API | Bitfinex API | Bitmex API | BscScan API | Cardano API | Coinbase API | Coingecko API | Coinmarketcap API | CoinAPI | Etherscan API | Glassnode API | Messari API | Nomics API | OpenSea API | PancakeSwap API | Rarible API

You might also like:

  • CoinStats: a portfolio manager app for tracking crypto holdings from multiple wallets and exchanges
  • Best Crypto APIs: a comprehensive list of the best APIs for cryptocurrency traders, hodlers, and devs

How to import data from the Cardano blockchain into Google Sheets

Cardano is a blockchain, much like Ethereum or Bitcoin. We can use the Cardano blockchain API to import data from Cardano into Google Sheets. In this tutorial, we’ll show you how to connect the Cardano API to Google Sheets in 4 steps:

  1. Install the Apipheny add-on
  2. Choose a Cardano API endpoint
  3. Enter your Cardano API request into Apipheny
  4. Run the Cardano API request in your Google Sheet

Step 1.) Install and open the Apipheny add-on for Google Sheets

Apipheny is an API connector for Google Sheets. You can use Apipheny to connect your Google Sheets to unlimited API data sources, make unlimited API requests, and more. There is a 30 day free trial included.

1.) Install Apipheny by opening the following link on desktop and then clicking the Install button in the Google Marketplace: https://apipheny.io/install

2.) After you’ve installed Apipheny, open a Google Sheet and then click on the Extensions dropdown in the menu at the top.

In the dropdown list you should see Apipheny. Click Apipheny then click Import API to open the Apipheny sidebar in your Google Sheet.

open apipheny

Tip: you can open a new Google Sheet by entering this URL in your browser: sheet.new

Step 2.) Choose a Cardano endpoint

In this section, we’ll show you how to browse the Cardano API documentation to find an endpoint that retrieves the data you need from the Cardano blockchain. If you already know your API URL, or you want to use the same example URL as us, just skip to Step 3.

First, open the documentation page for this Cardano blockchain API: https://mainnet.cutymals.com/swagger/index.html

This page contains general data about the Cardano API and a list of endpoints:

Cardano API documentation page
Cardano API documentation page

An example endpoint is GET /odata/Delegations, which returns delegations:

https://mainnet.cutymals.com/odata/Delegations?X-API-KEY=ILoveCutyMals

The endpoint’s documentation contains its HTTP method (GET), the URI, a list of accepted parameters and example responses:

Delegations endpoint
Delegations endpoint

Step 3.) Enter your Cardano API request into Apipheny

Once you’ve chosen an endpoint, go back to your Google Sheet and make sure that the Apipheny add-on is open on the Import tab. With the Import tab open, enter these details into the add-on:

Method: At the top of the Apipheny sidebar, select the HTTP method (GET or POST) required by your API endpoint. For this example, we are using the GET method.

API URL: In Step 2, we explained how you can find the Cardano REST API endpoint that you need. Now copy and paste your complete Cardano API URL into the Apipheny add-on, where it says API URL Path, followed by any parameters required for your query (if applicable).

For this example, we are using the GET /api/CardanoSyncStatus endpoint, which returns the sync status. This is what the whole URL looks like:

https://mainnet.cutymals.com/api/CardanoSyncStatus?X-API-KEY=ILoveCutyMals

If you’re following the same example, just copy and paste this URL into Apipheny.

Headers: In the Headers section of Apipheny, add one row with the following key and value:

Key: 
X-API-KEY

Value: 
your_api_key

In this tutorial we used the public key for Cardano API, which is: ILoveCutyMals

You can use this public key or get a private one at https://cutymals.com/collect

Here’s what our request looks like in Apipheny:

Cardano API request entered into Apipheny
Cardano API request entered into Apipheny

Step 4.) Run the Cardano API request in your Google Sheet

Finally, the last step is to click the Run button at the bottom of the Apipheny add-on and then wait for the Cardano API data to be imported into your Google Sheet. Here’s what our request looked like when completed:

Cardano data imported into Google Sheets
Cardano data imported into Google Sheets

That’s it! You’ve successfully imported data from the Cardano blockchain into your Google Sheet using the Apipheny add-on.

After making a successful request to the Cardano API, try querying a different Cardano API endpoint, or try using one of the more advanced features in the Apipheny add-on.


Crypto API Tutorials:

Binance API | Bitfinex API | Bitmex API | BscScan API | Cardano API | Coinbase API | Coingecko API | Coinmarketcap API | CoinAPI | Etherscan API | Glassnode API | Messari API | Nomics API | OpenSea API | PancakeSwap API | Rarible API

You might also like:

  • CoinStats: a portfolio manager app for tracking crypto holdings from multiple wallets and exchanges
  • Best Crypto APIs: a comprehensive list of the best APIs for cryptocurrency traders, hodlers, and devs


API Tutorials



API Knowledge

What is an API?
What is an API URL?
What are parameters?
What is an endpoint?
What is an API key/token?
What is basic authentication?
What are headers?
What is a GET request?
What is a POST request?