Are you searching for an API for your brass investments? Read this post to acquire all of the information!
Brass is a copper-zinc alloy with different proportions of copper and zinc to create different mechanical, electrical, and chemical characteristics. Arsenic, lead, phosphorus, aluminum, manganese, and silicon, among other elements, may be found in trace amounts.
Corrosion resistance and low friction are required in applications such as locks, hinges, gears, bearings, ammunition casings, zippers, plumbing, hose couplings, valves, and electrical plugs and sockets. It’s often used in musical instruments like horns and bells, as well as in jewelry imitations as a copper substitute. Brass is commonly employed in situations where sparks are a worry, such as fittings and instruments that are used near flammable or explosive chemicals.
Brass also possesses antibacterial properties, making it beneficial in maritime environments where biofouling is a problem. Brass kills diseases within minutes to hours of contact, depending on the type and number of bacteria present, as well as the media in which they are contained.
Of course, you’ll need the greatest tools if you’re trying to figure out how to make the best investment for your company. As a result, you should compare prices over time and the Fluctuation data.
For this purpose you need to use an API that is an interface which connects two devices and send data between them. In this case, Metals-API is the one that provides fluctuation data of metals in any currency. It’s the most comprehensive and effective API available on the internet.
How works Metals-API?
The system provides each data source a distinct priority to achieve the highest level of coverage and accuracy. This also helps to avoid inconsistencies by providing accurate spot conversion rates for the great majority of currencies to six decimal places.
Get institutional-quality real-time precious metal prices via an amazingly simple API using a robust metals pricing API trusted by hundreds of industry firms. Real-time prices for brass, bronze, and other metals may be readily integrated into spreadsheets, websites, mobile apps, and other business applications. It cuts the time it takes for apps that are dependent on precious metal prices to reach the market.
Signing up is very easy:
- www.metals-API.com is where you can get your API key.
- Look for the brass symbol (BRASS) and currency sign you want to use in the website’s list.
- After adding metal and money to the list with these symbols, make the API call.
- As a programming language, you have the option of using JSON or PHP.
This is the API request:
https://www.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":"BRASS", "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 }, [...] } }