Obtain Lithium Aug 2025 (LMQ25) Historical Prices via this API

Introduction
In the ever-evolving landscape of metal markets, obtaining accurate and timely data is crucial for developers and businesses alike. One of the most sought-after metals in recent years is lithium, particularly as the world shifts towards electric vehicles and renewable energy solutions. This blog post will delve into how to obtain historical prices for Lithium (LITHIUM) using the Metals-API, a powerful tool that provides real-time and historical data for various metals, including lithium. We will explore the innovative features of the Metals-API, its capabilities, and how it can empower developers to create next-generation applications that leverage real-time metals data.
Metals-API Information
About Lithium (LITHIUM)
Lithium is a key component in the production of batteries, particularly for electric vehicles and energy storage systems. As the demand for sustainable energy solutions grows, so does the importance of lithium in the global market. The digital transformation in metal markets has led to significant advancements in how data is collected, analyzed, and utilized. With the integration of smart technologies and data analytics, stakeholders can gain valuable insights into market trends and make informed decisions.
Technological innovation has paved the way for enhanced data collection methods, enabling real-time tracking of lithium prices and trends. The Metals-API stands at the forefront of this transformation, offering developers access to a wealth of information that can be harnessed for various applications. From tracking historical prices to analyzing fluctuations, the Metals-API provides a comprehensive suite of tools that can be tailored to meet the needs of any developer.
API Description
The Metals-API is designed to provide developers with seamless access to real-time and historical metals data. With its robust infrastructure, the API empowers users to build applications that require accurate and timely information. The API supports a wide range of endpoints, each serving a unique purpose, from retrieving the latest rates to accessing historical data dating back to 2019.
One of the standout features of the Metals-API is its ability to deliver data in a user-friendly JSON format, making it easy for developers to integrate into their applications. The API's capabilities extend beyond simple data retrieval; it allows for complex queries, enabling users to analyze trends, fluctuations, and historical performance with ease.
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: Depending on your subscription plan, this endpoint provides real-time exchange rate data updated every 60 minutes, every 10 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 most metals dating back to 2019. By appending a specific date to your query, you can retrieve the price of lithium on any given day, allowing for in-depth analysis of market trends over time.
- Bid And Ask Endpoint: This powerful feature enables you to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, allowing you to convert any amount from one metal to another or to/from USD. This is particularly useful for applications that require multi-currency support.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This endpoint is invaluable for developers looking to analyze trends over specific periods.
- Fluctuation Endpoint: Retrieve information about how prices fluctuate on a day-to-day basis, providing insights into market volatility and trends.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint allows you to get the open, high, low, and close prices for a specific date, offering a comprehensive view of market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, enabling users to analyze long-term trends in the market.
- API Key: Your unique API key is required to access the API, ensuring secure and authorized usage.
- API Response: The Metals-API delivers exchange rates relative to USD by default, with all data returned in a structured JSON format for easy integration.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies and metals, ensuring developers have access to the latest information.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping users informed about market developments and trends.
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 understand the full scope of available data.
API Endpoint Examples and Responses
Understanding the structure of API responses is crucial for effective integration. Below are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1753923683,
"base": "USD",
"date": "2025-07-31",
"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": 1753837283,
"base": "USD",
"date": "2025-07-30",
"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-07-24",
"end_date": "2025-07-31",
"base": "USD",
"rates": {
"2025-07-24": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-07-26": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-07-31": {
"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": 1753923683,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-24",
"end_date": "2025-07-31",
"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": 1753923683,
"base": "USD",
"date": "2025-07-31",
"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": 1753923683,
"base": "USD",
"date": "2025-07-31",
"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 developers looking to access real-time and historical data for metals like lithium. With its comprehensive suite of endpoints, the API empowers users to build applications that can analyze market trends, track fluctuations, and convert between different metals and currencies. By leveraging the capabilities of the Metals-API, developers can create innovative solutions that meet the demands of a rapidly changing market.
As the world continues to embrace digital transformation, the importance of accurate and timely data cannot be overstated. The Metals-API stands as a testament to the power of technology in the metal markets, providing developers with the tools they need to succeed. For more information on how to get started, refer to the Metals-API Documentation and explore the full range of supported symbols on the Metals-API Supported Symbols page.