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

Query Guwahati Gold 22k (GUWA-22k) Historical Prices through this API
In the ever-evolving landscape of precious metals trading, the ability to access historical prices is paramount for investors, traders, and developers alike. The 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)
Gold, represented by the symbol 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.
The Metals-API serves as a bridge between traditional precious metal trading and modern technological advancements. By providing real-time and historical data, it empowers developers to build next-generation applications that can analyze market trends, optimize trading strategies, and enhance decision-making processes.
API Description
The 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.
One of the standout features of the Metals-API is its ability to deliver data in a structured format, making it easy for developers to integrate into their applications. The API supports a variety of symbols, including gold (XAU), silver (XAG), platinum (XPT), and palladium (XPD), among others. For a complete list of supported symbols, refer to the Metals-API Supported Symbols page.
Key Features and Endpoints
The Metals-API offers several key features that are essential for querying historical prices and understanding market dynamics:
- 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
To illustrate the functionality of the Metals-API, here are some examples of API responses for various endpoints:
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"
}
This response provides the latest exchange rates for various metals, including GUWA-22k gold (XAU). The "rates" object contains the current price per troy ounce, allowing developers to display real-time data in their applications.
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"
}
This example demonstrates how to access historical rates for GUWA-22k gold. By specifying a date, developers can retrieve past prices and analyze trends over time.
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"
}
The time-series endpoint allows developers to retrieve exchange rates for a specific period, enabling detailed analysis of price movements for GUWA-22k gold.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1752883312,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response illustrates how the convert endpoint works, allowing users to convert amounts between different metals and currencies. In this case, it converts 1000 USD to troy ounces of GUWA-22k gold.
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"
}
The fluctuation endpoint provides insights into how GUWA-22k gold prices change over time, allowing developers to track market volatility and make informed trading decisions.
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"
}
This endpoint provides a comprehensive view of the market performance of GUWA-22k gold, including the opening, highest, lowest, and closing prices for a specific date.
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"
}
The bid/ask endpoint provides critical information about the current market conditions for GUWA-22k gold, including the bid and ask prices, which are essential for traders looking to execute orders effectively.
Conclusion
In conclusion, the ability to query historical prices for Guwahati Gold 22k (GUWA-22k) through the Metals-API opens up a world of possibilities for developers and traders alike. By leveraging the various endpoints offered by the API, users can access real-time and historical data, analyze market trends, and make informed trading decisions. The integration of technology into precious metals trading not only enhances the trading experience but also empowers users with the tools needed to navigate the complexities of the market.
For more information on how to get started with the Metals-API, visit the 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.