Access Lanthanum (LTH) Historical Prices using this Simple API

In the rapidly evolving world of metals trading, access to real-time and historical data is crucial for making informed decisions. One such metal that has garnered attention in recent years is Lanthanum (LTH). With the advent of advanced technologies and data analytics, developers can now leverage APIs to access historical prices and other vital information about metals like Lanthanum. In this blog post, we will explore how to access Lanthanum (LTH) historical prices using the Metals-API, a powerful tool that provides comprehensive data on various metals.
About Lanthanum (LTH)
Lanthanum is a rare earth metal that plays a significant role in various technological applications, including catalysts in petroleum refining, phosphors in color television tubes, and as an alloying agent in certain metals. As industries continue to innovate and integrate smart technologies, the demand for Lanthanum is expected to rise. This digital transformation in metal markets is driven by the need for accurate data analytics and insights, allowing businesses to make data-driven decisions.
The integration of smart technology into metal trading has opened up new avenues for developers. By utilizing APIs like the Metals-API, developers can create applications that provide real-time data, historical trends, and predictive analytics, thereby enhancing the decision-making process. The future of metal markets is undoubtedly tied to technological advancements, and Lanthanum is at the forefront of this evolution.
Metals-API Overview
The Metals-API is a robust platform that offers developers access to real-time and historical prices of various metals, including Lanthanum. This API is designed to empower developers to build next-generation applications that require accurate and timely metals data. With its user-friendly interface and comprehensive documentation, the Metals-API simplifies the process of integrating metals data into applications.
One of the key features of the Metals-API is its ability to provide real-time exchange rates, historical data, and various endpoints that cater to different needs. Whether you are looking to track the latest prices or analyze historical trends, the Metals-API has you covered. The API supports a wide range of functionalities, making it an essential tool for developers in the metals trading space.
Key Features and Endpoints
The Metals-API offers several endpoints that allow developers to access various types of data. Here are some of the most notable features:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rate data for metals, updated every 60 minutes, 10 minutes, or even more frequently, depending on your subscription plan. This endpoint is crucial for developers who need to display the most current prices of metals like Lanthanum.
{
"success": true,
"timestamp": 1752105713,
"base": "USD",
"date": "2025-07-10",
"rates": {
"LTH": 0.000482
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
The Historical Rates Endpoint allows users to access historical exchange rates for most currencies dating back to 2019. By appending a specific date to the API call, developers can retrieve historical prices for Lanthanum, enabling them to analyze trends over time.
{
"success": true,
"timestamp": 1752019313,
"base": "USD",
"date": "2025-07-09",
"rates": {
"LTH": 0.000485
},
"unit": "per troy ounce"
}
Bid and Ask Endpoint
The Bid and Ask Endpoint is a powerful feature that enables developers to retrieve real-time bid and ask prices for metals. This information is vital for traders looking to make quick decisions based on market fluctuations.
{
"success": true,
"timestamp": 1752105713,
"base": "USD",
"date": "2025-07-10",
"rates": {
"LTH": {
"bid": 0.000481,
"ask": 0.000483,
"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 developers who want to provide users with the ability to calculate the value of their metals in different currencies.
{
"success": true,
"query": {
"from": "USD",
"to": "LTH",
"amount": 1000
},
"info": {
"timestamp": 1752105713,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series Endpoint allows developers to query the API for daily historical rates between two dates of their choice. This feature is essential for analyzing price trends over specific periods, providing valuable insights for traders and analysts.
{
"success": true,
"timeseries": true,
"start_date": "2025-07-03",
"end_date": "2025-07-10",
"base": "USD",
"rates": {
"2025-07-03": {
"LTH": 0.000485
},
"2025-07-05": {
"LTH": 0.000483
},
"2025-07-10": {
"LTH": 0.000482
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation Endpoint provides information about how prices fluctuate on a day-to-day basis. This feature is particularly useful for traders who want to understand market volatility and make informed decisions based on price movements.
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-03",
"end_date": "2025-07-10",
"base": "USD",
"rates": {
"LTH": {
"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
The OHLC Price Endpoint allows developers to query the API for the open, high, low, and close prices for a specific time period. This data is essential for traders looking to analyze market trends and make predictions based on historical performance.
{
"success": true,
"timestamp": 1752105713,
"base": "USD",
"date": "2025-07-10",
"rates": {
"LTH": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"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 useful for developers looking to analyze long-term trends in metals trading.
{
"success": true,
"timestamp": 1752019313,
"base": "USD",
"date": "2025-07-09",
"rates": {
"LTH": 0.000485
},
"unit": "per troy ounce"
}
API Key and Authentication
To access the Metals-API, developers must obtain an API key, which is passed into the API base URL's access_key parameter. This key is essential for authenticating requests and ensuring secure access to the API's features.
API Response Structure
The responses delivered by the Metals-API are structured in a JSON format, making it easy for developers to parse and utilize the data in their applications. Each response includes fields such as success, timestamp, base currency, date, rates, and unit. Understanding these fields is crucial for effectively using the API.
Common Use Cases
Developers can leverage the Metals-API for various applications, including:
- Creating dashboards that display real-time metal prices.
- Building analytical tools that provide insights into historical price trends.
- Developing trading applications that utilize real-time data for decision-making.
- Integrating metals data into financial applications for comprehensive analysis.
Conclusion
Accessing historical prices for Lanthanum (LTH) has never been easier, thanks to the capabilities offered by the Metals-API. With its extensive range of endpoints and features, developers can create powerful applications that provide real-time data, historical insights, and analytical tools for the metals market. As the industry continues to evolve, the integration of technology and data analytics will play a pivotal role in shaping the future of metals trading. For more information, refer to the Metals-API Documentation and explore the Metals-API Supported Symbols for a comprehensive list of available metals.