Obtain LBMA Platinum Pm (LBXPTPM) Historical Prices with this API

Obtain LBMA Platinum Pm (LBXPTPM) Historical Prices with this API
XPT. If you're looking to obtain historical prices for LBMA Platinum Pm (LBXPTPM), the Metals-API is a powerful tool that can help you access this information efficiently. This blog post will delve into the capabilities of the Metals-API, focusing on how to retrieve historical prices and other valuable data related to platinum.
About Platinum (XPT)
API Description
Metals-API provides a comprehensive suite of features that empower developers to access and utilize metals data effectively. With its user-friendly interface and robust functionality, the API allows users to retrieve real-time exchange rates, historical prices, and much more. This API is designed to cater to the needs of developers looking to integrate metals data into their applications seamlessly.
Key Features and Endpoints
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for platinum and other metals. Depending on your subscription plan, the API can return updates every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for traders who need to stay informed about the latest market movements.
- Historical Rates Endpoint: For those interested in analyzing past trends, the historical rates endpoint allows users to access historical prices dating back to 2019. By appending a specific date to the API request, developers can retrieve historical data for platinum and other metals, enabling them to conduct thorough market analyses.
- Bid And Ask Endpoint: This powerful feature enables users to retrieve real-time bid and ask prices for platinum. Understanding the bid-ask spread is crucial for traders looking to execute orders at optimal prices.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint that allows users to convert amounts between different metals or to/from USD. This feature is particularly useful for traders dealing with multiple currencies.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two specified dates. It is an invaluable tool for analyzing price movements over time and identifying trends.
- Fluctuation Endpoint: The fluctuation endpoint provides insights into how prices change on a day-to-day basis. This information can help traders understand market volatility and make informed decisions.
- Carat Endpoint: For those interested in gold rates by carat, this endpoint allows users to retrieve relevant information by appending a base carat value to the request.
- Lowest/Highest Price Endpoint: This endpoint enables users to query the API for the lowest and highest prices of platinum over a specified period, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access the open, high, low, and close prices for platinum over a specific date range, which is essential for technical analysis.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols, dating back to 2008, allowing for comprehensive market analysis.
- API Key: To access the Metals-API, users must include their unique API key in the request URL. This key is essential for authentication and authorization.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API offers a wide range of endpoints, each tailored to provide specific functionalities, making it a versatile tool for developers.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies and metals, ensuring users have access to the latest information.
- Gold Price India Endpoint: For users interested in the latest gold prices in India, this dedicated endpoint provides relevant data.
- News Endpoint: The Metals-API also includes a news endpoint that allows users to retrieve the latest articles related to various metals, keeping them informed about market developments.
List of Symbols
Metals-API Supported Symbols page. This resource is invaluable for developers looking to understand the available data points and how to utilize them effectively.
API Endpoint Examples and Responses
Latest Rates Endpoint
{
"success": true,
"timestamp": 1755165627,
"base": "USD",
"date": "2025-08-14",
"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
{
"success": true,
"timestamp": 1755079227,
"base": "USD",
"date": "2025-08-13",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-08-07",
"end_date": "2025-08-14",
"base": "USD",
"rates": {
"2025-08-07": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-08-09": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-08-14": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1755165627,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-08-07",
"end_date": "2025-08-14",
"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
{
"success": true,
"timestamp": 1755165627,
"base": "USD",
"date": "2025-08-14",
"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
{
"success": true,
"timestamp": 1755165627,
"base": "USD",
"date": "2025-08-14",
"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
Metals-API Website and explore the Metals-API Documentation for detailed guidance on implementation. Don't forget to check the Metals-API Supported Symbols page for a complete list of available metals and their specifications.