Skip to content

How To Get Gold Rates In JSON Format Using API?

There are multiple APIs available online for learning about metal prices. Metals-API is one of the most popular free APIs. It is a simple and lightweight JSON-formatted API that provides current and historical precious metals rates. This API provides real-time pricing and quotes in a variety of currencies for precious metals such as Gold, silver, Nickel, Platinum, Copper, Tin,Aluminium and other base metals.

With Metals-API.com you can get live real-time precious metals data via API at an accuracy of 2 decimal points and a frequency as high as every 60 seconds.

Key Features

  • API for real-time, historical, and tick-by-tick periodicity
  • Real-time precious metals prices API for Gold, Silver, Palladium, Tin,Nickel and Platinum
  • Real-time metals price API for base metals and platinum group metals
  • Intraday and historical charts AP
  • Historical spot and future prices for Gold, Silver, Palladium, Tin and Platinum

Key Benefits

  • Use a trusted gold price and silver price API used by hundreds of firms in the industry
  • Access institutional quality real-time precious metal prices through an easy-to-use API
  • Easily embed real-time gold prices and other metals in your applications — including spreadsheets, websites, mobile apps, and other corporate applications
  • Dramatically reduce time to market for apps that need precious metal prices
  • Eliminate the pains and complexity of legacy feeds by using cloud APIs

Thousands of developers, SMBs, and large companies use Metals-API.com every day. Metals-AP is the #1 resource for real-time precious metals rates because of its strong data sources and 6+ years of experience.You can sign up here. 

JSON Format

JSON (JavaScript Object Notation) is a simple data-transfer format. Humans find it simple to read and write. It is frequently used to convey data in web applications (e.g., sending some data from the server to the client, so it can be displayed on a web page, or vice versa). The JSON API format is HTTP-compliant. It defines how clients should request or modify data from a server, as well as how

Trusted Sources

Metals-API obtains spot prices in a variety of formats and frequencies from a global network of trading sources and institutions. Commercial sources are given more weight, particularly for significant currencies and metals, because they more precisely reflect market exchange.

In order to deliver the highest level of data coverage and accuracy, our system employs a unique “validation and fallback” approach that assigns different priorities to each data source and validates each metal/forex rate as it enters our databases.If a source fails to provide an accurate quote, the next highest provider for the currency pair is contacted. This helps us to prevent potential inaccuracies and deliver precision to six decimal places for the vast majority of spot currency rates.

Metals API Drupal Module and WordPress Plugin

Metals-API Drupal program contains all of the parameters required to display both preferred and most recent metal rates. This free license will suffice if all you require is a daily summary of precious metal values. Under the free license, the Drupal module can only refresh the rate once per day (every 24 hours), and it is limited to 50 requests per month.{


Also published on Medium.

Published inCryptocurrencies

Be First to Comment

Leave a Reply

%d bloggers like this: