Obtain Pune Gold 22k (PUNE-22k) Historical Prices via this API

Introduction
In the world of precious metals trading, obtaining accurate and timely data is crucial for making informed decisions. One of the most sought-after metals is gold, represented by the symbol XAU. If you're looking to obtain historical prices for Pune Gold 22k (PUNE-22k), the Metals-API offers a powerful solution. This blog post will delve into the capabilities of the Metals-API, focusing on how developers can leverage its features to access historical prices and other vital data related to gold and other metals.
Metals-API Information
About Gold (XAU)
Gold has long been a symbol of wealth and stability, and its digital transformation is reshaping how traders and investors interact with this precious metal. The integration of data analytics and technology in trading has opened up new avenues for market insights and price discovery. With the rise of digital asset solutions, gold trading is becoming more accessible and efficient.
The Metals-API stands at the forefront of this transformation, providing real-time data that empowers developers to build next-generation applications. By harnessing the power of data analytics, traders can gain insights into market trends, price fluctuations, and historical data, allowing for more informed trading strategies.
API Description
The Metals-API is a comprehensive JSON API that provides access to real-time and historical prices for various metals, including gold, silver, platinum, and palladium. Its innovative capabilities allow developers to create applications that can track market movements, analyze trends, and convert currencies seamlessly.
With the Metals-API, you can access a range of endpoints that cater to different needs, from retrieving the latest rates to analyzing historical data. This API is designed to be user-friendly, making it easy for developers to integrate into their applications and leverage the data for various use cases.
For detailed documentation on how to use the API, visit the Metals-API Documentation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that provide different functionalities, each designed to cater to specific needs in the precious metals market. Below, we explore some of the key features and their potential applications.
Latest Rates Endpoint
The Latest Rates endpoint is a fundamental feature that provides real-time exchange rate data for various metals. Depending on your subscription plan, this endpoint can return data updated every 60 minutes, every 10 minutes, or even more frequently. This capability is essential for traders who need to stay updated on market movements.
{
"success": true,
"timestamp": 1752976826,
"base": "USD",
"date": "2025-07-20",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
The Historical Rates endpoint allows users to access historical exchange rates for most currencies dating back to 2019. This feature is particularly useful for analyzing trends over time and making informed decisions based on past performance. You can query the Metals-API by appending a specific date to retrieve historical rates.
{
"success": true,
"timestamp": 1752890426,
"base": "USD",
"date": "2025-07-19",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
The Bid and Ask endpoint is a powerful feature that enables users to retrieve real-time bid and ask prices for metals. This information is crucial for traders looking to make quick decisions based on current market conditions. Depending on your subscription plan, this endpoint can provide valuable insights into the spread between buying and selling prices.
{
"success": true,
"timestamp": 1752976826,
"base": "USD",
"date": "2025-07-20",
"rates": {
"XAU": {
"bid": 0.000481,
"ask": 0.000483,
"spread": 2.0e-6
},
"XAG": {
"bid": 0.0381,
"ask": 0.0382,
"spread": 0.0001
}
},
"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 traders who need to quickly assess the value of their holdings in different currencies.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1752976826,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series endpoint allows users to query the API for daily historical rates between two dates of their choice. This feature is invaluable for traders looking to analyze price trends over specific periods, enabling them to make data-driven decisions.
{
"success": true,
"timeseries": true,
"start_date": "2025-07-13",
"end_date": "2025-07-20",
"base": "USD",
"rates": {
"2025-07-13": {
"XAU": 0.000485,
"XAG": 0.03825
},
"2025-07-15": {
"XAU": 0.000483,
"XAG": 0.0382
},
"2025-07-20": {
"XAU": 0.000482,
"XAG": 0.03815
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation endpoint provides information about how currencies fluctuate on a day-to-day basis. This feature is essential for traders who want to understand market volatility and make informed decisions based on price changes.
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-13",
"end_date": "2025-07-20",
"base": "USD",
"rates": {
"XAU": {
"start_rate": 0.000485,
"end_rate": 0.000482,
"change": -3.0e-6,
"change_pct": -0.62
}
},
"unit": "per troy ounce"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC Price endpoint allows users to retrieve the open, high, low, and close prices for a specific time period. This data is crucial for traders who rely on technical analysis to make trading decisions.
{
"success": true,
"timestamp": 1752976826,
"base": "USD",
"date": "2025-07-20",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"unit": "per troy ounce"
}
Historical LME Endpoint
The Historical LME endpoint provides access to historical rates for LME symbols dating back to 2008. This feature is particularly useful for traders interested in the London Metal Exchange prices.
{
"success": true,
"timestamp": 1752890426,
"base": "USD",
"date": "2025-07-19",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825
},
"unit": "per troy ounce"
}
API Key and Authentication
Your API Key is a unique identifier that must be passed into the API base URL's access_key parameter to authenticate your requests. This key ensures that only authorized users can access the data, maintaining the integrity and security of the API.
API Response
Exchange rates delivered by the Metals-API are by default relative to USD. All data is returned in a structured JSON format, making it easy for developers to parse and utilize the information in their applications.
Available Endpoints
The Metals-API comes with a comprehensive list of endpoints, each providing different functionalities. For a complete list of all supported symbols and their specifications, refer to the Metals-API Supported Symbols page.
Gold Price India Endpoint
This dedicated endpoint allows users to retrieve the latest gold price in India, providing valuable insights for traders operating in the Indian market.
News Endpoint
The News endpoint allows users to retrieve the latest news articles related to various metals, keeping traders informed about market developments and trends.
Conclusion
The Metals-API is a powerful tool for developers looking to access real-time and historical data for precious metals like gold. With its extensive range of endpoints, the API provides the necessary tools to analyze market trends, track price fluctuations, and make informed trading decisions. By integrating the Metals-API into your applications, you can leverage the power of data analytics to enhance your trading strategies and stay ahead in the competitive world of precious metals trading.
For more information on how to get started with the Metals-API, visit the Metals-API Documentation and explore the various features and capabilities that can help you succeed in your trading endeavors.