Crypto API tutorials and more:
You can access CoinAPI’s data via their REST API which returns crypto data in JSON, XML or CSV formats.
CoinAPI is free to use for up to 100 daily requests and their paid plans start at $79/month.
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:
2. Just enter your information into the required fields and then click “Get a free API key“:
3. After you sign up, your CoinAPI key will be sent in an email to your inbox:
In this section, we’ll show you how to browse the CoinAPI documentation to obtain an API URL that retrieves the specific information you need. If you’re new to what an API is, an endpoint is just a specific API URL that returns the specific data you need from the API.
If you already know your endpoint URL, or you want to use the same example URL as us, just skip to Step 4.
To find your endpoint, first, open the CoinAPI documentation page: https://docs.coinapi.io/
The menu on the left contains a list of the available APIs, each with its own endpoints:
Clicking on an API scrolls to that API’s section, containing a list of associated endpoints.
For instance, when I click on Metadata, it scrolls to the list of the 5 Metadata endpoints:
All API calls to CoinAPI should be made to the https://rest.coinapi.io/ base domain.
Base/root domain: https://rest.coinapi.io/
As an example, one of the available endpoints is List all assets: /v1/assets
So if I want to use this endpoint, I put my base domain and endpoint together like this:
The documentation for each endpoint contains a short description, the HTTP method used (GET) and the link you should append to the root API URL for querying this endpoint (eg. /v1/assets):
Go back to your Google Sheet and make sure that you have the Apipheny add-on open, with the “Import” tab open (screenshot below). Then enter these details into the Import tab in Apipheny:
API URL: In Step 3, we explained how you can find the CoinAPI REST API endpoint that you need. Now copy the complete URL into the Apipheny add-on, where it says API URL Path, followed by any GET parameters required for your query (if applicable).
For this example, we are using the List all exchanges endpoint, to get a detailed list of all the available exchanges provided by CoinAPI:
If you want to use this same URL as us, just copy and paste the above URL into the “API URL Path” field in Apipheny.
Headers: In the Headers section of Apipheny, add one row with the following key and value:
Key: X-CoinAPI-Key Value: your_api_key
your_api_key is the CoinAPI key you got previously, in Step 2.
Your final step to pull data from CoinAPI into your Google Sheet is to click the Run button at the bottom of the Apipheny add-on and then wait for the CoinAPI data to be imported to your Google spreadsheet:
After making a successful request to CoinAPI, try querying a different endpoint, or try using one of the more advanced features of 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