Get Hyderabad Gold 22k (HYDE-22k) Historical Prices for Investment Insights using this API

Get Hyderabad Gold 22k (HYDE-22k) Historical Prices for Investment Insights using this API
In the ever-evolving landscape of precious metals trading, having access to accurate and timely data is crucial for making informed investment decisions. One of the most sought-after metals is gold, particularly in its 22k form, which is widely used in jewelry and investment in regions like Hyderabad. To gain insights into the historical prices of Hyderabad Gold 22k (HYDE-22k), developers can leverage the powerful Metals-API. This API provides a comprehensive suite of tools for accessing real-time and historical data on various metals, including gold, silver, platinum, and palladium.
Metals-API Information
About Gold (XAU)
Gold has long been a symbol of wealth and stability, and its significance in the financial markets cannot be overstated. As digital transformation reshapes the landscape of precious metals trading, the integration of data analytics and technology is revolutionizing how investors approach gold. The Metals-API offers innovative solutions for price discovery and market insights, enabling developers to create applications that provide real-time data and analytics.
With the rise of digital asset solutions, the importance of accurate historical pricing data has become paramount. Investors can now analyze trends, make predictions, and optimize their trading strategies using the historical prices provided by the Metals-API. By tapping into this wealth of information, developers can build next-generation applications that empower users to make informed decisions in the gold market.
API Description
The Metals-API is designed to provide developers with a robust platform for accessing real-time and historical metals data. This API empowers users to build applications that can track price fluctuations, convert currencies, and analyze historical trends. With its focus on innovation and technological advancement, the Metals-API stands out as a transformative tool for anyone involved in the precious metals market.
For comprehensive documentation on how to use the API, visit the Metals-API Documentation. Here, developers can find detailed information on the various endpoints, including how to retrieve historical prices for gold and other metals.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs in the precious metals market. Here are some of the key features:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint returns real-time exchange rate data updated every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for traders who need the most current pricing information.
- Historical Rates Endpoint: Historical rates are available for most currencies dating back to 2019. By appending a specific date to the API request, developers can access historical rates for gold and other metals. This is particularly useful for analyzing trends over time.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for metals, providing insights into market dynamics and helping traders make informed decisions.
- Convert Endpoint: The API includes a currency conversion endpoint, enabling users to convert any amount from one currency to another. This is particularly useful for investors dealing with multiple currencies.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two dates of their choice. It is ideal for conducting in-depth analyses of price movements over specific periods.
- Fluctuation Endpoint: Users can track how currencies fluctuate on a day-to-day basis, providing insights into market volatility and helping traders strategize accordingly.
- Carat Endpoint: This endpoint provides information about gold rates by carat, allowing users to understand pricing variations based on purity.
- Lowest/Highest Price Endpoint: This feature allows users to query the API for the lowest and highest prices of gold over a specified period, which can be crucial for identifying market trends.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can retrieve 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 provided with 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 and ease of use for developers.
- Available Endpoints: The Metals-API comes with a constantly updated endpoint that returns all available currencies, making it easy for developers to stay informed about the latest offerings.
- Gold Price India Endpoint: This dedicated endpoint allows users to retrieve the latest gold price in India, which is particularly relevant for investors in the region.
- News Endpoint: Users can access the latest news articles related to various metals, keeping them informed about market developments.
List of Symbols
The Metals-API provides access to a comprehensive range of metal symbols. For a complete list of all supported symbols and their specifications, refer to the Metals-API Supported Symbols page. This resource is invaluable for developers looking to integrate specific metals into their applications.
API Endpoint Examples and Responses
Latest Rates Endpoint
To get real-time exchange rates for all available metals, developers can use the Latest Rates Endpoint. Here’s an example response:
{
"success": true,
"timestamp": 1747447331,
"base": "USD",
"date": "2025-05-17",
"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"
}
In this response, the "rates" object contains the current exchange rates for various metals, with "XAU" representing gold.
Historical Rates Endpoint
Accessing historical exchange rates for any date since 1999 is straightforward with the Historical Rates Endpoint. Here’s an example response:
{
"success": true,
"timestamp": 1747360931,
"base": "USD",
"date": "2025-05-16",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response provides historical rates for gold and other metals, allowing developers to analyze past performance.
Time-series Endpoint
The Time-Series Endpoint enables users to get exchange rates for a specific time period. Here’s an example response:
{
"success": true,
"timeseries": true,
"start_date": "2025-05-10",
"end_date": "2025-05-17",
"base": "USD",
"rates": {
"2025-05-10": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-05-12": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-05-17": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This endpoint is particularly useful for analyzing trends over time, as it provides daily rates between specified dates.
Convert Endpoint
The Convert Endpoint allows users to convert any amount from one metal to another or to/from USD. Here’s an example response:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1747447331,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response indicates that 1000 USD is equivalent to 0.482 troy ounces of gold, providing a clear conversion result.
Fluctuation Endpoint
To track rate fluctuations between two dates, developers can use the Fluctuation Endpoint. Here’s an example response:
{
"success": true,
"fluctuation": true,
"start_date": "2025-05-10",
"end_date": "2025-05-17",
"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"
}
This endpoint provides insights into how prices have changed over a specified period, which is essential for traders looking to capitalize on market movements.
OHLC (Open/High/Low/Close) Endpoint
The OHLC Endpoint allows users to get open, high, low, and close prices for a specific time period. Here’s an example response:
{
"success": true,
"timestamp": 1747447331,
"base": "USD",
"date": "2025-05-17",
"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 data is crucial for traders who rely on technical analysis to make informed decisions.
Bid/Ask Endpoint
To get current bid and ask prices for metals, developers can use the Bid/Ask Endpoint. Here’s an example response:
{
"success": true,
"timestamp": 1747447331,
"base": "USD",
"date": "2025-05-17",
"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"
}
This endpoint provides essential information for traders looking to execute buy or sell orders based on current market conditions.
Conclusion
The Metals-API is an invaluable resource for developers looking to access historical prices and real-time data for precious metals like gold. By leveraging the various endpoints offered by the API, developers can create powerful applications that provide insights into market trends, facilitate currency conversions, and enhance trading strategies. Whether you are interested in the latest rates, historical data, or price fluctuations, the Metals-API provides the tools necessary to succeed in the dynamic world of precious metals trading.
For more information on how to implement these features, refer to the Metals-API Documentation. To explore the full range of supported symbols, visit the Metals-API Supported Symbols page. Start building your next-generation applications today with the Metals-API Website.