Retrieve Delhi Gold 24k (DELH-24k) prices from this API

Retrieve Delhi Gold 24k (DELH-24k) Prices from this API
In the ever-evolving landscape of precious metals trading, the demand for real-time data and analytics has never been higher. For developers and traders looking to access accurate and timely information about gold prices, the Metals-API stands out as a powerful tool. This blog post will delve into the intricacies of retrieving Delhi Gold 24k (DELH-24k) prices using the Metals-API, exploring its features, capabilities, and the transformative potential it offers to developers and traders alike.
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a cornerstone of wealth and investment. As a precious metal, its value is influenced by various factors including market demand, geopolitical stability, and economic indicators. 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.
With the integration of technology in trading, innovations in price discovery have emerged, enabling traders to access gold prices instantly. The Metals-API plays a crucial role in this transformation, providing developers with the tools necessary to build next-generation applications that leverage real-time metals data. By utilizing this API, developers can create digital asset solutions that cater to the needs of modern investors.
API Description
The Metals-API is a comprehensive solution for accessing real-time and historical data on precious metals. It empowers developers to integrate metals pricing into their applications seamlessly. The API offers a wide range of endpoints, each designed to provide specific functionalities that cater to various use cases.
One of the standout features of the Metals-API is its ability to deliver real-time exchange rate data. Depending on your subscription plan, the API can return the latest rates updated every 60 minutes, every 10 minutes, or even more frequently. This capability is essential for traders who need to stay ahead of market fluctuations.
Moreover, the API provides access to historical rates dating back to 2019, allowing users to analyze trends and make data-driven decisions. The Metals-API Documentation offers detailed insights into how to utilize these features effectively.
Key Features and Endpoints
The Metals-API boasts a variety of endpoints that enhance its functionality. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rates for all available metals, including gold, silver, platinum, and palladium. The response includes the base currency, date, and rates per troy ounce.
- Historical Rates Endpoint: Users can access historical rates for any date since 1999, enabling them to analyze price trends over time.
- Bid And Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for metals, providing insights into market liquidity.
- Convert Endpoint: The API includes a currency conversion endpoint, allowing users to convert amounts from one metal to another or to/from USD.
- Time-Series Endpoint: This endpoint enables users to query the API for daily historical rates between two selected dates, facilitating trend analysis.
- Fluctuation Endpoint: Users can track rate fluctuations between two dates, providing valuable insights into market volatility.
- Carat Endpoint: This feature allows users to retrieve information about gold rates by carat, catering to specific market needs.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specified date.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific time period, essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, allowing for comprehensive market analysis.
- API Key: Each user is assigned a unique API key that must be included in requests to authenticate access.
- API Response: The API delivers exchange rates relative to USD, ensuring consistency in data interpretation.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies, ensuring users have access to the latest information.
- Gold Price India Endpoint: Specifically designed to retrieve the latest gold prices in India, this endpoint is invaluable for local traders.
- 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 capabilities of the Metals-API, let's explore some example responses from various endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1759629651,
"base": "USD",
"date": "2025-10-05",
"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"
}
The response includes the success status, timestamp, base currency, date, and rates for various metals, allowing developers to easily integrate this data into their applications.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1759543251,
"base": "USD",
"date": "2025-10-04",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This endpoint allows users to access historical rates, providing valuable data for trend analysis and market research.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-09-28",
"end_date": "2025-10-05",
"base": "USD",
"rates": {
"2025-09-28": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-09-30": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-10-05": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This endpoint is particularly useful for developers looking to visualize price trends over specific periods.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1759629651,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
The Convert Endpoint allows users to convert amounts between different metals or currencies, enhancing the API's versatility.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-09-28",
"end_date": "2025-10-05",
"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 fluctuate over time, which is crucial for traders looking to capitalize on market movements.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1759629651,
"base": "USD",
"date": "2025-10-05",
"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 is essential for technical analysis, providing traders with the necessary data to make informed decisions.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1759629651,
"base": "USD",
"date": "2025-10-05",
"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 critical information about market pricing, allowing traders to gauge market conditions effectively.
Conclusion
The Metals-API is a game-changer for developers and traders in the precious metals market. By providing real-time and historical data, it empowers users to make informed decisions based on accurate information. The various endpoints, including the Latest Rates, Historical Rates, and Conversion endpoints, offer a comprehensive suite of tools for analyzing and trading metals.
As the market continues to evolve, the integration of technology and data analytics will play a pivotal role in shaping the future of precious metals trading. By leveraging the capabilities of the Metals-API, developers can create innovative applications that enhance trading strategies and improve market insights.
For more information on how to get started with the Metals-API, refer to the Metals-API Documentation and explore the Metals-API Supported Symbols for a complete list of available metals. With the right tools and data at your fingertips, the possibilities for success in the precious metals market are limitless.