Skip to content

Is There Any API Using Javascript To Get Iridium Spot Prices?

Iridium (Ir) is a chemical element with the symbol Ir and the atomic number 77.

Iridium is a platinum-group transition metal that is extremely hard, brittle, and silvery-white in appearance. According to experimental X-ray crystallography, it is the second-densest metal, with a density of 22.56 g/cm3.

Among other places, they can be found in South Africa, Alaska, Myanmar (Burma), Brazil, Russia, and Australia. In the late twentieth century, South Africa was the world’s leading iridium producer.

It has a high melting point as well as a high density. Iridium is the most corrosion-resistant metal discovered to date. It is used in specific alloys, and it is combined with osmium to form a compound used in pen tips and compass bearings.

It was used to make the standard meter bar, which is made up of 90% platinum and 10% iridium.

Is There Any API Using Javascript To Get Iridium Spot Prices?

If you want to learn about Iridium or any other metal, there are various APIs for learning about metal pricing available online.

Metals-API is one of the most widely used free APIs.

 Metals-API receives market data prices in a variety of formats and frequencies from a wide range of trade sources and organizations around the world. Commercial sources are given more weight because they better reflect market exchange, particularly for large currencies and commodities.

Metals-API.com provides a live precious metals market data API with a 2 decimal point resolution and a refresh rate of 60 seconds.

JSON

JSON (JavaScript Object Notation) is a text-based structured data encoding standard based on JavaScript object syntax. It is frequently used to send data in web applications.

A simple jQuery.ajax example for getting exchange rate data via the Metals-API API’s latest endpoint.

// set endpoint and your access key
endpoint = 'latest'
access_key = 'API_KEY';

// get the most recent exchange rates via the "latest" endpoint:
$.ajax({
url: 'https://metals-api.com/api/' + endpoint + '?access_key=' + access_key,   
dataType: 'jsonp',
success: function(json) {

// exchange rata data is stored in json.rates
alert(json.rates.GBP);

// base currency is stored in json.base
alert(json.base);

// timestamp can be accessed in json.timestamp
alert(json.timestamp);

}
});

Get your API KEY here 

Key Benefits

  • Access institutional-quality real-time precious metal prices via an easy-to-use API using a trusted Gold and Silver pricing API used by hundreds of industry companies.
  • Real-time Gold and other metals prices can be easily integrated into spreadsheets, websites, mobile apps, and other business applications.
  • Reduce the time it takes for apps that are dependent on precious metal prices to reach the market.
  • You may be able to avoid the pains and complexities of legacy feeds by utilizing cloud APIs.

Main Features

  • Periodicity in real time, history, and tick-by-tick API
  • Real-time precious metals prices Gold, silver, palladium, and platinum are the four precious metals API
  • Real-time metal prices metal of the platinum group and base metals API
  • Intraday and historical charts AP
  • Spot and future prices of gold, silver, palladium, and platinum throughout history

Is There Any API Using Javascript To Get Iridium Spot Prices?

Metals API Drupal Module and WordPress Plugin

Metals-API Drupal module has a lot of options for presenting both preferred and most current metal pricing. If you just want a daily snapshot of precious metal prices, this free license will suffice. The drupal module can refresh the rate once a day (every 24 hours), and it will stay within the free license’s 50 request per month limit. Additional daily refreshes will require the purchase of a paid license, which may be obtained at a fair cost. You can also use the Metals-API WordPress Plugin , which consumes, caches, and generates precious metal price blocks.


Also published on Medium.

Published inAppsTechnology
%d bloggers like this: