Get LBMA Platinum Pm (LBXPTPM) Historical Prices with Metals-API

Get LBMA Platinum Pm (LBXPTPM) Historical Prices with Metals-API
In the world of precious metals, Platinum (XPT) stands out not only for its rarity but also for its diverse applications in various industries, including green technology and clean energy solutions. For developers and businesses looking to access historical prices of Platinum, the Metals-API provides a robust solution. This blog post will delve into the capabilities of the Metals-API, focusing on how to retrieve historical prices for Platinum and explore the innovative features that make this API a powerful tool for developers.
Metals-API Information
The Metals-API is a comprehensive JSON API that provides real-time and historical data on precious metals. It is designed for developers who require accurate and timely information to build applications that can analyze market trends, perform currency conversions, and track price fluctuations. With its user-friendly interface and extensive documentation, the Metals-API empowers developers to create next-generation applications that leverage real-time metals data.
About Platinum (XPT)
Platinum is a precious metal that has gained significant attention due to its applications in various sectors, particularly in green technology and sustainable innovation. As industries shift towards cleaner energy solutions, the demand for Platinum has surged, especially in catalytic converters used in vehicles to reduce harmful emissions. Furthermore, Platinum is integral to digital transformation, where smart technology integration is becoming increasingly prevalent.
In addition to its industrial applications, Platinum is also a popular choice for jewelry and investment. Its unique properties, including resistance to corrosion and high melting point, make it an ideal material for various applications. As a result, tracking the historical prices of Platinum is crucial for investors and businesses alike.
API Description
The Metals-API offers a variety of endpoints that cater to different needs, from retrieving the latest rates to accessing historical data. Each endpoint is designed to provide developers with the flexibility to integrate metals data into their applications seamlessly. The API supports multiple functionalities, including:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint returns 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 currencies dating back to 2019. By appending a specific date to the API request, developers can retrieve historical prices for Platinum and other metals.
- Bid and Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for Platinum, providing insights into market dynamics.
- Convert Endpoint: The API includes a currency conversion endpoint, enabling users to convert any amount from one currency to another, which is particularly useful for investors dealing in multiple currencies.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two dates of their choice, making it easier to analyze trends over time.
- Fluctuation Endpoint: Retrieve information about how Platinum prices fluctuate on a day-to-day basis, which is crucial for understanding market volatility.
- Carat Endpoint: This endpoint provides information about Gold rates by Carat, which can be useful for applications dealing with jewelry.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest price of Platinum over a specified period, aiding in investment decisions.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint allows users to get the open, high, low, and close prices for Platinum, providing a comprehensive view of market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is essential for long-term market analysis.
- API Key: Each user is assigned a unique API key that must be included in the API requests to authenticate and authorize access.
- API Response: The Metals-API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The API offers a wide range of endpoints, each providing different functionalities tailored to various user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies and metals supported by the API, including Platinum.
- Gold Price India Endpoint: Retrieve the latest gold price in India using the dedicated endpoint, which can be useful for regional market analysis.
- News Endpoint: Stay updated with the latest news articles related to various metals, providing context to market movements.
Key Features and Endpoints
The Metals-API is equipped with numerous features that enhance its usability for developers. Below, we explore some of the key endpoints and their functionalities in detail:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rates for all available metals, including Platinum. This endpoint is particularly useful for applications that require up-to-the-minute pricing information. The response includes a timestamp, base currency, date, and rates for various metals.
{
"success": true,
"timestamp": 1743296477,
"base": "USD",
"date": "2025-03-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
The Historical Rates Endpoint allows users to access historical exchange rates for any date since 1999. This is particularly valuable for investors looking to analyze price trends over time. By appending a specific date to the API request, developers can retrieve historical prices for Platinum.
{
"success": true,
"timestamp": 1743210077,
"base": "USD",
"date": "2025-03-29",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-Series Endpoint
The Time-Series Endpoint allows users to query the API for daily historical rates between two dates of their choice. This feature is essential for analyzing trends and making informed investment decisions.
{
"success": true,
"timeseries": true,
"start_date": "2025-03-23",
"end_date": "2025-03-30",
"base": "USD",
"rates": {
"2025-03-23": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-03-25": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-03-30": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
The Convert Endpoint enables users to convert any amount from one metal to another or to/from USD. This functionality is particularly useful for investors dealing with multiple currencies and metals.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1743296477,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
The Fluctuation Endpoint allows users to track rate fluctuations between two dates. This feature is crucial for understanding market volatility and making informed investment decisions.
{
"success": true,
"fluctuation": true,
"start_date": "2025-03-23",
"end_date": "2025-03-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) Price Endpoint
The OHLC Price Endpoint provides users with open, high, low, and close prices for a specific time period. This data is essential for traders and investors looking to analyze market performance.
{
"success": true,
"timestamp": 1743296477,
"base": "USD",
"date": "2025-03-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
The Bid/Ask Endpoint provides current bid and ask prices for metals, including Platinum. This information is vital for traders looking to make informed decisions based on market conditions.
{
"success": true,
"timestamp": 1743296477,
"base": "USD",
"date": "2025-03-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"
}
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.
Conclusion
In conclusion, the Metals-API is an essential tool for developers and businesses looking to access historical prices of Platinum and other precious metals. With its extensive range of endpoints, real-time data capabilities, and user-friendly documentation, the API empowers users to build innovative applications that leverage metals data for investment analysis, market research, and more.
By utilizing the various endpoints, developers can retrieve the latest rates, historical data, and even track fluctuations in prices, enabling them to make informed decisions based on accurate and timely information. Whether you are interested in the latest market trends or historical analysis, the Metals-API provides the necessary tools to succeed in the dynamic world of precious metals.
For more information on how to get started, visit the Metals-API Documentation for detailed guidance on implementation and usage. With the right tools and data at your fingertips, you can unlock the potential of precious metals in your applications.