Get Lead - LME 3-month (LEAD3M) Historical Prices with Metals-API

Introduction
In the ever-evolving landscape of metal markets, the demand for accurate and timely data has never been more critical. One of the most sought-after metals is Lead, represented by the symbol LEAD3M. For developers and analysts looking to access historical prices of Lead and other metals, the Metals-API offers a robust solution. This blog post will delve into the capabilities of Metals-API, focusing on how to retrieve historical prices and the innovative features that empower developers to create next-generation applications.
Metals-API Information
About Lead (XLE)
Lead is a versatile metal used in various industries, from batteries to radiation shielding. As digital transformation sweeps through the metal markets, the integration of technology and data analytics is reshaping how businesses operate. The Metals-API provides a platform that leverages technological advancements to deliver real-time and historical data on Lead and other metals.
The API's capabilities extend beyond mere data retrieval; it enables developers to harness insights through data analytics, facilitating informed decision-making. With the rise of smart technology integration, the potential for innovation in the metal markets is vast. Future trends indicate a growing reliance on real-time data, which can enhance operational efficiency and market responsiveness.
API Description
The Metals-API is designed to provide developers with comprehensive access to metal prices, including Lead. Its innovative architecture allows for seamless integration into various applications, enabling users to access real-time and historical data effortlessly. The API empowers developers to build applications that can analyze trends, forecast prices, and optimize trading strategies.
With a focus on technological advancement, the Metals-API offers endpoints that cater to diverse needs, from retrieving the latest rates to accessing historical data dating back to 2008. This flexibility makes it an invaluable tool for anyone involved in the metal markets.
Key Features and Endpoints
The Metals-API boasts a variety of endpoints that provide different functionalities, each designed to meet specific user needs. Here are some of the key features:
Latest Rates Endpoint
The Latest Rates Endpoint allows users to access real-time exchange rate data for metals, updated based on the user's subscription plan. This feature is crucial for traders and analysts who require up-to-the-minute information to make informed decisions.
{
"success": true,
"timestamp": 1744074194,
"base": "USD",
"date": "2025-04-08",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744,
"XCU": 0.294118,
"XAL": 0.434783,
"XNI": 0.142857,
"XZN": 0.344828
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
For those interested in analyzing trends over time, the Historical Rates Endpoint provides access to historical rates for most currencies dating back to 2019. Users can query the API by appending a specific date to retrieve past rates.
{
"success": true,
"timestamp": 1743987794,
"base": "USD",
"date": "2025-04-07",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
The Bid and Ask Endpoint is a powerful feature that enables users to retrieve real-time bid and ask prices for metals. This information is essential for traders looking to execute transactions at optimal prices.
{
"success": true,
"timestamp": 1744074194,
"base": "USD",
"date": "2025-04-08",
"rates": {
"XAU": {
"bid": 0.000481,
"ask": 0.000483,
"spread": 2.0e-6
},
"XAG": {
"bid": 0.0381,
"ask": 0.0382,
"spread": 0.0001
},
"XPT": {
"bid": 0.000911,
"ask": 0.000913,
"spread": 2.0e-6
}
},
"unit": "per troy ounce"
}
Convert Endpoint
The Convert Endpoint allows users to convert any amount from one metal to another or to/from USD. This feature is particularly useful for businesses operating in multiple currencies.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1744074194,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series Endpoint allows users to query the API for daily historical rates between two dates of their choice. This feature is invaluable for conducting in-depth analyses over specific periods.
{
"success": true,
"timeseries": true,
"start_date": "2025-04-01",
"end_date": "2025-04-08",
"base": "USD",
"rates": {
"2025-04-01": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-04-03": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-04-08": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation Endpoint provides insights into how metal prices fluctuate on a day-to-day basis. This information is crucial for traders looking to understand market volatility.
{
"success": true,
"fluctuation": true,
"start_date": "2025-04-01",
"end_date": "2025-04-08",
"base": "USD",
"rates": {
"XAU": {
"start_rate": 0.000485,
"end_rate": 0.000482,
"change": -3.0e-6,
"change_pct": -0.62
},
"XAG": {
"start_rate": 0.03825,
"end_rate": 0.03815,
"change": -0.0001,
"change_pct": -0.26
},
"XPT": {
"start_rate": 0.000915,
"end_rate": 0.000912,
"change": -3.0e-6,
"change_pct": -0.33
}
},
"unit": "per troy ounce"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC Price Endpoint provides users with the open, high, low, and close prices for a specific time period. This data is essential for technical analysis and market forecasting.
{
"success": true,
"timestamp": 1744074194,
"base": "USD",
"date": "2025-04-08",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
},
"XAG": {
"open": 0.03825,
"high": 0.0383,
"low": 0.0381,
"close": 0.03815
},
"XPT": {
"open": 0.000915,
"high": 0.000918,
"low": 0.00091,
"close": 0.000912
}
},
"unit": "per troy ounce"
}
Lowest/Highest Price Endpoint
The Lowest/Highest Price Endpoint allows users to query the API for the lowest and highest prices of metals over a specified date range. This feature is particularly useful for identifying price trends and market extremes.
{
"success": true,
"timestamp": 1744074194,
"base": "USD",
"date": "2025-04-08",
"rates": {
"XAU": {
"lowest": 0.000481,
"highest": 0.000487
},
"XAG": {
"lowest": 0.0381,
"highest": 0.0383
},
"XPT": {
"lowest": 0.00091,
"highest": 0.000918
}
},
"unit": "per troy ounce"
}
Historical LME Endpoint
The Historical LME Endpoint provides access to historical rates for LME symbols, dating back to 2008. This endpoint is particularly valuable for those analyzing long-term trends in metal prices.
{
"success": true,
"timestamp": 1744074194,
"base": "USD",
"date": "2025-04-08",
"rates": {
"LEAD3M": {
"price": 0.00045,
"date": "2025-04-08"
}
},
"unit": "per troy ounce"
}
List of Symbols
The Metals-API provides access to a comprehensive range of metal symbols. For a complete list of all supported symbols and their specifications, refer to the Metals-API Supported Symbols page. This resource is invaluable for developers looking to integrate specific metals into their applications.
Conclusion
The Metals-API is a powerful tool for developers seeking to access historical prices and real-time data for Lead and other metals. Its innovative features, such as the Latest Rates Endpoint, Historical Rates Endpoint, and various conversion options, provide a comprehensive suite of functionalities that can enhance trading strategies and market analysis.
As the metal markets continue to evolve, the importance of accurate data and analytics will only grow. By leveraging the capabilities of the Metals-API, developers can create applications that not only meet current market demands but also anticipate future trends. For more information, visit the Metals-API Website and explore the extensive Metals-API Documentation for detailed guidance on implementation and usage.