Access Comprehensive Platinum Ask (XPT-ASK) Historical Prices using this API
Access Comprehensive Platinum Ask (XPT-ASK) Historical Prices using this API
In the ever-evolving world of precious metals, Platinum (XPT) stands out as a vital component in various industries, particularly in green technology and sustainable innovation. As developers and businesses seek to harness the power of real-time data, the Metals-API provides a robust solution for accessing historical prices and current rates of Platinum and other metals. This blog post will guide you through the capabilities of the Metals-API, focusing on how to access comprehensive historical prices for Platinum using its various endpoints.
About Platinum (XPT)
Platinum is not just a precious metal; it is a cornerstone of modern technology and sustainability. Its applications range from catalytic converters in vehicles to advanced electronics and even in the field of clean energy solutions. As the world shifts towards greener technologies, the demand for Platinum is expected to rise, making it essential for developers to have access to accurate and timely pricing data.
The integration of smart technology and digital transformation in industries utilizing Platinum is crucial. With the Metals-API, developers can create applications that provide insights into Platinum prices, enabling businesses to make informed decisions based on real-time data. This API empowers users to build next-generation applications that can track price fluctuations, analyze historical trends, and convert currencies seamlessly.
API Description
The Metals-API is a powerful tool designed for developers looking to access real-time and historical data on precious metals. It offers a variety of endpoints that cater to different needs, from retrieving the latest rates to accessing historical prices dating back to 2019. The API is built with innovation in mind, allowing developers to harness the transformative potential of real-time metals data.
For more detailed information on how to use the API, you can refer to the Metals-API Documentation. This resource provides comprehensive guidance on implementing the API effectively.
Key Features and Endpoints
The Metals-API offers a range of endpoints that provide various functionalities. Here are some of the key features:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint returns real-time exchange rate data updated every 60 minutes or even every 10 minutes. 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 (YYYY-MM-DD) to the endpoint, developers can retrieve past pricing data, which is invaluable for trend analysis and forecasting.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time Bid and Ask prices for Platinum and other metals, providing insights into market dynamics and helping traders make informed decisions.
- Convert Endpoint: The API includes a currency conversion endpoint, enabling users to convert any amount from one currency to another. This feature is particularly useful for businesses operating in multiple currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This endpoint is ideal for analyzing price trends over specific periods.
- Fluctuation Endpoint: Retrieve information about how currencies fluctuate on a day-to-day basis. This endpoint helps users understand market volatility and make strategic decisions.
- Carat Endpoint: Access information about Gold rates by Carat, allowing for precise calculations in jewelry and investment applications.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest price for a specified date, which is crucial for understanding market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides the open, high, low, and close prices for a specific date, offering a comprehensive view of market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is essential for businesses involved in trading and investment.
- 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 exchange rates delivered by the Metals-API are by default relative to USD, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API features 14 endpoints, each providing different functionalities tailored to user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, allowing users to stay informed about the latest offerings.
For a complete list of all supported symbols and their specifications, refer to the Metals-API Supported Symbols.
API Endpoint Examples and Responses
Understanding how to interact with the Metals-API is crucial for effective implementation. Below are examples of various endpoints and their expected responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1783383345,
"base": "USD",
"date": "2026-07-07",
"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": 1783296945,
"base": "USD",
"date": "2026-07-06",
"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": "2026-06-30",
"end_date": "2026-07-07",
"base": "USD",
"rates": {
"2026-06-30": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-07-02": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-07-07": {
"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": 1783383345,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-06-30",
"end_date": "2026-07-07",
"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": 1783383345,
"base": "USD",
"date": "2026-07-07",
"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": 1783383345,
"base": "USD",
"date": "2026-07-07",
"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
Accessing historical prices for Platinum (XPT) is crucial for developers and businesses looking to leverage precious metals data in their applications. The Metals-API provides a comprehensive suite of endpoints that cater to various needs, from real-time pricing to historical data analysis. By utilizing the API, developers can create innovative solutions that enhance decision-making processes in industries reliant on Platinum.
For more information on how to implement these features, refer to the Metals-API Documentation. Additionally, stay updated on the latest offerings by checking the Metals-API Supported Symbols page and explore the Metals-API Website for further resources.
By understanding the capabilities of the Metals-API and integrating its features into your applications, you can unlock the potential of real-time metals data and drive innovation in your projects.