Query LBMA Palladium Pm (LBXPDPM) prices using this API

Introduction
In the world of precious metals, palladium (symbol: XPD) has emerged as a critical player, especially in the automotive industry where it is used in catalytic converters. As demand for palladium continues to rise, understanding its market dynamics and pricing becomes essential for investors and developers alike. One of the most effective ways to access real-time data on palladium prices is through the Metals-API. This blog post will delve into the features of the Metals-API, focusing on how it can be utilized to query LBMA Palladium PM prices and explore the broader implications of palladium in various sectors.
Metals-API Information
About Palladium (XPD)
Palladium is a rare, precious metal that has gained significant traction in recent years, primarily due to its applications in automotive technology. As the automotive industry shifts towards greener technologies, palladium plays a pivotal role in reducing harmful emissions through its use in catalytic converters. This innovation not only helps manufacturers comply with stringent environmental regulations but also contributes to the development of sustainable automotive solutions.
Moreover, palladium's integration into digital supply chains and smart manufacturing processes highlights its importance in modern industry. The metal's unique properties make it ideal for various applications, including electronics and jewelry, further driving its demand. As industries continue to innovate, the need for accurate and real-time data on palladium prices becomes increasingly vital.
API Description
The Metals-API is a powerful tool that provides developers with access to real-time and historical data on various metals, including palladium. This API is designed to empower developers to create next-generation applications that can leverage the transformative potential of real-time metals data. By integrating the Metals-API into their applications, developers can provide users with up-to-date information on palladium prices, enabling informed decision-making.
The API supports a variety of endpoints that cater to different needs, from retrieving the latest rates to accessing historical data. This flexibility allows developers to build applications that can analyze trends, track fluctuations, and even convert between different metals and currencies. The Metals-API is not just a data source; it is a comprehensive solution for anyone looking to navigate the complex world of precious metals.
Key Features and Endpoints
The Metals-API offers a range of features that can be utilized to access and manipulate data related to palladium and other metals. Here are some of the key endpoints and their potential applications:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rate data for palladium and other metals. Depending on your subscription plan, this endpoint can return data updated every 60 minutes, every 10 minutes, or even more frequently. This feature is crucial for traders and investors who need to stay informed about market fluctuations.
{
"success": true,
"timestamp": 1746162015,
"base": "USD",
"date": "2025-05-02",
"rates": {
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
For those interested in analyzing trends over time, the Historical Rates Endpoint allows users to access historical rates dating back to 2019. By appending a specific date to the API request, developers can retrieve past prices for palladium, enabling them to conduct thorough market analyses.
{
"success": true,
"timestamp": 1746075615,
"base": "USD",
"date": "2025-05-01",
"rates": {
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
The Bid and Ask Endpoint is a powerful feature that provides real-time bid and ask prices for palladium. This information is essential for traders who need to make quick decisions based on market conditions. Depending on your subscription plan, this endpoint can deliver accurate pricing data that reflects current market dynamics.
{
"success": true,
"timestamp": 1746162015,
"base": "USD",
"date": "2025-05-02",
"rates": {
"XPD": {
"bid": 0.000741,
"ask": 0.000747,
"spread": 0.000006
}
},
"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 is particularly useful for businesses that deal with multiple currencies and need to calculate costs accurately.
{
"success": true,
"query": {
"from": "USD",
"to": "XPD",
"amount": 1000
},
"info": {
"timestamp": 1746162015,
"rate": 0.000744
},
"result": 0.744,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series Endpoint allows developers to query the API for daily historical rates between two dates of their choice. This feature is invaluable for analyzing price trends over specific periods, helping users make informed investment decisions.
{
"success": true,
"timeseries": true,
"start_date": "2025-04-25",
"end_date": "2025-05-02",
"base": "USD",
"rates": {
"2025-04-25": {
"XPD": 0.000748
},
"2025-05-02": {
"XPD": 0.000744
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation Endpoint provides insights into how palladium prices fluctuate on a day-to-day basis. By tracking rate changes between two dates, users can gain a better understanding of market volatility and make strategic decisions accordingly.
{
"success": true,
"fluctuation": true,
"start_date": "2025-04-25",
"end_date": "2025-05-02",
"base": "USD",
"rates": {
"XPD": {
"start_rate": 0.000748,
"end_rate": 0.000744,
"change": -0.000004,
"change_pct": -0.53
}
},
"unit": "per troy ounce"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC Price Endpoint provides detailed information about the open, high, low, and close prices for palladium over a specified time period. This data is essential for traders who rely on technical analysis to inform their strategies.
{
"success": true,
"timestamp": 1746162015,
"base": "USD",
"date": "2025-05-02",
"rates": {
"XPD": {
"open": 0.000748,
"high": 0.000750,
"low": 0.000740,
"close": 0.000744
}
},
"unit": "per troy ounce"
}
Historical LME Endpoint
The Historical LME Endpoint provides access to historical rates for LME symbols, dating back to 2008. This endpoint is particularly useful for users who need to analyze long-term trends in palladium pricing.
{
"success": true,
"timestamp": 1746075615,
"base": "USD",
"date": "2025-05-01",
"rates": {
"XPD": 0.000748
},
"unit": "per troy ounce"
}
API Key and Response
To access the Metals-API, users must obtain an API key, which is passed into the API base URL's access_key parameter. This key is essential for authentication and authorization purposes. The API responses are delivered in JSON format, with exchange rates typically relative to USD. Each response includes a success status, timestamp, base currency, and the relevant rates for palladium and other metals.
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 multiple metals into their applications.
Conclusion
In conclusion, the Metals-API is a robust solution for developers seeking to access real-time and historical data on palladium prices. With its wide array of endpoints, including the Latest Rates, Historical Rates, and Bid and Ask features, the API empowers users to make informed decisions based on accurate market data. As palladium continues to play a crucial role in various industries, leveraging the capabilities of the Metals-API will be essential for anyone involved in trading or investing in precious metals.
For more information on how to get started with the Metals-API, visit the Metals-API Website and explore the extensive Metals-API Documentation for detailed guidance on implementation and usage.