Access Daily Prices for Delhi Gold 22k (DELH-22k) Historical Data with this API
Access Daily Prices for Delhi Gold 22k (DELH-22k) Historical Data with this API
In the ever-evolving landscape of financial technology, the demand for real-time data and analytics has never been more critical, especially in the precious metals market. Gold (XAU) remains a cornerstone of investment portfolios, and understanding its historical prices is essential for traders and investors alike. With the Metals-API, developers can access comprehensive historical data for gold prices, including the specific rates for Delhi Gold 22k (DELH-22k). This blog post delves into the innovative capabilities of the Metals-API, exploring how it empowers developers to harness real-time metals data for advanced trading applications.
About Gold (XAU)
Gold has long been regarded as a safe haven asset, particularly in times of economic uncertainty. Its intrinsic value and universal acceptance make it a preferred choice for investors. The digital transformation in precious metals trading has opened new avenues for data analytics and market insights. By integrating technology into trading practices, investors can leverage real-time data to make informed decisions. The Metals-API stands at the forefront of this transformation, offering developers the tools needed to innovate in price discovery and digital asset solutions.
API Description
The Metals-API is a powerful tool designed for developers seeking to access real-time and historical data for various metals, including gold. This API provides a suite of endpoints that allow users to retrieve exchange rates, historical prices, and other essential data points. With a focus on technological advancement, the Metals-API enables developers to build next-generation applications that can analyze market trends, track price fluctuations, and convert currencies seamlessly.
For detailed information on how to utilize the API, refer to the Metals-API Documentation. This resource provides comprehensive guidance on the API's capabilities, including authentication, endpoint usage, and response handling.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs within the metals trading ecosystem. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes or every 10 minutes, ensuring that you have the most current information at your fingertips.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. By appending a specific date (YYYY-MM-DD) to the endpoint, developers can retrieve past rates, which is crucial for analyzing market trends and making informed investment decisions.
- Bid And Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices, providing insights into the current market conditions. This is particularly useful for traders looking to execute buy or sell orders at optimal prices.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint that enables users to convert amounts from one currency to another. This is essential for traders operating in multiple currencies or those looking to assess the value of their investments in different terms.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two specified dates. It is invaluable for conducting thorough analyses of price movements over time.
- Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis. This endpoint provides insights into market volatility, helping traders make strategic decisions based on historical data.
- Carat Endpoint: Retrieve information about gold rates by carat. This feature is particularly relevant for jewelers and consumers interested in the specific value of gold based on its purity.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date, allowing traders to identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, essential for technical analysis and trading strategies.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008. This endpoint is particularly useful for those interested in the London Metal Exchange prices.
- API Key: Your unique API key is required to access the API. It must be included in the base URL's access_key parameter to authenticate requests.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data presentation.
- Available Endpoints: The Metals-API features 14 endpoints, each designed to provide specific functionalities tailored to the needs of developers and traders.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, allowing users to stay informed about the symbols they can query.
- Intraday Endpoint: Query intraday exchange rate data for a single symbol, providing insights into short-term market movements.
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 essential for developers looking to understand the various metals available for trading and analysis.
API Endpoint Examples and Responses
Understanding the structure of API responses is crucial for effective integration. Below are examples of various endpoint responses, showcasing the data format and key fields.
Latest Rates Endpoint
{
"success": true,
"timestamp": 1785543401,
"base": "USD",
"date": "2026-08-01",
"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 a success flag, a timestamp, the base currency (USD), the date of the rates, and the rates for various metals. Each metal's rate is provided per troy ounce, which is the standard measurement in the precious metals market.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1785457001,
"base": "USD",
"date": "2026-07-31",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This endpoint allows users to access historical exchange rates for any date since 1999. The response format mirrors that of the latest rates, providing consistency in data handling.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-07-25",
"end_date": "2026-08-01",
"base": "USD",
"rates": {
"2026-07-25": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-07-27": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-01": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
The time-series endpoint provides a detailed view of exchange rates over a specified period, allowing for in-depth analysis of price movements.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1785543401,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This endpoint is particularly useful for traders looking to convert amounts between different metals or to/from USD. The response includes the conversion rate and the result in troy ounces.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-07-25",
"end_date": "2026-08-01",
"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 prices have changed over a specified period, including both absolute and percentage changes.
OHLC (Open/High/Low/Close) Endpoint
{
"success": true,
"timestamp": 1785543401,
"base": "USD",
"date": "2026-08-01",
"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 traders who rely on technical analysis, providing key price points for decision-making.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1785543401,
"base": "USD",
"date": "2026-08-01",
"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 current market prices, essential for executing trades at the best possible rates.
Conclusion
In conclusion, the Metals-API offers a robust solution for developers seeking to access real-time and historical data for gold and other precious metals. By leveraging the various endpoints, developers can create innovative applications that enhance trading strategies and provide valuable insights into market trends. The ability to access daily prices for Delhi Gold 22k (DELH-22k) and other metals empowers traders to make informed decisions based on comprehensive data analytics.
For more information on how to integrate the Metals-API into your applications, visit the Metals-API Documentation for detailed guidance. Additionally, explore the Metals-API Supported Symbols page to familiarize yourself with the various metals available for trading. By utilizing these resources, developers can unlock the full potential of the Metals-API and stay ahead in the dynamic world of precious metals trading.