The Easiest Way to Get Palladium Bid (XPD-BID) Historical Rates Using Public APIs
The Easiest Way to Get Palladium Bid (XPD-BID) Historical Rates Using Public APIs
In today's fast-paced financial landscape, having access to real-time and historical data is crucial for developers and businesses alike. One of the most valuable resources for obtaining precious metals data is the Metals-API. This powerful API provides developers with the ability to access historical prices for Palladium (XPD), among other metals, through a variety of endpoints. In this blog post, we will explore how to retrieve Palladium historical prices using the Metals-API, including example endpoints, parameters, and data formats.
About Palladium (XPD)
Palladium is a precious metal that has gained significant attention in recent years, especially in the automotive industry due to its essential role in catalytic converters. As automotive technology continues to innovate, the demand for Palladium has surged, making it a critical component in reducing harmful emissions. Furthermore, Palladium is increasingly being recognized for its potential in environmental solutions, digital supply chains, and smart manufacturing. The integration of technology in the mining and trading of Palladium is transforming how we view and utilize this precious resource.
API Description
The Metals-API is designed to empower developers by providing real-time and historical data on precious metals. With its extensive capabilities, the API allows for the creation of next-generation applications that can analyze market trends, track price fluctuations, and facilitate currency conversions. The API is built with innovation in mind, offering a seamless experience for developers looking to integrate metals data into their applications.
For more information, you can refer to the Metals-API Documentation, which provides comprehensive details on how to use the API effectively.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for Palladium and other metals, updated every 60 minutes, 10 minutes, or more frequently depending on your subscription plan.
- Historical Rates Endpoint: Access historical rates for Palladium dating back to 2019. You can query the API by appending a specific date to retrieve past prices.
- Bid and Ask Endpoint: Retrieve real-time bid and ask prices for Palladium, which is essential for traders looking to make informed decisions.
- Convert Endpoint: This feature allows you to convert any amount from one metal to another or to/from USD, making it easier to manage transactions.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice, providing insights into price trends over time.
- Fluctuation Endpoint: Track how Palladium prices fluctuate on a day-to-day basis, which is vital for understanding market volatility.
- Open/High/Low/Close (OHLC) Price Endpoint: Get detailed OHLC data for Palladium, which is crucial for technical analysis.
- Lowest/Highest Price Endpoint: Query the API to find the lowest and highest prices for Palladium over a specified period.
- Historical LME Endpoint: Access historical rates for LME symbols, dating back to 2008, which is useful for comprehensive market analysis.
- API Key: Your unique API key is required to access the API and should be included in your requests.
- API Response: The API returns exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available metal symbols, including Palladium.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping you informed about market trends.
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.
API Endpoint Examples and Responses
Latest Rates Endpoint
To get real-time exchange rates for Palladium, you can use the following endpoint:
GET https://metals-api.com/api/latest?access_key=YOUR_API_KEY&base=USD&symbols=XPD
Example response:
{
"success": true,
"timestamp": 1762830365,
"base": "USD",
"date": "2025-11-11",
"rates": {
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
To access historical exchange rates for Palladium, append a date to the endpoint:
GET https://metals-api.com/api/historical?access_key=YOUR_API_KEY&date=2025-11-10&symbols=XPD
Example response:
{
"success": true,
"timestamp": 1762743965,
"base": "USD",
"date": "2025-11-10",
"rates": {
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
To get exchange rates for a specific time period, use the time-series endpoint:
GET https://metals-api.com/api/timeseries?access_key=YOUR_API_KEY&start_date=2025-11-04&end_date=2025-11-11&base=USD&symbols=XPD
Example response:
{
"success": true,
"timeseries": true,
"start_date": "2025-11-04",
"end_date": "2025-11-11",
"base": "USD",
"rates": {
"2025-11-04": {
"XPD": 0.000748
},
"2025-11-11": {
"XPD": 0.000744
}
},
"unit": "per troy ounce"
}
Convert Endpoint
To convert an amount from one metal to another, use the convert endpoint:
GET https://metals-api.com/api/convert?access_key=YOUR_API_KEY&from=USD&to=XPD&amount=1000
Example response:
{
"success": true,
"query": {
"from": "USD",
"to": "XPD",
"amount": 1000
},
"info": {
"timestamp": 1762830365,
"rate": 0.000744
},
"result": 0.744,
"unit": "troy ounces"
}
Fluctuation Endpoint
To track rate fluctuations between two dates, use the fluctuation endpoint:
GET https://metals-api.com/api/fluctuation?access_key=YOUR_API_KEY&start_date=2025-11-04&end_date=2025-11-11&base=USD&symbols=XPD
Example response:
{
"success": true,
"fluctuation": true,
"start_date": "2025-11-04",
"end_date": "2025-11-11",
"base": "USD",
"rates": {
"XPD": {
"start_rate": 0.000748,
"end_rate": 0.000744,
"change": -0.000004,
"change_pct": -0.53
}
},
"unit": "per troy ounce"
}
OHLC (Open/High/Low/Close) Price Endpoint
To get OHLC data for Palladium, use the following endpoint:
GET https://metals-api.com/api/open-high-low-close?access_key=YOUR_API_KEY&date=2025-11-11&symbols=XPD
Example response:
{
"success": true,
"timestamp": 1762830365,
"base": "USD",
"date": "2025-11-11",
"rates": {
"XPD": {
"open": 0.000748,
"high": 0.000750,
"low": 0.000740,
"close": 0.000744
}
},
"unit": "per troy ounce"
}
Bid/Ask Endpoint
To get current bid and ask prices for Palladium, use the bid/ask endpoint:
GET https://metals-api.com/api/bid-ask?access_key=YOUR_API_KEY&symbols=XPD
Example response:
{
"success": true,
"timestamp": 1762830365,
"base": "USD",
"date": "2025-11-11",
"rates": {
"XPD": {
"bid": 0.000740,
"ask": 0.000744,
"spread": 0.000004
}
},
"unit": "per troy ounce"
}
Conclusion
Accessing Palladium historical rates using the Metals-API is a straightforward process that opens up a world of possibilities for developers. With endpoints designed to provide real-time data, historical insights, and conversion capabilities, the API is an invaluable tool for anyone involved in the precious metals market. By leveraging the various features of the Metals-API, developers can create applications that not only track prices but also analyze trends, make informed trading decisions, and contribute to the evolving landscape of precious metals.
For further exploration, consider diving into the Metals-API Documentation for detailed guidance on implementation, or check out the Metals-API Supported Symbols page to familiarize yourself with the available data. The potential applications of this API are vast, and with the right integration strategies, you can harness the power of real-time metals data to drive innovation in your projects.