Get Accurate Delhi Gold (XAU-DELH) Prices for Financial Reporting with this API
Get Accurate Delhi Gold (XAU-DELH) Prices for Financial Reporting with this API
In today's fast-paced financial landscape, obtaining accurate and real-time data is crucial for effective decision-making. The Metals-API offers a powerful solution for developers looking to integrate precise Gold (XAU) prices into their applications. This API provides comprehensive access to gold prices in various currencies, including the Indian Rupee (INR), making it an essential tool for financial reporting and analysis.
About Gold (XAU)
Gold has long been a symbol of wealth and stability, and its value is influenced by a myriad of factors, including market demand, geopolitical events, and economic indicators. As the world transitions into a more digital economy, the integration of technology in precious metals trading has become increasingly important. The Metals-API harnesses the power of data analytics and market insights to provide developers with the tools they need to innovate in price discovery and trading.
With the rise of digital asset solutions, the demand for accurate and timely gold pricing has surged. The Metals-API empowers developers to build next-generation applications that can leverage real-time metals data, enabling businesses to make informed decisions based on the most current market conditions.
API Description
The Metals-API is designed to provide developers with a robust platform for accessing real-time and historical data on precious metals, including gold. This API is not just a data source; it is a transformative tool that enables businesses to integrate advanced analytics into their operations. By utilizing the Metals-API, developers can create applications that provide insights into market trends, price fluctuations, and historical data analysis.
For detailed information on how to use the API, refer to the Metals-API Documentation, which outlines the various endpoints and their functionalities.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different data needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for gold and other metals, updated every 60 minutes, 10 minutes, or even more frequently, depending on your subscription plan. This feature is essential for applications that require up-to-the-minute pricing information.
- Historical Rates Endpoint: Access historical rates dating back to 2019. By appending a specific date (YYYY-MM-DD) to your query, you can retrieve past gold prices, which is invaluable for trend analysis and financial reporting.
- Bid And Ask Endpoint: This powerful feature allows you to retrieve real-time bid and ask prices for gold, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: Easily convert any amount from one currency to another, including gold prices in various denominations. This is particularly useful for businesses operating in multiple currencies.
- Time-Series Endpoint: Query daily historical rates between two dates of your choice. This endpoint is ideal for analyzing trends over specific periods.
- Fluctuation Endpoint: Track how gold prices fluctuate on a day-to-day basis, helping businesses understand market volatility and make informed decisions.
- Carat Endpoint: Retrieve gold rates by carat, allowing for precise calculations in jewelry and other applications where gold purity is a factor.
- Lowest/Highest Price Endpoint: Get the lowest and highest prices for gold over a specified period, which can aid in identifying market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Access detailed price data including open, high, low, and close prices for gold, which is crucial for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a comprehensive view of market trends.
- API Key: Your unique API key is required to authenticate requests, ensuring secure access to the API.
- API Response: The API delivers exchange rates relative to USD, with all data returned in a structured JSON format for easy integration.
- Available Endpoints: The Metals-API features 14 different endpoints, each designed to provide specific functionalities tailored to various business needs.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies and metals, ensuring you have the most current information.
- Intraday Endpoint: Query intraday exchange rate data for a single symbol, which is essential for high-frequency trading applications.
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.
API Endpoint Examples and Responses
Understanding the API responses is crucial for effective integration. Below are examples of various endpoints and their JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1787962616,
"base": "USD",
"date": "2026-08-29",
"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": 1787876216,
"base": "USD",
"date": "2026-08-28",
"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-08-22",
"end_date": "2026-08-29",
"base": "USD",
"rates": {
"2026-08-22": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-08-24": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-29": {
"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": 1787962616,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-08-22",
"end_date": "2026-08-29",
"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": 1787962616,
"base": "USD",
"date": "2026-08-29",
"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": 1787962616,
"base": "USD",
"date": "2026-08-29",
"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 seeking to integrate accurate gold pricing into their applications. With its extensive range of endpoints, real-time data capabilities, and historical insights, this API empowers businesses to make data-driven decisions in an increasingly complex financial environment. By leveraging the power of the Metals-API, developers can create innovative solutions that enhance financial reporting, trading strategies, and market analysis.
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. Don't forget to check the Metals-API Supported Symbols page to familiarize yourself with the available metal symbols and their specifications.