Crypto API tutorials and more:
Nomics is a popular crypto market API data provider. We can use the Nomics API to import data from Nomics into Google Sheets. In this tutorial, we’ll show you how to connect the Nomics API to Google Sheets in 5 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: sheet.new
Go to https://p.nomics.com/cryptocurrency-bitcoin-api and click the Send me my API key button:
You will be redirected to https://nomics.com/pricing to choose a paid plan.
Once you’ve entered your email address and finished the payment process, Nomics will let you know that you’ll receive an email with the API key:
Check your inbox, open the email from Nomics and find your API key inside:
In this section, we’ll show you how to browse the Nomics API documentation to find the endpoint that retrieves the information you need from your account. If you already know your API URL, or you want to use the same example URL as us, just skip to Step 4.
First, open the Nomics API documentation page: https://nomics.com/docs/
The menu on the left contains general information about this API and a list of categorized endpoints:
If we click a category, a drop-down list of its endpoints will be displayed:
An example endpoint is Currency Highlights, which returns various aggregate statistics for a currency over some interval. The URL for this endpoint is:
https://api.nomics.com/v1/currencies/highlights?key=your-key-here¤cy=your-chosen-currency
If you use this URL, don’t forget to replace your-key-here and your-chosen-currency with real values.
The endpoint’s documentation contains a short description of the endpoint’s purpose, its HTTP method (GET) and URI, a list of accepted query parameters, an example cURL command and its associated response:
All endpoints can be accessed from the following base domain: https://api.nomics.com/v1/
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 or POST) 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 Nomics REST API endpoint that you need. Now copy and paste your complete Nomics 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 Markets endpoint, which returns information on the exchanges and markets that Nomics supports, in addition to the Nomics currency identifiers for the base and quote currency. This is what the whole URL looks like:
https://api.nomics.com/v1/markets?key=your-key-here&exchange=binance&base=BTC,ETH,LTC,XMR"e=BTC,ETH,BNB
If you use this URL, don’t forget to replace your-key-here with your own API key, that you previously obtained.
You could also change the values for exchange, base and quote parameters, to fit your needs.
Headers are not required; you can leave the Headers section blank in Apipheny.
Here’s what our 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 Nomics API data to be imported into your Google Sheet. Here’s what our request looked like when completed:
That’s it! You’ve successfully connected your Nomics account to Google Sheets using the Nomics API, Google Sheets API, and the Apipheny add-on.
After making a successful request to the Nomics API, try querying a different Nomics API endpoint, or try using one of the more advanced features in the Apipheny add-on.
Crypto API tutorials and more:
Sponsored by Zink Virtual Tip Jar & Rewording.io Paraphrasing Tool
Accept donations on Twitch | Accept donations on Discord | Accept donations on YouTube | Accept donations on Telegram | Accept donations on Twitter | Accept donations on TikTok | Accept donations on Instagram | Accept donations on LinkedIn | Accept donations on Facebook | Accept donations on your Website
Crypto API tutorials and more: