Get Gold UAE 24 k (XAUUAE24) - Per Gram Historical Prices from Multiple Sources using this API

Get Gold UAE 24 k (XAUUAE24) - Per Gram Historical Prices from Multiple Sources using this API
In today's rapidly evolving financial landscape, the demand for accurate and real-time data on precious metals, particularly gold, has surged. For developers and traders alike, having access to historical prices and current market rates is essential for making informed decisions. This is where the Metals-API comes into play, offering a robust solution for retrieving gold prices, including the historical data for Gold (XAU) in the UAE market.
About Gold (XAU)
Gold has long been regarded as a safe haven asset, especially during times of economic uncertainty. Its value is influenced by various factors, including geopolitical events, inflation rates, and currency fluctuations. The digital transformation in precious metals trading has made it easier for investors to access real-time data and analytics. With the integration of technology in trading, developers can leverage APIs to create innovative applications that provide market insights and price discovery.
The Metals-API offers a comprehensive suite of features that empower developers to build next-generation applications. By utilizing data analytics, developers can gain valuable insights into market trends and make data-driven decisions. The API's capabilities extend beyond mere price retrieval; it allows for the integration of digital asset solutions that can enhance trading strategies and improve user experiences.
API Description
The Metals-API is designed to provide developers with real-time and historical data on various metals, including gold, silver, platinum, and palladium. Its innovative architecture allows for seamless integration into applications, enabling users to access critical market data at their fingertips. The API is built with a focus on technological advancement, ensuring that users can harness the transformative potential of real-time metals data.
One of the standout features of the Metals-API is its ability to deliver accurate and timely information through various endpoints. Developers can access the latest rates, historical data, and even perform currency conversions, all through a simple and intuitive interface. This flexibility allows for a wide range of applications, from financial analysis tools to trading platforms.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs, making it a versatile tool for developers. Here are some of the key features:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint provides real-time exchange rate data for metals, updated every 60 minutes or even every 10 minutes. This is crucial for traders who need the most current information to make quick decisions.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. By appending a specific date to the API call, developers can retrieve past prices, which is essential for trend analysis and forecasting.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The API includes a currency conversion feature, enabling users to convert amounts from one metal to another or to/from USD. This is particularly useful for traders dealing in multiple currencies.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two dates of their choice, allowing for detailed analysis of price movements over time.
- Fluctuation Endpoint: This endpoint provides information on how metal prices fluctuate on a day-to-day basis, helping traders understand market volatility.
- Carat Endpoint: Users can retrieve information about gold rates by carat, which is essential for jewelers and consumers looking to buy or sell gold jewelry.
- Lowest/Highest Price Endpoint: This feature allows users to query the API for the lowest and highest prices within a specified date range, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Developers can access open, high, low, and close prices for a specific time period, which is vital for technical analysis.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols, dating back to 2008, which is beneficial for those analyzing long-term trends.
- API Key: Each user is assigned a unique API key that must be included in the API requests to authenticate access.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API features 14 different endpoints, each providing unique functionalities tailored to various user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, ensuring users have access to the latest information.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them informed about market developments.
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 metals into their applications.
API Endpoint Examples and Responses
Understanding the API responses is crucial for effective integration. Here are some examples of the various endpoints and their responses:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1760936434,
"base": "USD",
"date": "2025-10-20",
"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 indicates a successful request, providing the latest rates for various metals, including gold (XAU).
Historical Rates Endpoint
{
"success": true,
"timestamp": 1760850034,
"base": "USD",
"date": "2025-10-19",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response provides historical rates for gold and other metals, allowing developers to analyze past performance.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-10-13",
"end_date": "2025-10-20",
"base": "USD",
"rates": {
"2025-10-13": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-10-15": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-10-20": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This endpoint allows developers to retrieve exchange rates for a specific time period, facilitating detailed analysis of price trends.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1760936434,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
The Convert Endpoint enables users to convert amounts between different metals or to/from USD, providing flexibility in transactions.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-10-13",
"end_date": "2025-10-20",
"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"
}
This endpoint provides insights into how metal prices fluctuate over time, which is essential for understanding market dynamics.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1760936434,
"base": "USD",
"date": "2025-10-20",
"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"
}
The OHLC endpoint provides critical data for traders looking to perform technical analysis, as it includes the opening, high, low, and closing prices for a specific period.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1760936434,
"base": "USD",
"date": "2025-10-20",
"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"
}
This endpoint is crucial for traders as it provides the current bid and ask prices, allowing for informed trading decisions.
Conclusion
In conclusion, the Metals-API is an invaluable resource for developers and traders seeking to access real-time and historical data on precious metals, particularly gold. With its comprehensive suite of features, including the ability to retrieve the latest rates, historical prices, and perform conversions, the API empowers users to make informed decisions in a dynamic market.
By leveraging the capabilities of the Metals-API, developers can create innovative applications that enhance trading strategies and provide users with critical market insights. Whether you are a seasoned trader or a developer looking to integrate precious metals data into your applications, the Metals-API offers the tools and resources needed to succeed in today's fast-paced financial environment.
For more information on how to get started, visit the Metals-API Documentation and explore the extensive features available to you. Don't forget to check the Metals-API Supported Symbols page for a complete list of available metal symbols.