Obtain Delhi Gold 24k (DELH-24k) prices using this API
Introduction
In the ever-evolving landscape of financial markets, obtaining accurate and real-time data is crucial for traders and investors, especially in the precious metals sector. One of the most sought-after commodities is gold, represented by the symbol XAU. With the rise of digital transformation in trading, the ability to access reliable gold prices, such as Delhi Gold 24k (DELH-24k), has become increasingly important. This blog post will explore how the Metals-API can empower developers to access gold prices and other metal data efficiently, while also delving into the innovative features and capabilities of this API.
About Gold (XAU)
Gold has long been a symbol of wealth and stability, serving as a hedge against inflation and currency fluctuations. As digital transformation reshapes the financial landscape, the integration of technology in trading has become paramount. The demand for real-time data analytics and market insights is at an all-time high, and the Metals-API stands at the forefront of this revolution.
With the ability to provide real-time exchange rates, historical data, and advanced analytics, the Metals-API enables developers to create next-generation applications that can analyze market trends, optimize trading strategies, and enhance decision-making processes. By leveraging data analytics, traders can gain insights into market behavior, allowing them to make informed decisions based on real-time information.
Digital Transformation in Precious Metals
The integration of technology in the precious metals market has led to significant advancements in how traders access and utilize data. The Metals-API offers a suite of features that facilitate this transformation, including real-time price updates, historical data access, and advanced analytics capabilities. By utilizing these features, developers can create applications that not only track gold prices but also analyze market trends and fluctuations.
API Description
The Metals-API is a powerful tool designed to provide developers with access to real-time and historical data for various metals, including gold, silver, platinum, and palladium. This API empowers users to build applications that can track prices, analyze trends, and convert currencies seamlessly. With its user-friendly interface and comprehensive documentation, the Metals-API makes it easy for developers to integrate metal price data into their applications.
For more information on how to get started, visit the Metals-API Documentation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs, allowing developers to access a wealth of information about metal prices and market trends. Here are some of the key features:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rate data for various metals, updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes or every 10 minutes. This feature is essential for traders who require up-to-the-minute information to make informed decisions.
{
"success": true,
"timestamp": 1780013717,
"base": "USD",
"date": "2026-05-29",
"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
Access historical rates dating back to 2019 by appending a specific date to the API request. This feature allows traders to analyze past market behavior and make predictions based on historical trends.
{
"success": true,
"timestamp": 1779927317,
"base": "USD",
"date": "2026-05-28",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
This endpoint allows users to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics. Understanding bid and ask prices is crucial for traders looking to execute trades at optimal prices.
{
"success": true,
"timestamp": 1780013717,
"base": "USD",
"date": "2026-05-29",
"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"
}
Convert Endpoint
The Convert Endpoint allows users to convert any amount from one metal to another or to/from USD. This feature is particularly useful for traders who need to quickly assess the value of their holdings in different currencies.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1780013717,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series Endpoint allows users to query the API for daily historical rates between two specified dates. This feature is invaluable for analyzing trends over time and understanding market movements.
{
"success": true,
"timeseries": true,
"start_date": "2026-05-22",
"end_date": "2026-05-29",
"base": "USD",
"rates": {
"2026-05-22": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-05-24": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-05-29": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
This endpoint provides information about how metal prices fluctuate on a day-to-day basis, allowing traders to track changes and make informed decisions based on market volatility.
{
"success": true,
"fluctuation": true,
"start_date": "2026-05-22",
"end_date": "2026-05-29",
"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"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC Endpoint provides data on the open, high, low, and close prices for a specific time period, allowing traders to analyze price movements and make informed trading decisions.
{
"success": true,
"timestamp": 1780013717,
"base": "USD",
"date": "2026-05-29",
"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"
}
Historical LME Endpoint
This endpoint provides access to historical rates for LME symbols dating back to 2008, allowing traders to analyze long-term trends and market behavior.
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.
Conclusion
The Metals-API is a powerful tool for developers looking to access real-time and historical data for precious metals like gold. With its comprehensive suite of features, including the Latest Rates Endpoint, Historical Rates Endpoint, and advanced analytics capabilities, the API empowers users to make informed trading decisions based on accurate data. By leveraging the capabilities of the Metals-API, developers can create innovative applications that enhance trading strategies and provide valuable insights into market trends.
For more information on how to integrate the Metals-API into your applications, visit the Metals-API Documentation and explore the possibilities of real-time metals data.