There are many APIs available online to learn about tin spot prices.Metals-API.is one of the most popular free APIs.This API provides current and historical precious metals rates in a simple and lightweight manner.This API offers significant pricing and quotes for precious metals such as Gold, Silver, Palladium, Platinum, Zinc, Copper, and other base metals in a variety 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.
Thousands of developers, SMBs, and large companies use Metals-API.com every day.Metals-API is the most reliable source for real-time precious metals rates, thanks to its robust data sources and more than six years of experience.You can sign up here.
Metals-API’s spot prices are sourced from a very wide base of trade sources and banks around the world, each of them varying types and frequencies. The bigger weighting especially for major currencies and metals, are towards commercial sources as they more accurately reflect the exchange occurring within the markets.
Our system uses a unique “validation and fallback” mechanism to ensure the best possible degree of data coverage and accuracy, assigning different priority to each data source and validating each metal/forex rate as it enters our databases.
In the case that one source fails to offer an accurate quote, the next highest provider for this currency pair is contacted.This allows us to filter out any inconsistencies and deliver the vast majority of spot exchange rates with six decimal places of precision.
Metals-API Drupal module comes up with comprehensive controls to display desired date metal rates as well as the latest. If you only want a daily snapshot of precious metal prices, this free license is all you need. The drupal module can refresh the rate once a day (every 24 hours) and it will fall within the 50 requests per month that the free license allows. Additional refreshes per day will require a paid license which can be had relatively cheaply. You can also try Metals-API WordPress Plugin which consumes, caches, and produces blocks to display precious metal prices.
Also published on Medium.