Get accurate LBMA Platinum Am (LBXPTAM) prices using this API
In the world of precious metals, accurate pricing is crucial for investors, traders, and industries relying on these commodities. One such metal, Platinum (XPT), is not only valued for its rarity but also for its applications in green technology, sustainable innovation, and clean energy solutions. To access real-time and historical pricing data for Platinum, developers can leverage the Metals-API, a powerful tool designed to provide comprehensive metals data.
About Platinum (XPT)
Platinum is a precious metal that plays a significant role in various industries, particularly in automotive catalytic converters, electronics, and jewelry. Its unique properties make it an essential component in green technology applications, such as hydrogen fuel cells and catalytic converters that reduce harmful emissions. As the world shifts towards sustainable energy solutions, the demand for Platinum is expected to rise, making accurate pricing data even more critical.
Moreover, Platinum is increasingly being integrated into smart technology solutions, enhancing the efficiency and sustainability of various applications. The digital transformation of industries is driving the need for real-time data, which is where the Metals-API comes into play.
Understanding the Metals-API
The Metals-API is a robust platform that provides developers with access to real-time and historical pricing data for various metals, including Platinum. With its innovative capabilities, the API empowers developers to build next-generation applications that require accurate and timely metals data. The API supports a wide range of functionalities, making it an invaluable resource for financial applications, market analysis tools, and trading platforms.
Key Features of the Metals-API
The Metals-API offers several key features that enhance its usability and functionality:
Latest Rates Endpoint
Depending on your subscription plan, the API's latest rates endpoint returns real-time exchange rate data updated every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for traders who need to make quick decisions based on the latest market conditions.
{
"success": true,
"timestamp": 1768262969,
"base": "USD",
"date": "2026-01-13",
"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
For those interested in analyzing trends over time, the historical rates endpoint provides access to historical rates dating back to 2019. By appending a specific date to your query, you can retrieve past pricing data, which is invaluable for market analysis and forecasting.
{
"success": true,
"timestamp": 1768176569,
"base": "USD",
"date": "2026-01-12",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Bid and Ask Endpoint
The Bid and Ask endpoint allows you to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics. This feature is particularly useful for traders looking to optimize their entry and exit points in the market.
{
"success": true,
"timestamp": 1768262969,
"base": "USD",
"date": "2026-01-13",
"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"
}
Convert Endpoint
The Convert endpoint allows users to convert any amount from one metal to another or to/from USD. This feature simplifies the process of calculating equivalent values across different metals, making it easier for users to understand their investments.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1768262969,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The time-series endpoint allows you to query the API for daily historical rates between two dates of your choice. This feature is particularly useful for analyzing price trends over specific periods, enabling users to make informed decisions based on historical performance.
{
"success": true,
"timeseries": true,
"start_date": "2026-01-06",
"end_date": "2026-01-13",
"base": "USD",
"rates": {
"2026-01-06": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-01-08": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-01-13": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The fluctuation endpoint provides information about how currencies fluctuate on a day-to-day basis. This feature is essential for traders who need to understand market volatility and make strategic decisions based on price movements.
{
"success": true,
"fluctuation": true,
"start_date": "2026-01-06",
"end_date": "2026-01-13",
"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"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC endpoint allows users to query the API for the open, high, low, and close prices for a specific time period. This data is crucial for technical analysis and helps traders identify market trends and potential reversal points.
{
"success": true,
"timestamp": 1768262969,
"base": "USD",
"date": "2026-01-13",
"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"
}
Historical LME Endpoint
The historical LME endpoint provides access to historical rates for LME symbols dating back to 2008. This feature is particularly useful for users interested in the London Metal Exchange pricing data.
Authentication and API Key
To access the Metals-API, users must obtain an API key, which is a unique identifier passed into the API base URL's access_key parameter. This key ensures secure access to the API and allows for tracking usage and rate limits.
Performance and Optimization
When integrating the Metals-API into applications, developers should consider performance optimization strategies, such as caching frequently accessed data and implementing efficient error handling mechanisms. Rate limiting and quota management are also crucial to ensure smooth operation and avoid service interruptions.
Security Best Practices
Security is paramount when dealing with financial data. Developers should implement best practices such as data validation and sanitization to protect against potential vulnerabilities. Additionally, using HTTPS for API requests ensures that data is transmitted securely.
Conclusion
The Metals-API is an invaluable resource for developers seeking accurate and real-time pricing data for Platinum and other precious metals. With its extensive range of features, including real-time rates, historical data, and advanced endpoints, the API empowers users to build sophisticated applications that can drive innovation in various industries. By leveraging the capabilities of the Metals-API, developers can enhance their applications with reliable metals data, ultimately contributing to informed decision-making in the precious metals market.
For more information on the API's capabilities, visit the Metals-API Documentation and explore the Metals-API Supported Symbols for a comprehensive list of available metals.