Query Guwahati Gold 22k (GUWA-22k) Historical Prices through this API

Query Guwahati Gold 22k (GUWA-22k) Historical Prices through this API
Guwahati Gold 22k (GUWA-22k) symbol represents a specific grade of gold that is widely traded in India. Understanding how to query historical prices for this metal using the Metals-API can empower developers to create innovative applications that leverage real-time data analytics and market insights. This blog post will delve into the capabilities of the Metals-API, focusing on how to obtain historical prices for GUWA-22k gold and explore the transformative potential of this technology in the realm of precious metals.
About Gold (XAU)
XAU, has been a cornerstone of wealth and value for centuries. In recent years, the digital transformation in precious metals trading has opened new avenues for investors and developers. The integration of data analytics and technology into trading platforms has revolutionized how market participants access and interpret gold prices. With the rise of digital asset solutions, the demand for accurate and timely data has never been higher.
API Description
Metals-API is a powerful tool designed for developers looking to access comprehensive data on precious metals. It offers a range of endpoints that allow users to retrieve real-time and historical prices, bid and ask prices, and even perform currency conversions. The API's capabilities extend beyond mere data retrieval; it enables developers to create applications that can analyze fluctuations, track trends, and provide insights into the precious metals market.
Metals-API Supported Symbols page.
Key Features and Endpoints
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint provides real-time exchange rate data updated every 60 minutes, every 10 minutes, or even more frequently. This allows developers to access the most current market prices for GUWA-22k gold.
- Historical Rates Endpoint: This feature allows users to access historical rates for most currencies dating back to 2019. By appending a specific date to the API request, developers can retrieve historical prices for GUWA-22k gold, enabling them to analyze trends over time.
- Bid and Ask Endpoint: This powerful feature enables users to retrieve real-time bid and ask prices for GUWA-22k gold, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint that allows users to convert any amount from one currency to another. This is particularly useful for traders looking to assess the value of GUWA-22k gold in different currencies.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two dates of their choice. This is invaluable for conducting in-depth analyses of price movements over specific periods.
- Fluctuation Endpoint: Users can track how GUWA-22k gold prices fluctuate on a day-to-day basis, providing insights into market volatility and price stability.
- Carat Endpoint: This feature allows users to retrieve information about gold rates by carat, which is essential for understanding the value of different gold grades.
- Lowest/Highest Price Endpoint: This endpoint enables users to query the API for the lowest and highest prices of GUWA-22k gold over a specified period, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access the open, high, low, and close prices for GUWA-22k gold, providing a comprehensive view of market performance.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols, dating back to 2008, which can be useful for comparative analysis.
- API Key: The API requires an API key for authentication, which is passed into the API base URL's access_key parameter.
- API Response: The Metals-API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them informed about market developments.
API Endpoint Examples and Responses
Latest Rates Endpoint
{
"success": true,
"timestamp": 1752883312,
"base": "USD",
"date": "2025-07-19",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
{
"success": true,
"timestamp": 1752796912,
"base": "USD",
"date": "2025-07-18",
"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-07-12",
"end_date": "2025-07-19",
"base": "USD",
"rates": {
"2025-07-12": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-07-14": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-07-19": {
"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": 1752883312,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-12",
"end_date": "2025-07-19",
"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) Price Endpoint
{
"success": true,
"timestamp": 1752883312,
"base": "USD",
"date": "2025-07-19",
"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": 1752883312,
"base": "USD",
"date": "2025-07-19",
"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 Documentation to explore detailed guides and examples. Additionally, check out the Metals-API Supported Symbols page for a complete list of available metal symbols. Embrace the future of precious metals trading with the innovative capabilities of the Metals-API.