Skip to content

Check This API To Obtain LME Tin Fluctuation Data

Do you want to see how tin prices have changed throughout time? In this post, you will get all the information!

Tin is a silvery metal with a little yellow hue. Tin can be used in many ways. It has a high polish and is used to protect other metals against corrosion, such as tin cans, which are made of tin-coated steel. Tin alloys such as soft solder, pewter, bronze, and phosphor bronze are essential. Superconducting magnets are made from a niobium-tin alloy.

Most window glass is made by floating molten glass over the molten tin to produce a flat surface. To make electrically conductive coatings, tin salts are sprayed on the glass.

Check This API To Obtain LME Tin Fluctuation Data

Fluctuation data are important to know since they allow you to compare prices over time and decide when the best time is to buy this metal. As a result, if you want to invest in the tin or keep track of its cost, you need to use an API (Application Programming Interface). It’s a gadget that links two devices and allows them to exchange data.

However, not all applications give prices over time, and procuring this technology may be challenging. In this situation, we choose Metals-API since it collects data from the world’s most important financial institutions, such as the London Metal Market (LME), the world’s largest exchange for industrial metals.

To get historical LME tin rates, follow these steps:

  1. To get your API key, go to www.metals-API.com.
  2. In the website’s list, look for the LME Tin symbol (LME-TIN) and currency sign you wish to use.
  3. Make the API call once you’ve added metal and money to the list using these symbols. As a programming language, you can utilize JSON or PHP.
  4. Hit the “run” botton and finish.

It is the API request:

https://metals-api.com/api/fluctuation
? access_key = API_KEY
& start_date = 2015-12-01
& end_date = 2015-12-24

And this is the API response:

{
"success":true,
"fluctuation":true,
"start_date":"2018-02-25",
"end_date":"2018-02-26",
"base":"LME-TIN",
"rates":{
"USD":{
"start_rate":1.228952,
"end_rate":1.232735,
"change":0.0038,
"change_pct":0.3078
},
"JPY":{
"start_rate":131.587611,
"end_rate":131.651142,
"change":0.0635,
"change_pct":0.0483
},
[...]
}
}

Why Metals-API?

It’s updated every minute and offers a wide selection of metals. Metals-API gives you the most up-to-date market pricing. The previous price will also be considered. It contains a diverse selection of metals and currencies. It is compatible with a wide range of devices, including PCs and mobile phones.

Check This API To Obtain LME Tin Fluctuation Data

This API can calculate correct exchange rates for precious metals and 170 different currencies, including Bitcoin and other major cryptocurrencies. API access to real-time precious metals data with a 2 decimal point precision and a frequency of up to 60 seconds is also possible.

Published inAppsTechnology
%d bloggers like this: