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 KeyYou can always refer to our Documentation, but here are a few answers to common questions.
Metals-API is one of the most comprehensive metal market data APIs available, offering access to over 600 symbols across precious metals, base metals, and more than 180 currencies worldwide. It provides real-time and historical quotes, metal and currency conversions, time-series data, price fluctuation analysis, and daily high and low values through a fast, reliable, and easy-to-use API.
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 shortcodes with a custom WP Editor.
Download: Metals-API Oficial WordPress Plugin
Metals-API provides Gold (XAU) and Silver (XAG) rates for a wide range of cities across India. You can view the complete list of supported cities in the Supported Metals & Currencies section of the documentation. If a city is listed there, you can retrieve its corresponding Gold and Silver rates through the API.
You can have multiple active subscriptions at the same time to increase your usage capacity, provided they all have the same billing cycle (either all monthly or all annual). Each plan has its own API call quota, and these are combined within your account to increase your total limit. You can manage or cancel your subscriptions at any time from the dashboard, with no long-term commitments.
Yes. Historical data is available for supported symbols. You can check the earliest available date for each symbol in the Symbols page under the Available From column. Use Historical Rates to retrieve data for a specific date or Time Series to retrieve data across a date range.
By default, all rates are returned relative to USD. You can set a different base currency using the base parameter. Supported currencies can be viewed on the Symbols page by selecting the Currencies option.
Metals-API offers multiple plans based on usage, mainly differing in monthly API requests, update frequency, and access to advanced features. All plans include core data like real-time rates, historical data, and conversions, with higher tiers providing more requests and faster updates: https://metals-api.com/pricing
Depending on the subscription plan you choose, you will be billed in advance, either monthly or annually. Unless you cancel your subscription, it will automatically renew at the end of each billing period under the same terms.
Yes, we are always online from Monday to Friday; 8am-5pm (EST). Send us a message via the contact form or email and our Customer Support team will be with you shortly. Urgent requests are usually handled within minutes.
Please have a look at our Refund Policy: https://metals-api.com/refund
Yes, but only for larger bundles than those currently available. If you need a custom plan or higher limits, you can request a personalized quote through our Enterprise Sales team here: https://helpcenter.zylalabs.com/meetings/enterprise-sales/metals-api
You can manage everything directly from your dashboard without needing to contact support. From there, you can view your subscription details, upgrade or downgrade your plan, monitor your API usage, access your API keys, and update your account settings, all in one place with full control.
Please note that if you already have an active subscription and subscribe to a different plan without canceling the existing one first, both subscriptions will remain active and be billed separately. To avoid having multiple subscriptions simultaneously, make sure to cancel your current plan before subscribing to a new one.
First, create an account and log in. Once logged in, choose the subscription plan that best fits your needs. You can then browse the available symbols and currencies to find the data you want to access. After subscribing, retrieve your API key from the dashboard and use it to authenticate your requests. Simply specify the desired symbols in the symbols parameter and your preferred currency in the base parameter to receive real-time or historical market data.
The Time-Series endpoint does not support using the current date as the end_date parameter. To ensure a successful response, use a date prior to the current date when requesting historical data. If you need the most recent available rate, use the Latest Rates endpoint instead.
The Soft Limit allows you to continue making API calls after reaching your plan's monthly request limit. The number of additional calls available through the Soft Limit is equal to the number of API calls included in your current plan. For example, if your plan includes 1,000 API calls per month, enabling the Soft Limit allows you to make up to 1,000 additional calls beyond your plan limit.
You can view your available and used Soft Limit calls, the cost of each additional API call, and enable or disable the feature from the API Usage section of your dashboard.
{
"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