Obtain Gurgaon Gold 24k (GURG-24k) Historical Prices via this API

Introduction
In the world of precious metals trading, obtaining accurate historical prices is crucial for investors, traders, and analysts alike. One of the most sought-after metals is Gold, represented by the symbol XAU. With the rise of digital transformation in the financial sector, accessing historical prices for Gold has become easier than ever through innovative solutions like the Metals-API. This blog post will delve into how to obtain historical prices for Gurgaon Gold 24k (GURG-24k) using the Metals-API, exploring its capabilities, features, and the transformative potential of real-time metals data.
Metals-API Information
About Gold (XAU)
Gold has long been a symbol of wealth and stability, serving as a hedge against inflation and economic uncertainty. In recent years, the digital transformation of precious metals has revolutionized how investors access and analyze market data. The integration of data analytics and technology in trading has enabled market participants to gain deeper insights into price movements and trends.
With the advent of digital asset solutions, investors can now leverage advanced tools to discover prices and make informed decisions. The Metals-API stands at the forefront of this transformation, providing developers with the resources needed to build next-generation applications that can track and analyze Gold prices in real-time.
API Description
The Metals-API is a powerful tool that empowers developers to access real-time and historical data for various metals, including Gold. By utilizing this API, developers can create applications that provide users with up-to-date information on metal prices, enabling them to make informed trading decisions. The API's capabilities extend beyond mere price retrieval; it offers a suite of features designed to enhance the user experience and provide comprehensive market insights.
For detailed documentation on how to implement the API, visit the Metals-API Documentation.
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: Depending on your subscription plan, this endpoint provides real-time exchange rate data for Gold and other metals, updated every 60 minutes or more frequently. This feature is essential for traders who need the latest market information to make quick decisions.
- Historical Rates Endpoint: Access historical rates for Gold dating back to 2019. By appending a specific date to the API call, users can retrieve past prices, allowing for in-depth analysis of market trends over time.
- Bid And Ask Endpoint: This powerful feature enables users to retrieve real-time bid and ask prices for Gold, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The API includes a currency conversion endpoint, allowing users to convert amounts from one metal to another or to/from USD. This is particularly useful for investors dealing in multiple currencies.
- Time-Series Endpoint: Users can query the API for daily historical rates between two dates of their choice, facilitating detailed analysis of price movements over specific periods.
- Fluctuation Endpoint: This endpoint provides information about how Gold prices fluctuate on a day-to-day basis, helping traders understand volatility and market behavior.
- Carat Endpoint: Retrieve information about Gold rates by carat, which is essential for jewelers and consumers looking to understand the value of Gold jewelry.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for Gold over a specified period, aiding in price analysis and decision-making.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for Gold, allowing traders to analyze market performance comprehensively.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a broader context for market analysis.
- API Key: Each user is assigned a unique API key, which must be included in API requests to authenticate and authorize access.
- API Response: The API delivers exchange rates relative to USD by default, with all data returned in a structured JSON format.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies and metals supported by the API.
- Gold Price India Endpoint: Retrieve the latest Gold price in India, which is particularly useful for local investors and traders.
- News Endpoint: Stay updated with the latest news articles related to various metals, providing context to market movements.
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
Understanding the API responses is crucial for effective implementation. Below are examples of various endpoints and their JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1750924872,
"base": "USD",
"date": "2025-06-26",
"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"
}
Historical Rates Endpoint
Access historical exchange rates for any date since 1999:
{
"success": true,
"timestamp": 1750838472,
"base": "USD",
"date": "2025-06-25",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
Get exchange rates for a specific time period:
{
"success": true,
"timeseries": true,
"start_date": "2025-06-19",
"end_date": "2025-06-26",
"base": "USD",
"rates": {
"2025-06-19": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-06-21": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-06-26": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
Convert any amount from one metal to another or to/from USD:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1750924872,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2025-06-19",
"end_date": "2025-06-26",
"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
Get OHLC data for a specific time period:
{
"success": true,
"timestamp": 1750924872,
"base": "USD",
"date": "2025-06-26",
"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
Get current bid and ask prices for metals:
{
"success": true,
"timestamp": 1750924872,
"base": "USD",
"date": "2025-06-26",
"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
In conclusion, the Metals-API provides a robust and innovative solution for accessing historical prices of Gold and other precious metals. By leveraging its various endpoints, developers can create applications that offer real-time data, historical insights, and comprehensive market analysis. The API's capabilities, including the ability to track fluctuations, convert currencies, and retrieve bid/ask prices, empower users to make informed trading decisions.
For developers looking to integrate this powerful API into their applications, the Metals-API Documentation is an invaluable resource. Additionally, the Metals-API Supported Symbols page provides a complete list of available symbols, ensuring that users can access the data they need. As the digital landscape continues to evolve, the Metals-API stands out as a key player in the transformation of precious metals trading.