Get the latest Lanthanum (LTH) prices using this API
Get the Latest Lanthanum (LTH) Prices Using This API
In the ever-evolving landscape of metal markets, having access to real-time data is crucial for developers and businesses alike. The Metals-API provides a powerful solution for obtaining the latest prices of various metals, including Lanthanum (LTH). This blog post will delve into the capabilities of the Metals-API, exploring how it can transform the way you interact with metal pricing data, and provide insights into the markets surrounding Lanthanum.
Metals-API Information
About Lanthanum (LTH)
Lanthanum is a rare earth metal that plays a significant role in various high-tech applications, including catalysts in petroleum refining, phosphors in color television tubes, and battery production. As industries increasingly rely on digital transformation, the demand for accurate and timely data on metals like Lanthanum has surged. This is where the Metals-API comes into play, offering developers the tools needed to access and analyze metal prices efficiently.
The integration of smart technology into metal markets has paved the way for technological innovations that enhance data analytics and insights. By leveraging the Metals-API, developers can build applications that provide real-time updates on Lanthanum prices, enabling businesses to make informed decisions based on the latest market trends.
API Description
The Metals-API is designed to deliver real-time metals data, empowering developers to create next-generation applications. With its robust capabilities, the API allows users to access a wide range of endpoints that cater to different needs, from retrieving the latest rates to historical data analysis. The API's transformative potential lies in its ability to provide accurate and timely information, which is essential for businesses operating in the fast-paced metal markets.
For detailed information on how to implement the API, developers can refer to the Metals-API Documentation. This resource outlines the various endpoints available, their functionalities, and how to effectively utilize them in applications.
Key Features and Endpoints
The Metals-API boasts a variety of endpoints, each designed to serve specific purposes. Below are some of the key features and their potential applications:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes or even every 10 minutes, ensuring you always have the latest information at your fingertips.
- Historical Rates Endpoint: Access historical rates dating back to 2019. By appending a specific date to your query, you can retrieve past pricing data, which is invaluable for trend analysis and forecasting.
- Bid and Ask Endpoint: This feature allows you to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: Easily convert any amount from one metal to another or to/from USD. This endpoint simplifies transactions and financial calculations involving multiple currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This is particularly useful for analyzing price trends over specific periods.
- Fluctuation Endpoint: Track how metal prices fluctuate on a day-to-day basis. This endpoint provides valuable insights into market volatility and price stability.
- Carat Endpoint: Retrieve information about gold rates by carat, which is essential for jewelers and gold traders.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date, helping you identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Access detailed OHLC data for specific time periods, which is crucial for technical analysis and trading strategies.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a comprehensive view of market trends.
- API Key: Your unique API key is essential for accessing the API's features. It must be included in your requests to authenticate your access.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API includes 14 distinct endpoints, each offering unique functionalities tailored to various user needs.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies, ensuring you have the latest information on supported symbols.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping you 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. This resource is invaluable for developers looking to integrate specific metal data into their applications.
API Endpoint Examples and Responses
Understanding the API's 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": 1766030417,
"base": "USD",
"date": "2025-12-18",
"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": 1765944017,
"base": "USD",
"date": "2025-12-17",
"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-12-11",
"end_date": "2025-12-18",
"base": "USD",
"rates": {
"2025-12-11": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-12-13": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-12-18": {
"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": 1766030417,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2025-12-11",
"end_date": "2025-12-18",
"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": 1766030417,
"base": "USD",
"date": "2025-12-18",
"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": 1766030417,
"base": "USD",
"date": "2025-12-18",
"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 real-time data on metals like Lanthanum (LTH). With its extensive range of endpoints, the API provides the tools necessary to build applications that can analyze market trends, convert currencies, and track price fluctuations. By leveraging this API, businesses can stay ahead of the curve in the rapidly changing metal markets.
For more information on how to utilize the Metals-API effectively, be sure to check out the Metals-API Documentation and explore the Metals-API Supported Symbols page for a complete list of available metals. With the right tools and data at your disposal, the possibilities for innovation in the metal markets are endless.