Access Guwahati Gold 22k (GUWA-22k) Historical Prices using this API

Access Guwahati Gold 22k (GUWA-22k) Historical Prices using this API
Guwahati Gold 22k (GUWA-22k) is a significant marker in the gold market, and understanding its historical prices can provide invaluable insights into market trends. One of the most effective ways to access this data is through the Metals-API, a powerful tool that offers comprehensive data on various metals, including gold. This blog post will delve into the capabilities of the Metals-API, focusing on how to retrieve historical prices for gold and explore the broader implications of digital transformation in precious metals trading.
About Gold (XAU)
XAU, has long been considered a safe haven asset and a hedge against inflation. The digital transformation in the precious metals market has revolutionized how investors access and analyze gold prices. With the integration of data analytics and market insights, traders can now make informed decisions based on real-time data. The Metals-API stands at the forefront of this transformation, offering developers the tools needed to build next-generation applications that leverage gold price data.
API Description
Metals-API is designed to provide developers with a robust framework for accessing metals data. With its real-time capabilities, the API allows users to retrieve the latest prices, historical data, and even perform currency conversions. This API is not just a data source; it is a transformative tool that enables developers to create applications that can analyze and visualize metal prices in innovative ways.
Key Features and Endpoints
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for all available metals. Users can obtain the latest prices for gold, silver, platinum, and more, ensuring they are always informed about market conditions.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. By appending a specific date to the API request, users can retrieve historical prices for gold and other metals, allowing for in-depth market analysis.
- Bid And Ask Endpoint: This feature enables users to retrieve real-time bid and ask prices for metals, which is crucial for traders looking to execute transactions at optimal prices.
- Convert Endpoint: The API includes a currency conversion feature, allowing users to convert amounts between different metals or to/from USD. This is particularly useful for traders dealing in multiple currencies.
- Time-Series Endpoint: Users can query the API for daily historical rates between two specified dates, providing a comprehensive view of price movements over time.
- Fluctuation Endpoint: This endpoint allows users to track how metal prices fluctuate on a day-to-day basis, offering insights into market volatility.
- 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 find the lowest and highest prices for a specified date, which is valuable for identifying market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, allowing traders to analyze market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is beneficial for those involved in industrial metals.
- API Key: Users must include their unique API key in requests to authenticate and access the data.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API provides a constantly updated list of all available currencies and metals, ensuring users can always find the data they need.
- Gold Price India Endpoint: Retrieve the latest gold price in India, which is particularly useful for investors in the Indian market.
- News Endpoint: Stay updated with the latest news articles related to various metals, providing context to market movements.
API Endpoint Examples and Responses
Latest Rates Endpoint
{
"success": true,
"timestamp": 1747033218,
"base": "USD",
"date": "2025-05-12",
"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": 1746946818,
"base": "USD",
"date": "2025-05-11",
"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-05-05",
"end_date": "2025-05-12",
"base": "USD",
"rates": {
"2025-05-05": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-05-07": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-05-12": {
"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": 1747033218,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-05-05",
"end_date": "2025-05-12",
"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": 1747033218,
"base": "USD",
"date": "2025-05-12",
"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": 1747033218,
"base": "USD",
"date": "2025-05-12",
"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. With its extensive range of endpoints, developers can access real-time and historical data, enabling them to build applications that enhance trading strategies and market analysis. The integration of technology in precious metals trading not only streamlines processes but also empowers traders with the insights needed to make informed decisions.
Metals-API Documentation and explore the Metals-API Supported Symbols for a comprehensive understanding of the available data.