Get LME Lead (LME-LEAD) prices for market research using this API
Introduction
In today's rapidly evolving financial landscape, having access to real-time data is crucial for market research and analysis. One of the most significant metals in the market is Lead, represented by the symbol XLE. Understanding the dynamics of Lead prices can provide valuable insights for investors, traders, and analysts. In this blog post, we will explore how to obtain LME Lead (LME-LEAD) prices using the Metals-API, a powerful tool that offers comprehensive data on various metals, including Lead.
Metals-API Information
About Lead (XLE)
Lead is a versatile metal used in various industries, from batteries to radiation shielding. As the world embraces digital transformation, the metal markets are also undergoing significant changes. The integration of technological innovations and advancements in data analytics is reshaping how traders and investors access and interpret market data. The Metals-API plays a pivotal role in this transformation, providing developers with the tools to build applications that leverage real-time metals data.
With the rise of smart technology, the ability to analyze and visualize data has never been more critical. The Metals-API empowers users to gain insights into Lead prices, enabling them to make informed decisions based on accurate and timely information. As we look to the future, the possibilities for integrating advanced analytics and machine learning into metal market research are vast, paving the way for more sophisticated trading strategies.
API Description
The Metals-API is designed to provide developers with access to real-time and historical data on various metals, including Lead. This API is a game-changer for those looking to build next-generation applications that require up-to-date information on metal prices. With its extensive capabilities, the Metals-API allows users to retrieve data through various endpoints, each serving a unique purpose.
One of the standout features of the Metals-API is its ability to deliver real-time exchange rate data. Depending on your subscription plan, the API can provide updates every 60 minutes or even every 10 minutes. This ensures that users have access to the latest market information, which is essential for making timely trading decisions.
Key Features and Endpoints
The Metals-API offers a wide range of endpoints that cater to different data needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, allowing users to stay updated on the latest market prices. The response includes the base currency, date, and rates for various metals, including Lead.
- Historical Rates Endpoint: Users can access historical rates dating back to 2019. By appending a specific date to the endpoint, developers can retrieve past prices, which is invaluable for trend analysis and forecasting.
- Bid And Ask Endpoint: This feature enables users to retrieve real-time bid and ask prices for metals. Understanding the spread between these prices is crucial for traders looking to optimize their buying and selling strategies.
- Convert Endpoint: The Metals-API includes a currency conversion feature, allowing users to convert amounts from one currency to another. This is particularly useful for traders dealing with multiple currencies.
- Time-Series Endpoint: Users can query the API for daily historical rates between two specified dates. This feature is essential for analyzing price movements over time.
- Fluctuation Endpoint: This endpoint provides information on how metal prices fluctuate on a day-to-day basis, offering insights into market volatility.
- Carat Endpoint: For those interested in gold, the carat endpoint allows users to retrieve gold rates by carat, providing a more granular view of gold pricing.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specified date, which is useful for identifying price extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, helping traders analyze market trends.
- Historical LME Endpoint: Users can access historical rates for LME symbols dating back to 2008, which is crucial for long-term market analysis.
- API Key: Each user is assigned a unique API key that must be included in requests to authenticate access to the API.
- API Response: The API returns exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API features 14 endpoints, each designed to provide specific functionalities, making it a comprehensive tool for metal market analysis.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies and metals, ensuring users have access to the latest symbols.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them 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
To illustrate the capabilities of the Metals-API, let's explore some example responses from various endpoints:
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1773187750,
"base": "USD",
"date": "2026-03-11",
"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": 1773101350,
"base": "USD",
"date": "2026-03-10",
"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": "2026-03-04",
"end_date": "2026-03-11",
"base": "USD",
"rates": {
"2026-03-04": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-03-06": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-03-11": {
"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": 1773187750,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2026-03-04",
"end_date": "2026-03-11",
"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) Endpoint
Get OHLC data for a specific time period:
{
"success": true,
"timestamp": 1773187750,
"base": "USD",
"date": "2026-03-11",
"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": 1773187750,
"base": "USD",
"date": "2026-03-11",
"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
In conclusion, the Metals-API is an invaluable resource for anyone looking to conduct market research on Lead and other metals. By providing real-time and historical data through various endpoints, the API empowers developers to create innovative applications that can analyze and visualize metal prices effectively. The integration of advanced analytics and smart technology into metal market research is paving the way for a more informed trading environment.
For more information on how to utilize the Metals-API for your projects, visit the Metals-API Documentation and explore the Metals-API Supported Symbols page for a comprehensive list of available metals. With the right tools and data at your fingertips, you can navigate the complexities of the metal markets with confidence.