Access Lanthanum (LTH) Historical Prices Easily via this API

Access Lanthanum (LTH) Historical Prices Easily via this API
In the rapidly evolving world of metals trading, having access to accurate and timely data is crucial for developers and businesses alike. One of the most promising tools available today is the Metals-API, which allows users to access historical prices for various metals, including Lanthanum (LTH). This blog post will delve into the capabilities of the Metals-API, exploring how it can be utilized to retrieve historical prices and other valuable data related to Lanthanum. We will also discuss the broader implications of digital transformation in metal markets, technological innovations, and future trends that are shaping the industry.
Metals-API Information
About Lanthanum (LTH)
Lanthanum, represented by the symbol LTH, is a rare earth metal that plays a significant role in various high-tech applications, including catalysts in petroleum refining, phosphors in lighting, and components in batteries. As the demand for advanced technologies continues to grow, so does the need for reliable data on Lanthanum prices. The Metals-API provides a comprehensive solution for accessing this data, allowing developers to integrate real-time and historical pricing information into their applications.
The digital transformation in metal markets is driven by the increasing reliance on data analytics and insights. With the Metals-API, developers can harness the power of smart technology integration to create applications that provide users with valuable insights into market trends and price fluctuations. This capability not only enhances decision-making but also opens up new possibilities for innovation in the metal trading space.
API Description
The Metals-API is a powerful tool that empowers developers to build next-generation applications by providing real-time metals data. It offers a range of endpoints that allow users to access various types of information, including the latest rates, historical prices, and conversion rates. The API is designed with technological advancement in mind, ensuring that users can easily retrieve the data they need to make informed decisions.
For more information, visit the Metals-API Website or check out the Metals-API Documentation for detailed guidance on how to implement the API in your projects.
Key Features and Endpoints
The Metals-API offers a variety of endpoints, each designed to serve specific needs. Here are some of the key features:
- Latest Rates Endpoint: This 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 feature is essential for developers looking to integrate up-to-date pricing information into their applications.
- Historical Rates Endpoint: Users can access historical rates for most metals dating back to 2019. By appending a specific date to the API request, developers can retrieve historical price data for Lanthanum and other metals, enabling them to analyze trends over time.
- Bid and Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for metals. Understanding the bid-ask spread is crucial for traders and developers who need to implement trading strategies based on market conditions.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, allowing users to convert any amount from one metal to another or to/from USD. This feature is particularly useful for applications that require multi-currency support.
- Time-Series Endpoint: This endpoint enables users to query the API for daily historical rates between two specified dates. This functionality is ideal for developers looking to analyze price movements over specific periods.
- Fluctuation Endpoint: With this endpoint, users can track how metal prices fluctuate on a day-to-day basis. This information is vital for understanding market volatility and making informed trading decisions.
- Carat Endpoint: This feature allows users to retrieve information about gold rates by carat, which is particularly useful for jewelers and those in the luxury goods market.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specified date, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides users with open, high, low, and close prices for a specific date, which is essential for technical analysis.
- Historical LME Endpoint: This endpoint allows users to access historical rates for LME symbols dating back to 2008, providing a wealth of data for analysis.
- API Key: To access the Metals-API, users must include their unique API key in the request. This key is essential for authentication and authorization.
- API Response: The API delivers exchange rates relative to USD by default, and all data is returned in a structured JSON format, making it easy to parse and integrate into applications.
- Available Endpoints: The Metals-API offers a comprehensive list of endpoints, each providing different functionalities. Developers can explore these options to find the best fit for their needs.
- Supported Symbols Endpoint: This endpoint returns all available metal symbols, allowing users to easily find the symbols they need for their applications.
- Gold Price India Endpoint: This dedicated endpoint retrieves the latest gold price in India, catering to a specific market segment.
- 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
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1748577683,
"base": "USD",
"date": "2025-05-30",
"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": 1748491283,
"base": "USD",
"date": "2025-05-29",
"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-05-23",
"end_date": "2025-05-30",
"base": "USD",
"rates": {
"2025-05-23": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-05-25": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-05-30": {
"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": 1748577683,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2025-05-23",
"end_date": "2025-05-30",
"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": 1748577683,
"base": "USD",
"date": "2025-05-30",
"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": 1748577683,
"base": "USD",
"date": "2025-05-30",
"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 offers a robust and comprehensive solution for accessing historical prices and real-time data for Lanthanum and other metals. By leveraging the various endpoints available, developers can create applications that provide valuable insights into market trends, price fluctuations, and trading strategies. The integration of smart technology and data analytics into metal markets is paving the way for innovative solutions that enhance decision-making and drive efficiency.
As the demand for accurate and timely data continues to grow, the Metals-API stands out as a vital tool for developers looking to stay ahead in the competitive landscape of metal trading. For more information on how to get started, visit the Metals-API Documentation and explore the full range of features and capabilities available.