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

Get Lead - LME 3-month (LEAD3M) Prices in Different Currencies Using This API
In the ever-evolving landscape of metal markets, the demand for real-time data and analytics has never been more critical. The Metals-API provides a robust solution for developers looking to access lead prices, specifically the LME 3-month (LEAD3M) prices, in various currencies. This blog post delves into the intricacies of lead as a metal, the transformative capabilities of the Metals-API, and how developers can leverage its features to build innovative applications.
Metals-API Information
About Lead (XLE)
Lead, represented by the symbol XLE, is a versatile metal with applications ranging from batteries to radiation shielding. As industries increasingly embrace digital transformation, the integration of smart technologies and data analytics into metal markets is reshaping how businesses operate. The demand for lead continues to grow, driven by advancements in technology and the need for sustainable energy solutions.
Technological innovation is at the forefront of this transformation. The ability to access real-time data on lead prices allows businesses to make informed decisions, optimize supply chains, and manage risks effectively. The Metals-API plays a pivotal role in this ecosystem, providing developers with the tools needed to harness the power of data analytics and insights.
API Description
The Metals-API is a powerful tool that offers real-time and historical data on various metals, including lead. It empowers developers to create next-generation applications that can analyze market trends, forecast prices, and provide valuable insights to end-users. With its user-friendly interface and comprehensive documentation, the Metals-API simplifies the process of integrating metal price data into applications.
For more information, visit the Metals-API Website or check out the Metals-API Documentation for detailed guidance on implementation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for lead and other metals. Depending on your subscription plan, data can be updated every 60 minutes or even more frequently. This feature is essential for applications that require up-to-the-minute pricing information.
- Historical Rates Endpoint: Access historical rates for lead dating back to 2019. By appending a specific date to the API request, developers can retrieve past pricing data, which is invaluable for trend analysis and forecasting.
- Bid and Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for lead. Understanding the bid-ask spread is crucial for traders and investors looking to make informed decisions in the market.
- Convert Endpoint: The Metals-API includes a currency conversion feature, enabling users to convert amounts from one currency to another seamlessly. This is particularly useful for businesses operating in multiple countries.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two chosen dates. This endpoint is ideal for analyzing price movements over specific periods.
- Fluctuation Endpoint: This feature provides insights into how lead prices fluctuate on a day-to-day basis, helping users understand market volatility.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for lead over a specified period, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint allows users to retrieve open, high, low, and close prices for lead, providing a comprehensive view of market performance.
- Historical LME Endpoint: Access historical rates for LME symbols, including lead, dating back to 2008. This endpoint is essential for users needing extensive historical data.
- API Key: Each user is assigned a unique API key, which must be included in requests to authenticate access to the API.
- API Response: The Metals-API returns exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies and metals, ensuring users have access to the latest information.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping users informed about market developments.
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.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1746493226,
"base": "USD",
"date": "2025-05-06",
"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
Access historical exchange rates for any date since 1999:
{
"success": true,
"timestamp": 1746406826,
"base": "USD",
"date": "2025-05-05",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
Get exchange rates for a specific time period:
{
"success": true,
"timeseries": true,
"start_date": "2025-04-29",
"end_date": "2025-05-06",
"base": "USD",
"rates": {
"2025-04-29": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-05-01": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-05-06": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
Convert any amount from one metal to another or to/from USD:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1746493226,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2025-04-29",
"end_date": "2025-05-06",
"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"
}
OHLC (Open/High/Low/Close) Price Endpoint
Get OHLC data for a specific time period:
{
"success": true,
"timestamp": 1746493226,
"base": "USD",
"date": "2025-05-06",
"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"
}
Bid/Ask Endpoint
Get current bid and ask prices for metals:
{
"success": true,
"timestamp": 1746493226,
"base": "USD",
"date": "2025-05-06",
"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"
}
Conclusion
The Metals-API is a game-changer for developers looking to access lead prices and other metal data in real-time. With its comprehensive set of features, including the ability to retrieve latest rates, historical data, and fluctuations, developers can create applications that provide valuable insights into the metal markets. The integration of smart technology and data analytics into metal trading is paving the way for a more efficient and informed market.
For those interested in exploring the capabilities of the Metals-API further, I encourage you to visit the Metals-API Documentation for detailed guidance on implementation. Additionally, the Metals-API Supported Symbols page provides a comprehensive list of available symbols, ensuring you have all the information needed to get started.
In a world where data drives decision-making, the Metals-API stands out as a vital resource for developers aiming to innovate and enhance their applications in the metal markets.