Skip to content

Use An API To Obtain Copper Rates In Tonnes

Are you searching for an API with copper rates, but you don’t find it in tonnes? In this post, we are talking about a solution.

Copper is one of the most worldwide produced metals because it’s connected with the electricity business. The major producer in the world is Chile, but in recent years with the Covid-19 the production fell 0.7%. Nevertheless, for the next period with the economic revival, it’s expected for the values to rise again.

Use An API To Obtain Copper Rates In Tonnes

For this reason, if your company needs copper it’s necessary to stay updated about the current and historical price to optimize your investment. To not waste your time you must use the right tool to achieve this. This tool is an API

What Is An API?

An API is an Application Programming Interface. What does it mean? It’s software that connects two or more devices and sends information between them. It’s used in many online bankings and social networks.

There are a lot of APIs with metal information on the internet but it can be difficult to get trustworthy rates data. On the other hand, not all of them send rates in tonnes. To get copper rates in tonnes, we’ll recommend Metals-API.

Use An API To Obtain Copper Rates In Tonnes

To grow your business, following the next steps will be helpful to you:

  1. Go to the website www.metals-API.com, and create an API key.
  2. Then, you’re going to see many symbols of metals and currencies. Select the XCU (Copper) symbol and the currency sign you want to use.
  3. Once you have selected them, utilize these symbols to insert metal and currency into the list before finishing the API call. In addition, you may select a programming language and a pricing range. You can choose between options such as JSON, PHP, and python.
  4. Then, the last thing you have to do is just click the “run” button, and you’re done! On your screen, the API will be presented.
  5. This API, on the other hand, will return rates in troy ounces. To convert from kilograms to tonnes, double the rate given by Metals-API by 3.11035e-5. After that, you’ll be able to get the prices you require.

Which Are The Benefits Of Metals-API?

Metals-API is a simple API that provides information about several metals like copper, gold, palladium to HRC steel. In addition, you can watch these metals rates in more than 170 currencies including USD, euros, and bitcoins. It collects data from the most recognizable banks and financial entities. Furthermore, it’s used by small and big companies like the multinational Barrick Gold.

This API provides real-time precious metals information with a 2 decimal point precision and a frequency of up to 60 seconds. You can access current prices and historical prices to compare values across time and decide the best moment to invest. Also, for this purpose, you may watch fluctuation data with Metals-API.

Published inAppsApps, technologyTechnology
%d bloggers like this: