Access Historical Price Information for Dehradun Gold 24k (DEHR-24k) through this API
Access Historical Price Information for Dehradun Gold 24k (DEHR-24k) through this API
In today's digital age, the demand for real-time data and historical price information has surged, especially in the precious metals market. Gold (XAU), a timeless asset, has seen a significant transformation with the advent of technology. Developers and traders alike can now leverage APIs to access crucial market insights, enabling them to make informed decisions. One such powerful tool is the Metals-API, which provides comprehensive data on gold prices, including historical rates for Dehradun Gold 24k (DEHR-24k).
About Gold (XAU)
Gold has always been a symbol of wealth and stability. As a precious metal, it plays a vital role in the global economy. The digital transformation in precious metals has opened new avenues for data analytics and market insights. With the integration of technology in trading, investors can now access innovative price discovery methods and digital asset solutions. The Metals-API stands at the forefront of this transformation, offering developers the ability to build next-generation applications that utilize real-time metals data.
API Description
The Metals-API is a robust platform that empowers developers to access real-time and historical data for various metals, including gold. This API is designed to facilitate the integration of metals data into applications, enabling users to harness the power of real-time information for trading, analysis, and decision-making. With its innovative features, the Metals-API transforms how developers interact with precious metals data, providing them with the tools necessary to create impactful applications.
For more detailed information, you can refer to the Metals-API Documentation, which outlines the various functionalities and capabilities of the API. Additionally, the Metals-API Supported Symbols page provides a comprehensive list of all available metal symbols, including gold.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs, allowing users to access a wealth of information about gold and other metals. Here are some of the key features:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rate data for gold and other metals. Depending on your subscription plan, this endpoint can return data updated every 60 minutes or every 10 minutes. This feature is essential for traders who require up-to-the-minute pricing information to make quick decisions.
{
"success": true,
"timestamp": 1774916167,
"base": "USD",
"date": "2026-03-31",
"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
The Historical Rates Endpoint allows users to access historical exchange rates for gold dating back to 2019. By appending a specific date to the API request, developers can retrieve past pricing data, which is invaluable for trend analysis and market research.
{
"success": true,
"timestamp": 1774829767,
"base": "USD",
"date": "2026-03-30",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
The Bid and Ask Endpoint is a powerful feature that allows users to retrieve real-time bid and ask prices for gold and other metals. This information is crucial for traders looking to execute buy and sell orders at optimal prices.
{
"success": true,
"timestamp": 1774916167,
"base": "USD",
"date": "2026-03-31",
"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 enables users to convert any amount from one metal to another or to/from USD. This feature is particularly useful for traders who need to assess the value of their holdings in different currencies or metals.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1774916167,
"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 dates of their choice. This feature is essential for conducting in-depth analyses of price movements over specific periods.
{
"success": true,
"timeseries": true,
"start_date": "2026-03-24",
"end_date": "2026-03-31",
"base": "USD",
"rates": {
"2026-03-24": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-03-26": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-03-31": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation Endpoint provides information about how gold prices fluctuate on a day-to-day basis. This feature is vital for traders who want to understand market volatility and make informed trading decisions.
{
"success": true,
"fluctuation": true,
"start_date": "2026-03-24",
"end_date": "2026-03-31",
"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 Price Endpoint allows users to query the API for the open, high, low, and close prices for gold over a specific time period. This data is crucial for technical analysis and helps traders identify trends and potential entry and exit points.
{
"success": true,
"timestamp": 1774916167,
"base": "USD",
"date": "2026-03-31",
"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
The Historical LME Endpoint provides access to historical rates for LME symbols dating back to 2008. This endpoint is particularly useful for those interested in the London Metal Exchange prices and trends.
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 Symbols page. This resource is invaluable for developers looking to integrate specific metal data into their applications.
Conclusion
In conclusion, the Metals-API is a powerful tool for accessing historical price information for gold and other metals. With its extensive range of endpoints, developers can easily integrate real-time and historical data into their applications, enabling them to make informed trading decisions. By leveraging the capabilities of the Metals-API, traders can gain insights into market trends, fluctuations, and pricing, ultimately enhancing their trading strategies.
For more information on how to utilize the Metals-API effectively, be sure to explore the Metals-API Documentation, and don't forget to check out the Metals-API Supported Symbols for a complete list of available metals. The Metals-API Website is also a great resource for staying updated on the latest features and enhancements.