Crypto API tutorials and more:
In this tutorial, I’ll show you how to connect the Coingecko API to Google Sheets in 4 steps:
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.
Tip: you can open a new Google Sheet by entering this URL in your browser:
In this section, we’ll show you how to browse the CoingeckoAPI documentation, to find the API URL that retrieves the information you need from your account. If you already know your URL, or you want to use the same example URL as us, just skip to Step 3.
First, open the CoingeckoAPI documentation page: https://www.coingecko.com/api/documentations/v3#/
A list of available endpoints will be displayed on the screen:
An example endpoint is GET Exchanges List, which obtains all the markets ids, in order to make API calls. This is the API URL for the endpoint:
The documentation for each endpoint contains the HTTP method (eg. GET) and the endpoint path, a short description of the endpoint’s purpose, a list of the accepted parameters and a table of the expected responses, for various content types:
Click the Try it out button to display and run an example cURL command, as well as its associated response:
All API calls to Coingecko should be made to the https://api.coingecko.com/api/v3/ base domain. All endpoints should be appended to this base URL.
Now 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:
API URL: In Step 2, we explained how you can find the CoingeckoAPI endpoint that you need. Now copy and paste your complete CoingeckoAPI 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 Coin list endpoint, which lists all supported coins, as id, name and symbol. This is what the whole URL looks like:
If you’re following the same example as us, you can copy and paste this URL into Apipheny.
Headers: In the Headers section of Apipheny, add one row with the following key and value:
Header Key: Accept Value: application/json
Here’s what our Coingecko API request looks like in Apipheny:
Finally, the last step is to click the Run button at the bottom of the Apipheny add-on and then wait for the Coingecko API data to be imported into your Google Sheet. Here’s what our request looked like when completed:
After making a successful request to the CoingeckoAPI, try querying a different CoingeckoAPI endpoint, or try using one of the more advanced features in the Apipheny add-on.
Make a GET request
Make a POST request
PUT, PATCH, & DELETE Requests
Save requests for later
Schedule requests for automatic updates
Reference cell values in requests
=APIPHENY custom function
Stack multiple URLs in a single request
Run all saved requests at once
Modify your request settings
Import & export saved API settings
Alpha Vantage API
Constant Contact API
Facebook Graph API
Facebook Ads API
Google SERP API
Linkedin Ads API
Product Hunt API
Reddit Ads API
Riot Games API
Crypto API tutorials and more: