Connect CoinGecko To Google Sheets [API Integration] - Apipheny (2024)

  • ⭐️ Coingecko API: use coupon code APIPHENY20 for 20% off a premium Coingecko API plan. Click here to signup.
  • Crypto Tutorials: Binance | Bitfinex | Bitmex | BscScan | Cardano | Coinbase | Coingecko | Coinmarketcap | CoinAPI | Coinranking | Etherscan | | Glassnode | Huobi | LiveCoinWatch | Kraken | Kucoin | Magic Eden | Messari | Nomics | OpenSea | PancakeSwap | Rarible | Rarify | Solanart
  • Best Crypto APIs: list of the best APIs for cryptocurrency traders and devs

Exclusive offer from Coingecko API

✨ Unlock the full power of the Coingecko API with coupon code “APIPHENY20” and enjoy a generous 20% discount on the monthly or annual subscription plan! Don’t miss this chance to access comprehensive cryptocurrency data at an unbeatable value. Join today and harness the potential of the Coingecko API like never before.

  1. Go to Coingecko
  2. Sign in to your account or sign up for an account
  3. Choose “annually” on the pricing page and click to purchase one of the plans
  4. Follow the steps to checkout
  5. On the payment screen click “Add promotion code” and enter the code “APIPHENY20” to get 20% off the monthly or annual plan

How to import data from Coingecko into Google Sheets

Coingecko is a popular platform for getting cryptocurrency prices, market cap, trading volume, and more. We can use the Coingecko API to import crypto prices and other data into Google Sheets.

In this tutorial, I’ll show you how to connect the Coingecko APItoGoogle Sheetsin 5 steps:

  1. Install the Apipheny Add-on
  2. Obtain an API key
  3. Choose a Coingecko API endpoint
  4. Enter your Coingecko API request into Apipheny
  5. Run the Coingecko API request in your Google Sheet

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

Apipheny is a free API connector for Google Sheets. You can use Apipheny to connect your Google Sheets to API data sources, easily.

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.

Connect CoinGecko To Google Sheets [API Integration] - Apipheny (1)

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

Step 2.) Obtain an API key

Coingecko API has only paid subscription plans with the possibility to first try the API with a demo account. We used the demo account to be able to show how to obtain an API key for Coingecko API and how it works.

So, we created a demo account by clicking the Create Demo Account button from https://www.coingecko.com/en/api/pricing page:

Connect CoinGecko To Google Sheets [API Integration] - Apipheny (2)

We choose to sign in with a Google account:

Connect CoinGecko To Google Sheets [API Integration] - Apipheny (3)

Complete all the fields and then click the green button at the bottom of the page:

Connect CoinGecko To Google Sheets [API Integration] - Apipheny (4)

Your demo account is now created and you can create an API key by clicking the +Add New Key button:

Connect CoinGecko To Google Sheets [API Integration] - Apipheny (5)

Write a label for your API key and then click the Create button:

Connect CoinGecko To Google Sheets [API Integration] - Apipheny (6)

Your API key is now created:

Connect CoinGecko To Google Sheets [API Integration] - Apipheny (7)

Step 3.) Choose a Coingecko API endpoint

In this section, we’ll show you how to browse the Coingecko API 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 4.

First, open the Coingecko API documentation page: https://www.coingecko.com/api/documentation

A list of available endpoints will be displayed on the screen:

Connect CoinGecko To Google Sheets [API Integration] - Apipheny (8)

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:

https://api.coingecko.com/api/v3/exchanges/list

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:

Connect CoinGecko To Google Sheets [API Integration] - Apipheny (9)

Click the Try it out button to display and run an example cURL command, as well as its associated response:

Connect CoinGecko To Google Sheets [API Integration] - Apipheny (10)

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.

NOTE: If you are using a paid plan, then your root URL will be: https://pro-api.coingecko.com/api/v3/ and you can find exclusive endpoints here: https://apiguide.coingecko.com/exclusive-endpoints/for-paid-plan-subscribers.

More Coingecko API endpoint examples

The /coins/markets endpoint, which gets all the coins market data (price, market cap, volume):

Method: GETAPI URL Path: https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=100&page=1&sparkline=false&x_cg_demo_api_key=API_KEYHeaders: Header 1 Key: Accept  Header 1 Value: application/json

Don’t forget to replace API_KEY with a real API key and to add the URL the required parameters. In this case vs_currency. In the endpoint’s documentation you can find other supported parameters.

The /coins/categories/list endpoint, which lists all categories:

Method: GETAPI URL Path: https://api.coingecko.com/api/v3/coins/categories/list?x_cg_demo_api_key=API_KEYHeaders: Header 1 Key: Accept  Header 1 Value: application/json

Don’t forget to replace API_KEY with a real API key.

The /indexes endpoint which lists all market indexes:

Method: GETAPI URL Path: https://api.coingecko.com/api/v3/indexes?per_page=20&page=1&x_cg_demo_api_key=API_KEYHeaders: Header 1 Key: Accept  Header 1 Value: application/json

Don’t forget to replace API_KEY with a real API key. This endpoint doesn’t have required parameters but has other ones, like per_page and page.

The /indexes/list endpoint, which lists market indexes id and name:

Method: GETAPI URL Path: https://api.coingecko.com/api/v3/indexes/list?x_cg_demo_api_key=API_KEYHeaders: Header 1 Key: Accept  Header 1 Value: application/json

Don’t forget to replace API_KEY with a real API key.

The /derivatives endpoint, which lists all derivative tickers:

Method: GETAPI URL Path: https://api.coingecko.com/api/v3/derivatives?x_cg_demo_api_key=API_KEYHeaders: Header 1 Key: Accept  Header 1 Value: application/json

Don’t forget to replace API_KEY with a real API key. This endpoint has just one optional parameter, include_tickers.

Coingecko API pagination

Pagination is a process that is used to divide a large dataset into smaller chunks (pages). Usually the endpoints that return a list of resources support pagination.

Some of the Coingecko API endpoints use the pagination option. This means you need to add some of these parameters at the end of the URL:

  • page – the number of the page you want to obtain;
  • per_page – the number of records per page;

Each endpoint that needs pagination will have in its documentation relevant information on which of these parameters you can use and how to do it.

Example: https://api.coingecko.com/api/v3/indexes?per_page=20&page=3&x_cg_demo_api_key=API_KEY

In the example above, the data set will be divided in sets of 20 records per page, and only the third page (page number 3) will be displayed in Google Sheets.

Step 4.) Enter your Coingecko API request into Apipheny

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:

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

API URL: In Step 3, we explained how you can find the Coingecko API endpoint that you need. Now copy and paste your complete Coingecko 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 Coin list endpoint, which lists all supported coins, as id, name and symbol. This is what the whole URL looks like:

https://api.coingecko.com/api/v3/coins/list?include_platform=true&x_cg_demo_api_key=CG-DSyPn3EE9z2c6vGX956jh4EC

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

The API key is added at the end of the URL, as the value for the x_cg_demo_api_key parameter.

NOTE: If you’re using a paid plan, then instead of x_cg_demo_api_key parameter name you will use x_cg_pro_api_key.

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

HeaderKey:AcceptValue:application/json

Here’s what our Coingecko API request looks like in Apipheny:

Connect CoinGecko To Google Sheets [API Integration] - Apipheny (11)

Step 5.) Run the Coingecko 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 Coingecko API data to be imported into your Google Sheet. Here’s what our request looked like when completed:

Connect CoinGecko To Google Sheets [API Integration] - Apipheny (12)

That’s it! You’ve successfully connected your Coingecko account to Google Sheets using the Coingecko API, Google Sheets API, and the Apipheny add-on.

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.

Exclusive offer from Coingecko API

✨ Unlock the full power of the Coingecko API with coupon code “APIPHENY20” and enjoy a generous 20% discount on the monthly or annual subscription plan! Don’t miss this chance to access comprehensive cryptocurrency data at an unbeatable value. Join today and harness the potential of the Coingecko API like never before.

  1. Go to Coingecko
  2. Sign in to your account or sign up for an account
  3. Choose “annually” on the pricing page and click to purchase one of the plans
  4. Follow the steps to checkout
  5. On the payment screen click “Add promotion code” and enter the code “APIPHENY20” to get 20% off the monthly or annual plan

Our latest demo

Apipheny Feature Tutorials

Make a GET request

Make a POST request

Save requests for later

Schedule requests for automatic updates

Reference cell values in requests

=APIPHENY custom function

Create custom OAuth2.0 connections

Pagination automation

Stack multiple URLs in a single request

Run all saved requests at once

Modify your request settings

Import JSON Google Sheets

Install Apipheny Here

  • ⭐️ Coingecko API: use coupon code APIPHENY20 for 20% off a premium Coingecko API plan. Click here to signup.
  • Crypto Tutorials: Binance | Bitfinex | Bitmex | BscScan | Cardano | Coinbase | Coingecko | Coinmarketcap | CoinAPI | Coinranking | Etherscan | | Glassnode | Huobi | LiveCoinWatch | Kraken | Kucoin | Magic Eden | Messari | Nomics | OpenSea | PancakeSwap | Rarible | Rarify | Solanart
  • Best Crypto APIs: list of the best APIs for cryptocurrency traders and devs

Popular API Tutorials

  • Amazon Ads
  • Ahrefs
  • Airtable
  • Alpha Vantage
  • Asana
  • Binance
  • Clickup
  • Coingecko
  • Coinmarketcap
  • Coinbase
  • Constant Contact
  • Discord
  • Drift
  • EasyWaySEO
  • Etsy
  • Eventbrite
  • Facebook Ads
  • Figma
  • Github
  • Google SERP
  • Hubspot
  • Hunter
  • Instagram
  • Intercom
  • JIRA
  • Linkedin
  • Linkedin Ads
  • Mailchimp
  • Monday
  • Minecraft
  • Paypal
  • Pipedrive
  • Product Hunt
  • Quickbooks
  • Reddit
  • Reddit Ads
  • Riot Games
  • Salesforce
  • Shipstation
  • Shopify
  • Slack
  • Snapchat
  • Spotify
  • Square
  • Squarespace
  • Stripe
  • SurveyMonkey
  • Tableau
  • TikTok
  • Trello
  • Twitch
  • Twitter
  • Typeform
  • Videoask
  • Weather Data
  • Webflow
  • Wikipedia
  • Woocommerce
  • WordPress
  • Yelp
  • Youtube
  • Zendesk
  • Zillow
  • Zink
  • Zoom

View All 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?

Import JSON to Google Sheets

SEO by SearchCyrus

  • ⭐️ Coingecko API: use coupon code APIPHENY20 for 20% off a premium Coingecko API plan. Click here to signup.
  • Crypto Tutorials: Binance | Bitfinex | Bitmex | BscScan | Cardano | Coinbase | Coingecko | Coinmarketcap | CoinAPI | Coinranking | Etherscan | | Glassnode | Huobi | LiveCoinWatch | Kraken | Kucoin | Magic Eden | Messari | Nomics | OpenSea | PancakeSwap | Rarible | Rarify | Solanart
  • Best Crypto APIs: list of the best APIs for cryptocurrency traders and devs

share:

TAGS : Coingecko API cryptocurrency apis finance apis

Connect CoinGecko To Google Sheets [API Integration] - Apipheny (2024)
Top Articles
Download Just Dance 2024 Controller on PC (Emulator) - LDPlayer
How to spot passive-aggressive behavior
Ffxiv Act Plugin
Live Basketball Scores Flashscore
Wellcare Dual Align 129 (HMO D-SNP) - Hearing Aid Benefits | FreeHearingTest.org
Phone Number For Walmart Automotive Department
Z-Track Injection | Definition and Patient Education
Botanist Workbench Rs3
Es.cvs.com/Otchs/Devoted
Craigslist Pet Phoenix
Produzione mondiale di vino
Www Thechristhospital Billpay
AB Solutions Portal | Login
Why Is Stemtox So Expensive
Erin Kate Dolan Twitter
Nwi Arrests Lake County
Harem In Another World F95
Spider-Man: Across The Spider-Verse Showtimes Near Marcus Bay Park Cinema
Missouri Highway Patrol Crash
Long Island Jobs Craigslist
1989 Chevy Caprice For Sale Craigslist
Self-Service ATMs: Accessibility, Limits, & Features
If you have a Keurig, then try these hot cocoa options
Craiglist.nj
Yayo - RimWorld Wiki
Barbie Showtimes Near Lucas Cinemas Albertville
Ff14 Sage Stat Priority
Grove City Craigslist Pets
Halsted Bus Tracker
Dentist That Accept Horizon Nj Health
Donald Trump Assassination Gold Coin JD Vance USA Flag President FIGHT CIA FBI • $11.73
Acuity Eye Group - La Quinta Photos
Kltv Com Big Red Box
Los Amigos Taquería Kalona Menu
Lehpiht Shop
Arcadia Lesson Plan | Day 4: Crossword Puzzle | GradeSaver
Www Usps Com Passport Scheduler
Mid America Clinical Labs Appointments
Silive Obituary
Amc.santa Anita
Dragon Ball Super Super Hero 123Movies
Goats For Sale On Craigslist
Tlc Africa Deaths 2021
Matt Brickman Wikipedia
1Tamilmv.kids
Runescape Death Guard
Solving Quadratics All Methods Worksheet Answers
Best brow shaping and sculpting specialists near me in Toronto | Fresha
O'reilly's Eastman Georgia
Swissport Timecard
Latest Posts
Article information

Author: Fredrick Kertzmann

Last Updated:

Views: 5455

Rating: 4.6 / 5 (66 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Fredrick Kertzmann

Birthday: 2000-04-29

Address: Apt. 203 613 Huels Gateway, Ralphtown, LA 40204

Phone: +2135150832870

Job: Regional Design Producer

Hobby: Nordic skating, Lacemaking, Mountain biking, Rowing, Gardening, Water sports, role-playing games

Introduction: My name is Fredrick Kertzmann, I am a gleaming, encouraging, inexpensive, thankful, tender, quaint, precious person who loves writing and wants to share my knowledge and understanding with you.