Access Gurgaon Gold 24k (GURG-24k) pricing information via this API

Access Gurgaon Gold 24k (GURG-24k) Pricing Information via this API
GURUG-24k symbol represents the 24-karat gold pricing in Gurgaon, India, and accessing this information through a robust API can empower developers and traders alike. This blog post delves into the intricacies of the Metals-API, its capabilities, and how it can be leveraged to obtain accurate and timely gold pricing data.
Metals-API Information
About Gold (XAU)
XAU, has long been a cornerstone of wealth and a safe haven during economic uncertainty. The digital transformation in the precious metals market has revolutionized how traders and investors access and analyze gold data. With the advent of data analytics and market insights, stakeholders can now make informed decisions based on real-time information.
API Description
Metals-API is a powerful tool designed to provide real-time and historical data on various metals, including gold. This API empowers developers to build next-generation applications that require accurate and timely metals data. With its innovative features, the Metals-API stands out as a transformative solution for accessing precious metals pricing information.
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 the plan, updates can occur every 60 minutes or every 10 minutes, ensuring that users have access to the most current pricing information.
- Historical Rates Endpoint: Users can access historical rates dating back to 2019. By appending a specific date to the API request, developers can retrieve past pricing data, which is essential for trend analysis and forecasting.
- Bid and Ask Endpoint: This feature allows users to obtain real-time bid and ask prices for metals. Understanding the bid-ask spread is crucial for traders looking to optimize their buying and selling strategies.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, enabling users to convert amounts from one metal to another or to/from USD. This is particularly useful for traders dealing in multiple currencies.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two specified dates. It is invaluable for analyzing price movements over time and making informed trading decisions.
- Fluctuation Endpoint: Users can track how metal prices fluctuate on a day-to-day basis. This endpoint provides insights into market volatility, helping traders to strategize effectively.
- Carat Endpoint: This feature allows users to retrieve gold rates based on carat specifications. It is particularly useful for jewelers and consumers interested in the purity of gold.
- Lowest/Highest Price Endpoint: This endpoint enables users to query the API for the lowest and highest prices of metals over a specified period, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can obtain the open, high, low, and close prices for a specific time period, which is essential for technical analysis.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, allowing for comprehensive market analysis.
- API Key: Each user is assigned a unique API key that must be included in requests to authenticate access to the API.
- API Response: The Metals-API delivers exchange rates relative to USD by default, with all data returned in a structured JSON format.
- Available Endpoints: The API features a variety of endpoints, each designed to fulfill specific data needs, ensuring comprehensive coverage of the metals market.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available metal symbols, ensuring users have access to the latest information.
- Gold Price India Endpoint: This dedicated endpoint allows users to retrieve the latest gold price specifically for India, making it a valuable resource for local traders.
- News Endpoint: Users can access the latest news articles related to various metals, keeping them informed about market trends and developments.
List of Symbols
Metals-API Supported Symbols page.
API Endpoint Examples and Responses
Latest Rates Endpoint
{
"success": true,
"timestamp": 1746147678,
"base": "USD",
"date": "2025-05-02",
"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
{
"success": true,
"timestamp": 1746061278,
"base": "USD",
"date": "2025-05-01",
"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-04-25",
"end_date": "2025-05-02",
"base": "USD",
"rates": {
"2025-04-25": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-04-27": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-05-02": {
"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": 1746147678,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-04-25",
"end_date": "2025-05-02",
"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": 1746147678,
"base": "USD",
"date": "2025-05-02",
"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": 1746147678,
"base": "USD",
"date": "2025-05-02",
"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 is a powerful resource for developers seeking to access real-time and historical data on precious metals, particularly gold. With its comprehensive set of features, including the latest rates, historical data, and various conversion options, this API empowers users to make informed decisions in the dynamic metals market.
Metals-API Documentation for detailed guidance on implementation and usage. Explore the Metals-API Supported Symbols page to familiarize yourself with the available metal symbols and their specifications. Embrace the future of precious metals trading with the Metals-API and unlock the potential of real-time data at your fingertips.