Get Accurate Delhi Gold (XAU-DELH) Prices in EUR, GBP, and USD with this API
Get Accurate Delhi Gold (XAU-DELH) Prices in EUR, GBP, and USD with this API
In today's fast-paced financial landscape, obtaining accurate and real-time gold prices is crucial for traders, investors, and businesses alike. The Metals-API provides a robust solution for accessing precise Gold (XAU) prices in various currencies, including EUR, GBP, and USD. This API empowers developers to create innovative applications that leverage real-time data, enabling informed decision-making in the precious metals market.
About Gold (XAU)
Gold has long been a symbol of wealth and stability, serving as a hedge against inflation and economic uncertainty. As digital transformation sweeps across industries, the precious metals market is no exception. The integration of technology in trading, data analytics, and market insights is revolutionizing how gold prices are discovered and traded. With the rise of digital asset solutions, traders can now access real-time gold prices with unprecedented accuracy.
The Metals-API plays a pivotal role in this transformation by providing developers with the tools needed to build next-generation applications. By harnessing the power of data analytics, businesses can gain insights into market trends, optimize trading strategies, and enhance their overall operational efficiency.
API Description
The Metals-API is a powerful JSON API that delivers real-time and historical data on precious metals, including gold, silver, platinum, and palladium. With its innovative capabilities, the API allows developers to access a wide range of features that can be integrated into various applications. From real-time exchange rates to historical data, the Metals-API provides a comprehensive suite of tools for anyone looking to engage with the precious metals market.
For more detailed information, you can visit the Metals-API Website or check the Metals-API Documentation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs within the precious metals market. Each endpoint is designed to provide specific functionalities that can be leveraged for various applications.
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for gold and other metals. Depending on your subscription plan, the API updates this data every 60 minutes or every 10 minutes, ensuring 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, you can retrieve past gold prices, allowing for in-depth analysis and trend identification.
- Bid And Ask Endpoint: This feature allows you to retrieve real-time bid and ask prices for gold and other metals. This is particularly useful for traders looking to make informed buying and selling decisions.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, enabling you to convert any amount from one currency to another. This is essential for businesses operating in multiple currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This is beneficial for analyzing price movements over time and making predictions based on historical data.
- Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis. This endpoint provides insights into market volatility, helping traders to strategize effectively.
- Carat Endpoint: Retrieve information about gold rates by carat. This feature is particularly useful for jewelers and businesses dealing in gold jewelry.
- Lowest/Highest Price Endpoint: This endpoint allows you to query the API for the lowest and highest price of gold over a specified period, providing valuable insights into market trends.
- Open/High/Low/Close (OHLC) Price Endpoint: Access open, high, low, and close prices for gold over a specified date range. This data is crucial 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 involved in trading on the London Metal Exchange.
- API Key: Your unique API key is required to access the API. This key is passed into the API base URL's access_key parameter to authenticate your requests.
- API Response: The Metals-API delivers exchange rates relative to USD by default. All data is returned in a structured JSON format, making it easy to integrate into applications.
- Available Endpoints: The Metals-API includes 14 different endpoints, each providing unique functionalities tailored to various needs in the precious metals market.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies and metals, ensuring you have access to the latest symbols.
For a complete list of all supported symbols and their specifications, refer to the Metals-API Supported Symbols.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1780705203,
"base": "USD",
"date": "2026-06-06",
"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 exchange rates for any date since 1999.
{
"success": true,
"timestamp": 1780618803,
"base": "USD",
"date": "2026-06-05",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
Get exchange rates for a specific time period.
{
"success": true,
"timeseries": true,
"start_date": "2026-05-30",
"end_date": "2026-06-06",
"base": "USD",
"rates": {
"2026-05-30": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-06-01": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-06-06": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
Convert any amount from one metal to another or to/from USD.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1780705203,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-05-30",
"end_date": "2026-06-06",
"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"
}
OHLC (Open/High/Low/Close) Endpoint
Get OHLC data for a specific time period.
{
"success": true,
"timestamp": 1780705203,
"base": "USD",
"date": "2026-06-06",
"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"
}
Bid/Ask Endpoint
Get current bid and ask prices for metals.
{
"success": true,
"timestamp": 1780705203,
"base": "USD",
"date": "2026-06-06",
"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"
}
Conclusion
The Metals-API is an invaluable resource for developers and businesses looking to access accurate gold prices in various currencies. With its comprehensive suite of endpoints, the API empowers users to make informed decisions based on real-time data and historical trends. By integrating the Metals-API into your applications, you can unlock the potential of data analytics, optimize trading strategies, and enhance your operational efficiency.
For more information on how to leverage the capabilities of the Metals-API, visit the Metals-API Documentation and explore the Metals-API Supported Symbols for a complete list of available currencies and metals. Embrace the future of precious metals trading with the Metals-API and stay ahead in the ever-evolving financial landscape.