Skip to content

Check This API To Get Platinum Fluctuation Data

Do you want to compare platinum prices over time? This article is for you!

It’s a silverish-white transition metal that’s dense, malleable, ductile, and very unreactive. Only a few hundred tonnes are produced each year due to its rarity in the Earth’s crust. Catalytic converters, laboratory equipment, electrical connections and electrodes, platinum resistance thermometers, dental equipment, and jewelry are all made of platinum.

Platinum-containing compounds, such as cisplatin, oxaliplatin, and carboplatin, are used in chemotherapy to treat cancer. Since 2015, pure platinum has consistently been less costly than pure gold. Platinum prices fluctuated from US$1,055 per troy ounce to US$1,320 per troy ounce in early 2021.

Check This API To  Get Platinum  Fluctuation Data

As you can see, this metal is very difficult to get and the market is very dynamic. For this reason, it is important to pay attention to the fluctuation of the prices and with that information, you can decide the best moment to invest. To optimize your investment it is necessary to use an API.

An API is a software program that enables two programs on different machines to interact with one another. Data is sent to a server from a mobile phone that is linked to the internet. Data is recorded, reviewed, and suitable security procedures are applied before being sent back to your phone. The data is then analyzed and presented by the computer.

Metals-API is a fantastic option if you need to compare figures over time. It’s the newest API for this purpose, and it supports a variety of metals and currencies. It collects and updates all important data from the world’s leading financial institutions every minute. It provides metals fluctuation data.

It’s simple to join:

  1. An API key will be provided by www.metals-API.com.
  2. Lookup a list of platinum symbols (XPT) and currency indicators on the internet to get the one you desire.
  3. Once you’ve added metal and money to the list of symbols, make the API call.
  4. As a programming language, you have the option of using JSON or PHP.

This is an example of 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":"XPT",
"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?

Metals-API is one of the most precise and trustworthy API tools available. It collects data from about 15 reliable sources per minute. Among them are banks and financial data firms. As a consequence, you’ll get an accurate cost estimate.

Check This API To  Get Platinum  Fluctuation Data

Over 170 currencies, commodities, and cryptocurrencies are accepted, including Bitcoin and Litecoin. The JSON API (JavaScript Object Notation) eliminates the need for each program to build its ad hoc code to connect to servers that communicate in a certain form.

Published inAppsTechnology
%d bloggers like this: