Get Lead - LME 3-month (LEAD3M) prices using this API

Get Lead - LME 3-month (LEAD3M) Prices Using This API
Metals-API provides a powerful solution for developers looking to access up-to-date information on various metals, including Lead (symbol: XLE). This blog post will delve into the intricacies of Lead's market dynamics, the transformative potential of the Metals-API, and how developers can leverage its capabilities to build innovative applications.
Metals-API Information
About Lead (XLE)
API Description
Metals-API is a robust tool that empowers developers to access real-time metals data, including Lead prices. This API is designed to facilitate the creation of next-generation applications that require accurate and timely information. With its user-friendly interface and comprehensive documentation, developers can easily integrate the API into their projects.
Metals-API Documentation. The API provides a variety of endpoints that cater to different needs, including retrieving the latest rates, historical data, and even bid and ask prices. This flexibility allows developers to tailor their applications to meet specific requirements.
Key Features and Endpoints
Latest Rates Endpoint
{
"success": true,
"timestamp": 1745121653,
"base": "USD",
"date": "2025-04-20",
"rates": {
"XLE": 0.000482
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
{
"success": true,
"timestamp": 1745035253,
"base": "USD",
"date": "2025-04-19",
"rates": {
"XLE": 0.000485
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
{
"success": true,
"timestamp": 1745121653,
"base": "USD",
"date": "2025-04-20",
"rates": {
"XLE": {
"bid": 0.000481,
"ask": 0.000483,
"spread": 2.0e-6
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XLE",
"amount": 1000
},
"info": {
"timestamp": 1745121653,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-04-13",
"end_date": "2025-04-20",
"base": "USD",
"rates": {
"2025-04-13": {
"XLE": 0.000485
},
"2025-04-20": {
"XLE": 0.000482
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-04-13",
"end_date": "2025-04-20",
"base": "USD",
"rates": {
"XLE": {
"start_rate": 0.000485,
"end_rate": 0.000482,
"change": -3.0e-6,
"change_pct": -0.62
}
},
"unit": "per troy ounce"
}
Open/High/Low/Close (OHLC) Price Endpoint
{
"success": true,
"timestamp": 1745121653,
"base": "USD",
"date": "2025-04-20",
"rates": {
"XLE": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"unit": "per troy ounce"
}
Historical LME Endpoint
{
"success": true,
"timestamp": 1745035253,
"base": "USD",
"date": "2025-04-19",
"rates": {
"XLE": 0.000485
},
"unit": "per troy ounce"
}
List of Symbols
Metals-API Supported Symbols page. This resource is invaluable for developers looking to understand the full scope of the API's capabilities.
Conclusion
Metals-API Website and explore the extensive documentation available.