Request Delhi Gold 18k (DELH-18k) prices through this API
Introduction
In the ever-evolving landscape of financial markets, the demand for accurate and real-time data on precious metals, particularly Gold (XAU), has surged. Developers and traders alike are seeking innovative solutions to access this data efficiently. The Metals-API offers a comprehensive suite of tools designed to provide real-time and historical data on various metals, including 18k Gold (DELH-18k). This blog post will delve into the capabilities of the Metals-API, exploring its endpoints, features, and how it empowers developers to create next-generation applications in the precious metals market.
About Gold (XAU)
Gold has long been regarded as a safe haven asset, a hedge against inflation, and a store of value. Its significance in global markets cannot be overstated, as it plays a crucial role in investment portfolios, jewelry manufacturing, and central bank reserves. The digital transformation in precious metals trading has opened new avenues for data analytics and market insights, enabling traders to make informed decisions based on real-time data.
With the integration of technology in trading, the process of price discovery has become more efficient. The Metals-API stands at the forefront of this transformation, providing developers with the tools necessary to harness the power of data analytics and create innovative digital asset solutions.
API Description
The Metals-API is a powerful tool that provides developers with access to real-time and historical data on various metals, including Gold, Silver, Platinum, and Palladium. This API is designed to facilitate the development of applications that require accurate and timely metal pricing information. By leveraging the capabilities of the Metals-API, developers can build applications that cater to traders, investors, and businesses involved in the precious metals market.
For more detailed information about the API's capabilities, you can refer to the Metals-API Documentation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints, each designed to provide specific functionalities that cater to different needs in the precious metals market. Below are some of the key features and their potential applications:
Latest Rates Endpoint
The Latest Rates endpoint is a cornerstone feature of the Metals-API. Depending on your subscription plan, this endpoint returns real-time exchange rate data for various metals, updated every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for traders looking to make quick decisions based on the latest market conditions.
{
"success": true,
"timestamp": 1776211676,
"base": "USD",
"date": "2026-04-15",
"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 most currencies dating back to 2019. By appending a specific date (YYYY-MM-DD) to the endpoint, developers can query the Metals-API for historical rates, enabling them to analyze trends and make informed predictions.
{
"success": true,
"timestamp": 1776125276,
"base": "USD",
"date": "2026-04-14",
"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 enables developers to retrieve real-time bid and ask prices for various metals. This information is crucial for traders looking to execute orders at the best possible prices.
{
"success": true,
"timestamp": 1776211676,
"base": "USD",
"date": "2026-04-15",
"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": 1776211676,
"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 invaluable for conducting in-depth analyses of price movements over time.
{
"success": true,
"timeseries": true,
"start_date": "2026-04-08",
"end_date": "2026-04-15",
"base": "USD",
"rates": {
"2026-04-08": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-04-10": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-04-15": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation endpoint provides information about how currencies fluctuate on a day-to-day basis. This feature is essential for traders looking to understand market volatility and make informed trading decisions.
{
"success": true,
"fluctuation": true,
"start_date": "2026-04-08",
"end_date": "2026-04-15",
"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 a specific time period. This data is critical for technical analysis and helps traders identify trends and potential entry and exit points.
{
"success": true,
"timestamp": 1776211676,
"base": "USD",
"date": "2026-04-15",
"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 businesses and traders involved in the industrial metals market.
API Key and Response
Your API Key is the unique key that is passed into the API base URL's access_key parameter. This key is essential for authentication and authorization when making requests to the Metals-API. The exchange rates delivered by the Metals-API are by default relative to USD, and all data is returned in a structured JSON format, making it easy to integrate into various applications.
Supported Symbols Endpoint
The Metals-API comes with a constantly updated endpoint that returns all available currencies. To access this information, developers can utilize the Supported Symbols endpoint, which provides a comprehensive list of metal symbols and their specifications. For a complete list, refer to the Metals-API Supported Symbols.
News Endpoint
The News endpoint allows users to retrieve the latest news articles related to various metals. This feature is invaluable for traders looking to stay informed about market trends and developments that could impact metal prices.
Conclusion
The Metals-API is a transformative tool for developers and traders in the precious metals market. With its extensive range of endpoints, real-time data capabilities, and historical insights, it empowers users to make informed decisions and develop innovative applications. By leveraging the power of data analytics and technology integration, the Metals-API is paving the way for a new era in precious metals trading.
For more information on how to get started with the Metals-API, visit the Metals-API Website and explore the Metals-API Documentation for detailed guidance on implementation and usage.