Collect LBMA Platinum Pm (LBXPTPM) Historical Prices through this API
Collect LBMA Platinum Pm (LBXPTPM) Historical Prices through this API
In the ever-evolving landscape of precious metals trading, the ability to access and analyze historical prices is crucial for investors, traders, and developers alike. The LBMA Platinum PM (LBXPTPM) symbol represents the London Bullion Market Association's benchmark for platinum prices, and obtaining historical data for this metal can provide invaluable insights into market trends and investment strategies. One of the most efficient ways to access this data is through the Metals-API, a powerful tool designed for developers seeking real-time and historical metals data.
About Platinum (XPT)
Platinum, denoted by the symbol XPT, is a precious metal that has gained significant attention due to its unique properties and applications. It is not only a valuable asset for investors but also plays a vital role in various industries, particularly in green technology and sustainable innovation. As the world shifts towards clean energy solutions, platinum's applications in catalytic converters and hydrogen fuel cells are becoming increasingly important.
Moreover, the integration of smart technology in mining and refining processes is enhancing the efficiency and sustainability of platinum production. This digital transformation is crucial as it aligns with global efforts to reduce carbon footprints and promote environmentally friendly practices. By leveraging the capabilities of the Metals-API, developers can create applications that track platinum prices and analyze trends, thereby contributing to informed decision-making in this dynamic market.
API Description
The Metals-API is a comprehensive JSON API that provides access to real-time and historical prices for various metals, including platinum. This API is designed to empower developers to build next-generation applications that require accurate and timely metals data. With its innovative features, the Metals-API enables users to retrieve data efficiently, facilitating the development of applications that can analyze market trends, perform currency conversions, and much more.
One of the standout features of the Metals-API is its ability to deliver real-time exchange rate data. Depending on your subscription plan, the API can provide updates every 60 minutes or even more frequently. This ensures that users have access to the most current market information, which is essential for making informed trading decisions.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different data retrieval needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for platinum and other metals. Users can access the latest rates updated based on their subscription plan, ensuring they have the most accurate information at their fingertips.
- Historical Rates Endpoint: For those interested in analyzing past market performance, the historical rates endpoint allows users to query data dating back to 2019. By appending a specific date to the API request, developers can retrieve historical prices for platinum, enabling in-depth analysis of market trends over time.
- Bid And Ask Endpoint: This powerful feature allows users to obtain real-time bid and ask prices for platinum and other metals. Understanding the bid-ask spread is crucial for traders looking to optimize their buying and selling strategies.
- Convert Endpoint: The Metals-API includes a dedicated currency conversion endpoint, enabling users to convert amounts between different metals or to/from USD. This is particularly useful for investors who need to assess the value of their holdings in various currencies.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two specified dates. It is ideal for analyzing price movements over specific periods, helping traders identify patterns and make informed decisions.
- Fluctuation Endpoint: Users can track how platinum prices fluctuate on a day-to-day basis using this endpoint. By analyzing fluctuations, traders can gain insights into market volatility and adjust their strategies accordingly.
- Carat Endpoint: This feature provides information about gold rates by carat, which can be useful for those dealing with gold-plated items or jewelry.
- Lowest/Highest Price Endpoint: Users can query the API to find the lowest and highest prices for platinum over a specified period, aiding in market analysis and investment decisions.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides detailed OHLC data for platinum, allowing traders to assess market performance over specific time frames.
- Historical LME Endpoint: For those interested in historical rates for LME symbols, this endpoint provides access to data dating back to 2008, allowing for comprehensive market analysis.
- API Key: Each user is assigned a unique API key, which must be included in requests to authenticate access to the API.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API features 14 different endpoints, each designed to provide specific functionalities, making it a versatile tool for developers.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available metal symbols, ensuring users can easily find the data they need.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them informed about market developments and trends.
API Endpoint Examples and Responses
Understanding how to interact with the Metals-API is crucial for developers looking to integrate its features into their applications. Below are examples of API responses for various endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1771546709,
"base": "USD",
"date": "2026-02-20",
"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"
}
This response indicates that the latest price for platinum (XPT) is 0.000912 per troy ounce, providing a snapshot of the current market conditions.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1771460309,
"base": "USD",
"date": "2026-02-19",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows historical rates for platinum on a specific date, allowing users to analyze past performance and trends.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-02-13",
"end_date": "2026-02-20",
"base": "USD",
"rates": {
"2026-02-13": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-02-15": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-02-20": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides a time series of platinum prices over a specified period, enabling users to visualize price trends and fluctuations.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1771546709,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
The convert endpoint allows users to convert a specified amount from one currency to another, providing flexibility in financial analysis.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-02-13",
"end_date": "2026-02-20",
"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"
}
This response illustrates how platinum prices have fluctuated over a specified period, providing insights into market volatility.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1771546709,
"base": "USD",
"date": "2026-02-20",
"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"
}
This endpoint provides detailed OHLC data for platinum, allowing traders to assess market performance and make informed decisions.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1771546709,
"base": "USD",
"date": "2026-02-20",
"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"
}
This response provides current bid and ask prices for platinum, which is essential for traders looking to optimize their transactions.
Conclusion
Accessing historical prices for LBMA Platinum PM (LBXPTPM) is made simple and efficient through the Metals-API. With its extensive range of features, including real-time data, historical rates, and various endpoints tailored for different needs, this API is an invaluable resource for developers and traders alike. By leveraging the power of the Metals-API, users can gain insights into market trends, optimize their trading strategies, and contribute to the growing field of sustainable innovation in the precious metals market.
For more information on how to integrate the Metals-API into your applications, refer to the Metals-API Documentation and explore the Metals-API Supported Symbols for a comprehensive list of available metals. Embrace the future of metals trading with the Metals-API and unlock the potential of real-time data at your fingertips.