Access up-to-date Platinum Jul 2027 (PLN27) prices using this API
Access up-to-date Platinum Jul 2027 (PLN27) prices using this API
In the ever-evolving landscape of precious metals trading, staying informed about the latest prices and trends is crucial for investors and developers alike. The Metals-API provides a powerful solution for accessing real-time and historical data on metals, including Platinum (XPT). This blog post will delve into the capabilities of the Metals-API, focusing on how it can empower developers to create innovative applications that leverage up-to-date pricing information.
About Platinum (XPT)
Platinum is not just a precious metal; it plays a pivotal role in various industries, particularly in green technology applications and sustainable innovation. As the world shifts towards clean energy solutions, the demand for Platinum is expected to rise, especially in catalytic converters for vehicles and in hydrogen fuel cells. The integration of smart technology in these applications further enhances the need for accurate and timely data on Platinum prices.
With the Metals-API, developers can access real-time data that supports digital transformation in the metals market. This API allows for seamless integration into applications, enabling businesses to make informed decisions based on the latest market trends. Whether you are building a trading platform, a financial analysis tool, or a market monitoring application, the Metals-API provides the necessary data to drive innovation.
API Description
The Metals-API is a comprehensive JSON API that offers a wide range of functionalities for accessing metals prices and currency conversion. It is designed to meet the needs of developers looking to build next-generation applications that require real-time data. The API supports various endpoints, each tailored to provide specific functionalities, from retrieving the latest rates to accessing historical data.
For detailed documentation on how to implement the API, you can refer to the Metals-API Documentation. This resource provides comprehensive guidance on using the API effectively, including endpoint descriptions, parameter details, and example responses.
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, updated every 60 minutes or more frequently depending on your subscription plan. This allows developers to access the most current market prices, essential for trading applications.
- Historical Rates Endpoint: Access historical rates dating back to 2019. By appending a specific date in the format YYYY-MM-DD, developers can retrieve past pricing data, which is invaluable for trend analysis and forecasting.
- Bid And Ask Endpoint: This feature enables users to retrieve real-time bid and ask prices for Platinum and other metals. Understanding the spread between these prices is crucial for traders looking to optimize their buying and selling strategies.
- Convert Endpoint: The API includes a currency conversion endpoint that allows users to convert amounts from one metal to another or to/from USD. This is particularly useful for applications that require multi-currency support.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two dates of their choice. This endpoint is ideal for analyzing price movements over specific periods.
- Fluctuation Endpoint: This endpoint provides insights into how prices fluctuate on a day-to-day basis, helping users understand market volatility and make informed decisions.
- Carat Endpoint: Retrieve information about Gold rates by Carat, which is essential for jewelers and gold traders.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, which is crucial for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is beneficial for users interested in long-term trends.
- API Key: Each user is assigned a unique API key that must be included in requests to authenticate access to the API.
- API Response: The API delivers exchange rates relative to USD, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API features 14 endpoints, each designed to provide specific functionalities, ensuring comprehensive coverage of user needs.
- Supported Symbols Endpoint: This endpoint returns all available currencies and metals, allowing users to stay updated on the latest symbols supported by the API.
- Intraday Endpoint: Query intraday exchange rate data for a single symbol, which is essential for high-frequency trading applications.
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 metals into their applications.
API Endpoint Examples and Responses
Understanding how to interpret API responses is crucial for developers. Here are some examples of responses from various endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1787357356,
"base": "USD",
"date": "2026-08-22",
"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 API successfully retrieved the latest rates for various metals, including Platinum (XPT), which is priced at 0.000912 per troy ounce.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1787270956,
"base": "USD",
"date": "2026-08-21",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows historical rates for a specific date, allowing developers to analyze past pricing trends.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-08-15",
"end_date": "2026-08-22",
"base": "USD",
"rates": {
"2026-08-15": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-08-17": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-22": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides a time-series view of rates, allowing developers to visualize price movements over time.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1787357356,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This example demonstrates how to convert an amount from USD to Gold (XAU), providing the conversion rate and the result in troy ounces.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-08-15",
"end_date": "2026-08-22",
"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 provides insights into price fluctuations over a specified period, helping users gauge market volatility.
OHLC (Open/High/Low/Close) Endpoint
{
"success": true,
"timestamp": 1787357356,
"base": "USD",
"date": "2026-08-22",
"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 essential data for traders, allowing them to analyze price movements throughout the trading day.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1787357356,
"base": "USD",
"date": "2026-08-22",
"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, which are critical for traders looking to execute orders efficiently.
Conclusion
The Metals-API is an invaluable resource for developers looking to access real-time and historical data on Platinum and other metals. With its comprehensive set of endpoints, the API empowers users to build innovative applications that leverage up-to-date pricing information. By integrating the Metals-API into your projects, you can enhance your applications with accurate data, enabling better decision-making and market analysis.
For more information on how to get started with the Metals-API, visit the 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 to stay updated on the latest symbols available for your applications.