Access real-time Hyderabad Gold 22k (HYDE-22k) prices through this API

Access Real-Time Hyderabad Gold 22k (HYDE-22k) Prices Through This API
Metals-API provides a robust solution for accessing real-time Hyderabad Gold 22k (HYDE-22k) prices, along with a wealth of other metal data. This blog post will delve into the capabilities of the Metals-API, focusing on how it empowers developers to create innovative applications that leverage real-time market insights.
About Gold (XAU)
XAU, has long been a cornerstone of wealth and investment. Its value is influenced by a myriad of factors, including economic stability, inflation rates, and geopolitical events. The digital transformation in precious metals trading has opened new avenues for data analytics and market insights, allowing traders to make informed decisions based on real-time data.
API Description
Metals-API is a powerful tool designed to provide real-time and historical data for various metals, including gold, silver, platinum, and palladium. This API enables developers to build next-generation applications that can access up-to-date market information, facilitating better decision-making processes.
Metals-API Documentation, provides detailed guidance on how to implement and utilize its features effectively.
Key Features and Endpoints
- Latest Rates Endpoint: This endpoint returns real-time exchange rate data for metals, updated every 60 minutes, every 10 minutes, or even more frequently, depending on the subscription plan. For example, a request to this endpoint might yield the following JSON response:
{
"success": true,
"timestamp": 1754150418,
"base": "USD",
"date": "2025-08-02",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
- Historical Rates Endpoint: Users can access historical rates dating back to 2019 by appending a specific date to the API request. This feature is invaluable for analyzing past market trends and making informed predictions. An example response might look like this:
{
"success": true,
"timestamp": 1754064018,
"base": "USD",
"date": "2025-08-01",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"unit": "per troy ounce"
}
- Bid And Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics. A typical response might include:
{
"success": true,
"timestamp": 1754150418,
"base": "USD",
"date": "2025-08-02",
"rates": {
"XAU": {
"bid": 0.000481,
"ask": 0.000483,
"spread": 2.0e-6
}
},
"unit": "per troy ounce"
}
- Convert Endpoint: This endpoint allows users to convert any amount from one metal to another or to/from USD. This is particularly useful for traders who operate in multiple currencies. An example response could be:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1754150418,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
- Time-Series Endpoint: This feature allows users to query the API for daily historical rates between two specified dates. This is essential for analyzing trends over time. An example response might look like this:
{
"success": true,
"timeseries": true,
"start_date": "2025-07-26",
"end_date": "2025-08-02",
"base": "USD",
"rates": {
"2025-07-26": {
"XAU": 0.000485
},
"2025-08-02": {
"XAU": 0.000482
}
},
"unit": "per troy ounce"
}
- Fluctuation Endpoint: This endpoint provides information about how currencies fluctuate on a day-to-day basis, allowing traders to assess volatility. A sample response could be:
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-26",
"end_date": "2025-08-02",
"base": "USD",
"rates": {
"XAU": {
"start_rate": 0.000485,
"end_rate": 0.000482,
"change": -3.0e-6,
"change_pct": -0.62
}
},
"unit": "per troy ounce"
}
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint allows users to query the API for the open, high, low, and close prices for a specific time period. This data is crucial for technical analysis. An example response might be:
{
"success": true,
"timestamp": 1754150418,
"base": "USD",
"date": "2025-08-02",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"unit": "per troy ounce"
}
- Lowest/Highest Price Endpoint: This feature allows users to query the API to get the lowest and highest price for a specified date, which is essential for understanding market extremes. An example response could be:
{
"success": true,
"lowest": {
"XAU": 0.000481
},
"highest": {
"XAU": 0.000487
},
"date": "2025-08-02"
}
List of Symbols
Metals-API Supported Symbols page. This resource is invaluable for developers looking to integrate various metals into their applications.
Conclusion
Metals-API Website and explore the comprehensive Metals-API Documentation for detailed guidance on utilizing this powerful API.