Import Live Metal Prices To Google Sheets

Import live metal prices to Google Sheets
Reading Time: 5 minutes

In this article, we’ll learn how to import live metal prices to Google Sheets. We can retrieve the prices of precious metals such as gold, silver, platinum, and palladium in most major currencies of the world.

We’ll use an extension in Google Sheets–Amigo Data–to pull the data into Google Sheets. With it we’ll be able to import gold prices to Google Sheets and also other precious metals with ease. And not just fetch the data and stop at that; in fact, the journey starts from there. The data are automatically pulled to Google Sheets, updated periodically, and delivered to our inbox so that the data follow us everywhere. Want hot and fresh data? Get Amigo!

Here’s a snippet of prices of gold and other precious metal imported into Google Sheets.

Live metal prices data imported into Google Sheets

Read on to know how to import live metal prices to Google Sheets. Below are the steps.

  1. Install the Amigo Data extension
  2. Get the endpoint URL
  3. Import the data to Google Sheets

How to import live metal prices to Google Sheets

Follow these steps to import live metal prices data to Google Sheets.

Install the Amigo Data extension in Google Sheets

Install the Amigo Data Google Sheets add-on from the Google Workspace Marketplace.

Click here to install.

Install Amigo Data to import gold prices to Google Sheets

Alternatively, you can get it from Google Sheets.

  • Open a new sheet
  • Go to Extensions→Add-ons→Get add-ons
  • Search for Amigo Data and install

Get the endpoint URL

Sign up or log in to RapidAPI.

Once you’re logged in, go to the Live Metal Price API Documentation page in RapidAPI.

Click on the Subscribe to Test button and subscribe to a plan that’s right for you.

Live Metal Prices API

On subscribing to a plan (the free one included), an API key will be generated, which is used to authenticate API calls.

Click Endpoints to go back to the API documentation.

On the left is the list of the available endpoints. Select any one. For this tutorial, we’ll import the prices of precious metals such as gold, silver and platinum in a currency of our choice, so we select Latest in chosen currency.

List of available endpoints

The key and the header are filled automatically and the query parameters are also filled with default values. We can change these with symbols of our choice.

Default parameters

The default parameters will return the prices of gold, silver, palladium and platinum in euro and the value of the pound sterling and euro in euro.

We’ll modify the parameters to include the prices of 24-karat gold, and gold price change since open, with the prices quoted in the US dollar. For a list of supported metals and currencies, see this page.

Modified parameters

On the right of the screen under the Code snippets is the endpoint for the specified parameters along with the headers we’ll need to import the metal prices data to Google Sheets.

The endpoint URL along with the headers

Note the endpoint URL and headers. We’ll use these in the next step.

Import the live metal prices to Google Sheets

Open Google Sheets and launch Amigo Data from the sheet into which you want to fill the data. To connect to Amigo Data, click Extensions→Amigo Data→Connect.

Launch Amigo Data to import precious metal prices to Google Sheets

You’ll be presented with a list of sources to connect to. Choose Custom API.

Select Custom API as the source to connect

Paste the endpoint URL in the API URL field. Do not include the apostrophes.

Entering the endpoint URL

Then expand the Details tab and enter the headers.

The headers

Click the PREVIEW button. Flatten and expand the nested datasets. Then click IMPORT.

Preview of the data

The data will be imported into Google Sheets in a moment. Below is a snippet of the imported data.

Snippet of the data

The endpoint used here retrieves the price of the metals in ounce, We can get the price in gram by using the Latest Selected Metals in Selected Currency In Grams endpoint.

Once the data have been imported into Google Sheets, they can be updated automatically at regular intervals–hourly, daily, weekly or on custom days–should you so wish, and get these data sent to your inbox. Learn how to set a refresh schedule and set up alerts in Amigo Data.

Visit our blog to find out about the kinds of data that you can import to Google Sheets and how you can track stock and other financial data from Google Sheets.

Some commonly asked questions

How to get gold price in Google Sheets?

Can I track gold prices in Google Sheets?

Can I get gold price in other currencies than USD?

Some recommended articles:

Get Real-Time Crypto Prices In Google Sheets With Live Coin Watch API

Import NSE Data To Google Sheets

Import TD Ameritrade data to Google Sheets

Leave a Reply