For information about metal pricing, there are a variety of APIs available online. One of the most popular free APIs is Metals-API. It’s a lightweight JSON-formatted API that gives you access to current and historical precious metals pricing. This API provides real-time pricing and quotes for precious metals such as Gold, Silver, Nickel, Platinum, Copper, Tin, Aluminum, and other base metals in a range of currencies.
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
Metals-API.com is used by thousands of developers, small businesses, and huge corporations every day. Because of its solid data sources and 6+ years of expertise, Metals-AP is the most trusted source for real-time precious metals rates. You can sign up here.
JSON Format
JSON (JavaScript Object Notation) is a data-transfer format that is simple to use. Reading and writing are basic for humans. It is often used in online applications to deliver data (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 compatible with HTTP. It specifies how clients should request and modify data from a server, as well as how they should interact with the server
Trusted Sources
Metals-API gets spot prices from a global network of trading sources and institutions in a range of formats and frequencies. Commercial sources are given greater weight, especially for important currencies and metals, because they more accurately reflect market exchange.
Our system uses a unique “validation and fallback” strategy to give the maximum level of data coverage and accuracy, assigning different priority to each data source and validating each metal/forex rate as it enters our databases. If a source fails to offer an accurate quote, the currency pair’s next highest provider is contacted. For the great majority of spot currency rates, this allows us to avoid any mistakes and deliver precision to six decimal places.
Metals API Drupal Module and WordPress Plugin
Metals-API Drupal Software includes all of the parameters needed to display both preferred and most recent metal rates. If all you need is a daily summary of precious metal values, this free license will suffice. The Drupal module can only refresh the rate once per day (every 24 hours) under the free license, and it is limited to 50 requests per month.
Also published on Medium.