Get historical data for Gurgaon Gold 24k (GURG-24k) prices using this API

Get Historical Data for Gurgaon Gold 24k (GURG-24k) Prices Using This API
In today's fast-paced financial landscape, having access to accurate and timely data is crucial for making informed decisions, especially in the precious metals market. For developers and traders interested in tracking the price of Gold, particularly the 24k variant in Gurgaon (GURG-24k), the Metals-API offers a powerful solution. This API provides comprehensive access to historical and real-time data, enabling users to build innovative applications that can analyze market trends and make data-driven decisions.
Metals-API Information
About Gold (XAU)
Gold, represented by the symbol XAU, has long been considered a safe haven asset and a hedge against inflation. As digital transformation continues to reshape the financial landscape, the integration of technology in trading precious metals has become increasingly important. The Metals-API stands at the forefront of this transformation, providing developers with the tools necessary to harness data analytics and market insights effectively.
With the rise of digital asset solutions, the demand for accurate price discovery mechanisms has never been higher. The Metals-API empowers developers to create applications that not only track current prices but also analyze historical data to identify trends and fluctuations. By leveraging advanced data analytics, traders can gain insights into market behavior, enabling them to make strategic decisions based on real-time information.
API Description
The Metals-API is designed to provide developers with a robust and flexible platform for accessing metals data. It offers a wide range of endpoints that cater to various needs, from retrieving the latest rates to accessing historical data dating back to 2019. The API's capabilities are not just limited to price retrieval; it also allows for comprehensive analysis and integration into existing systems.
One of the standout features of the Metals-API is its ability to deliver real-time data. Depending on the subscription plan, users can receive updates every 60 minutes, every 10 minutes, or even more frequently. This level of granularity is essential for traders who need to react quickly to market changes.
Key Features and Endpoints
The Metals-API provides a variety of endpoints, each designed to serve specific purposes. Here are some of the key features:
- Latest Rates Endpoint: This endpoint returns real-time exchange rate data for various metals, including Gold (XAU). Users can specify their subscription plan to receive updates at different intervals.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. This feature is particularly useful for analyzing price trends over time.
- Bid And Ask Endpoint: Retrieve real-time bid and ask prices for metals, allowing traders to understand market dynamics better.
- Convert Endpoint: This endpoint enables users to convert amounts from one currency to another, facilitating seamless transactions.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice, providing insights into price movements over specific periods.
- Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis, helping traders identify patterns and make informed decisions.
- Carat Endpoint: Retrieve information about Gold rates by Carat, which is essential for jewelers and traders dealing in different purities.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date range, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Get OHLC data for a specific time period, which is crucial for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a comprehensive view of market trends.
- API Key: Each user is assigned a unique API key that must be included in requests to authenticate and authorize access to the API.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API offers a constantly updated list of available endpoints, ensuring users have access to the latest features.
- Gold Price India Endpoint: Retrieve the latest gold price in India using the dedicated endpoint, which is particularly useful for local traders.
- News Endpoint: Stay updated with the latest news articles related to various metals, providing context to market movements.
API Endpoint Examples and Responses
Understanding how to interact with the Metals-API is crucial for developers. Below are examples of how to use various endpoints effectively:
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1745719240,
"base": "USD",
"date": "2025-04-27",
"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": 1745632840,
"base": "USD",
"date": "2025-04-26",
"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-04-20",
"end_date": "2025-04-27",
"base": "USD",
"rates": {
"2025-04-20": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-04-22": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-04-27": {
"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": 1745719240,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2025-04-20",
"end_date": "2025-04-27",
"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": 1745719240,
"base": "USD",
"date": "2025-04-27",
"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": 1745719240,
"base": "USD",
"date": "2025-04-27",
"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
The Metals-API is a powerful tool for developers and traders looking to access comprehensive data on precious metals, including Gold (XAU). With its extensive range of endpoints, the API allows users to retrieve real-time rates, historical data, and perform various analyses that can inform trading strategies. By integrating this API into applications, developers can create innovative solutions that enhance the trading experience and provide valuable insights into market trends.
For those interested in exploring the capabilities of the Metals-API further, be sure to check out the Metals-API Documentation for detailed information on each endpoint and its functionalities. Additionally, the Metals-API Supported Symbols page provides a comprehensive list of available metal symbols, ensuring you have all the information needed to make the most of this powerful API.
In a world where data drives decisions, the Metals-API stands out as a transformative resource for anyone involved in the precious metals market. Whether you're a developer building the next generation of trading applications or a trader seeking to leverage data analytics for better decision-making, the Metals-API is an invaluable asset.