Access Praseodymium (PRA) Historical Prices through this API

Access Praseodymium (PRA) Historical Prices through this API
Metals-API offers a robust solution. This API not only provides real-time data but also allows users to delve into historical pricing, enabling informed decision-making and strategic planning. In this blog post, we will explore the capabilities of the Metals-API, focusing on how to retrieve historical prices for Praseodymium and other metals, while also discussing the broader implications of digital transformation in the metal markets.
About Praseodymium (PRA)
API Description
Metals-API Documentation provides comprehensive guidance on how to utilize the API effectively. The documentation covers everything from authentication to endpoint functionalities, ensuring that developers have all the information they need to get started.
Key Features and Endpoints
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated based on your subscription plan. Depending on your plan, you can receive updates 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: Users can access historical rates for most metals dating back to 2019. By appending a specific date to the API request, 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 metals. Understanding the bid-ask spread is crucial for traders and investors looking to make informed decisions.
- Convert Endpoint: The conversion endpoint enables users to convert amounts between different metals or to/from USD. This feature is particularly useful for applications that require multi-currency support.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two specified dates. It is ideal for analyzing price movements over time and understanding market trends.
- Fluctuation Endpoint: Users can track how metal prices fluctuate on a day-to-day basis. This endpoint provides insights into market volatility, helping businesses make strategic decisions.
- Carat Endpoint: For those interested in gold pricing, the carat endpoint allows users to retrieve gold rates by carat. This feature is essential for jewelers and gold traders.
- Lowest/Highest Price Endpoint: This endpoint allows users to query the API for the lowest and highest prices of metals over a specified period, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access OHLC data for specific time periods, which is critical for technical analysis and trading strategies.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, allowing for in-depth analysis of market trends.
- API Key: Each user is assigned a unique API key that must be included in API requests to authenticate access.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API features a constantly updated list of available endpoints, ensuring users have access to the latest functionalities.
- Supported Symbols Endpoint: This endpoint provides a comprehensive list of all supported metal symbols, allowing users to easily identify the metals they are interested in.
- Gold Price India Endpoint: This dedicated endpoint retrieves the latest gold prices in India, catering to regional market needs.
- News Endpoint: Users can access the latest news articles related to various metals, keeping them informed about market developments.
API Endpoint Examples and Responses
Latest Rates Endpoint
{
"success": true,
"timestamp": 1751374865,
"base": "USD",
"date": "2025-07-01",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
{
"success": true,
"timestamp": 1751288465,
"base": "USD",
"date": "2025-06-30",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-06-24",
"end_date": "2025-07-01",
"base": "USD",
"rates": {
"2025-06-24": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-06-26": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-07-01": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1751374865,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-06-24",
"end_date": "2025-07-01",
"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
{
"success": true,
"timestamp": 1751374865,
"base": "USD",
"date": "2025-07-01",
"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
{
"success": true,
"timestamp": 1751374865,
"base": "USD",
"date": "2025-07-01",
"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
Metals-API Documentation for detailed guidance on implementation. Additionally, the Metals-API Supported Symbols page provides a comprehensive list of available metals, ensuring that you can access the data you need. As the metal markets continue to evolve, leveraging innovative technologies like the Metals-API will be essential for staying ahead of the competition.