The Metals-API comes with guaranteed availability, scalable volumes and responds within milliseconds.
Get your API keyOur principle at Metals-API is: developers first. Detailed API Documentation, intuitive code examples and a straightforward API structure will allow you to implement the API in under 10 minutes.
Get your API keyMetals-API is used by thousands of developers, SMBs and large corporations every day. Rock-solid data sources and 6+ years of experience make our API the #1 resource for metals rates.
Get your API keyYour connection to the Metals-API is encrypted using bank-grade 256-bit SSL Encryption.
Get your API keyCurrency data delivered by Metals-API is sourced from financial data providers and banks, including the European Central Bank.
Get your API keyOur world-class support team is happy to assist any time of the day and any day of the year. That's a promise.
Get your API Key
$
19.99
/mo
$
39.99
/mo
$
79.99
/mo
$
149.99
/mo
$
219.99
/mo
$
479.99
/mo
$
999.00
/mo
$
199.00
/year
$
399.00
/year
$
799.00
/year
$
1,499.00
/year
$
2,199.00
/year
$
4,799.00
/year
$
9,999.00
/year
You can always refer to our Documentation, but here are a few answers to common questions.
Metals-API started out as a simple, lightweight Open-Source API for current and historical precious metals rates published by the banks. The Metals-API is capable of delivering real-time precious metals data via API at an accuracy of 2 decimal points and a frequency as high as every 60 seconds. Capabilities include delivering exchange rates for Precious Metals, converting single currencies, returning Time-Series data, fluctuation data and lowest and highest price of any day
The Soft Limit is an extra usage threshold, enabled by default, that allows additional calls. It’s capped at the sum of the API calls allowed in all active plans.
Yes, you may turn off the Soft Limit in your Metals-API account settings whenever you choose.
These invoices are created at the end of each billing cycle and include usage charges, if any, from the previous cycle.
If unpaid, Klazify Inc. reserves the right to suspend your account. No refunds will be provided for any subscription fees for periods affected by the suspension due to unpaid invoices.
Exchange rate data delivered by the Metals-API is collected from over 15 reliable data sources, every minute. Sources include banks and financial data providers.
Metals API provides various London Metal Exchange (LME) prices. We offer the Settlement Price, which is closer to the offer price. For example, the symbol for copper is LME-XCU. Additionally, we provide 3 Month prices, indicated by symbols like XCU3M. Please note that this is just one example of the many LME symbols we support.
Metals API returns LME prices per troy ounce. To convert the price to per ton, you need to multiply the value by 32,150. Here’s an example request and conversion:
Example request:
{
"success": true,
"timestamp": 1721936340,
"date": "2024-07-25",
"base": "USD",
"rates": {
"LME-XCU": 3.6055511943479,
"USD": 1,
"USDLME-XCU": 0.2773501043523139
}
}
Conversion:
0.2773501043523139 * 32,150 = 8,916.80585493
This means the price per ton would be approximately 8,916.81 USD.
Currency and Metals conversion are supported using the same API endpoints and can be used to convert any amount from one currency to another, or from one metal to any metal and any currency to any metal.
The Metals-API delivers EOD / End of Day historical exchange rates, which become available at 00:05am GMT for the previous day and are time stamped at one second before midnight.
All exchange rate data delivered by Metals-API is midpoint data. Midpoint rates are determined by calculating the average median rate of Bid and Ask at a certain time.
The Metals-API is capable of delivering accurate exchange rate data for Precious Metals, in 170 world currencies, including Bitcoin and other major cryptocurrencies.
All the metals rates you get using USD as a base currency need to be divided by 1. This means 1/value.
We return the values based on the base currency.
For example, for 1 USD the return is a number like 0.00049817281835633 for Gold (XAU).
To get the gold rate per ounce in USD: 1/0.00049817281835633 = 2007.33 USD.
The request limit depends entirely on the plan you're on. We apply rate limits to prevent abuse or attacks, but if you need a higher limit, we can increase it for you.
You can display the latest Metals (Gold, Silver, Platinum, etc) rates in the desired currencies (USD, GBP, CAD, etc) on your website using this WordPress plugin. The plugin includes comprehensive controls to display desired date metal rates as well as the latest, with the help of short codes with custom WP Editor.
Install your WordPress plugin here
The API has had an uptime of 99.99% throughout the last 12 months. You can review the current status anytime on the Status icon on the main menu.
Metals API is a Drupal module that consumes, caches and produces blocks to display precious metal prices from our API. In order to use the Metals API module, install the module following Standard Drupal module installation practices. More information is included in the README.txt file. Once the module is installed, navigate to the Metals API Integration Settings page from the Configuration -> Web Services menu item and paste your Metals API Key in the provided field. The module is configured to refresh the feed at a rate of once every 24 hours. You can adjust that to whatever rate you feel is necessary, provided that your Metals API Account allows for it.
Install your Metals API Drupal module here.