Access Gold UAE 18 k (XAUUAE18) - Per Gram Historical Prices with Metals-API for Your Projects

Access Gold UAE 18 k (XAUUAE18) - Per Gram Historical Prices with Metals-API for Your Projects
Metals-API provides a robust solution for developers looking to integrate historical price data for gold (XAU) into their applications. This blog post will delve into the intricacies of accessing historical prices for gold in the UAE, specifically focusing on the 18k variant (XAUUAE18), and how to leverage the capabilities of Metals-API to enhance your projects.
Metals-API Information
About Gold (XAU)
API Description
Metals-API is a powerful tool that allows developers to access real-time and historical data for various metals, including gold. This API empowers developers to build applications that require precise metal pricing data, enabling them to create innovative solutions for their users. With its comprehensive documentation, you can easily integrate the API into your projects and start retrieving valuable data.
Metals-API Documentation. The API provides a wide range of endpoints that cater to different needs, from fetching the latest rates to accessing historical data dating back to 2019.
Key Features and Endpoints
Latest Rates Endpoint
{
"success": true,
"timestamp": 1745110904,
"base": "USD",
"date": "2025-04-20",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
{
"success": true,
"timestamp": 1745024504,
"base": "USD",
"date": "2025-04-19",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
{
"success": true,
"timestamp": 1745110904,
"base": "USD",
"date": "2025-04-20",
"rates": {
"XAU": {
"bid": 0.000481,
"ask": 0.000483,
"spread": 2.0e-6
},
"XAG": {
"bid": 0.0381,
"ask": 0.0382,
"spread": 0.0001
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1745110904,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-04-13",
"end_date": "2025-04-20",
"base": "USD",
"rates": {
"2025-04-13": {
"XAU": 0.000485,
"XAG": 0.03825
},
"2025-04-15": {
"XAU": 0.000483,
"XAG": 0.0382
},
"2025-04-20": {
"XAU": 0.000482,
"XAG": 0.03815
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-04-13",
"end_date": "2025-04-20",
"base": "USD",
"rates": {
"XAU": {
"start_rate": 0.000485,
"end_rate": 0.000482,
"change": -3.0e-6,
"change_pct": -0.62
}
},
"unit": "per troy ounce"
}
Open/High/Low/Close (OHLC) Price Endpoint
{
"success": true,
"timestamp": 1745110904,
"base": "USD",
"date": "2025-04-20",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"unit": "per troy ounce"
}
Historical LME Endpoint
{
"success": true,
"timestamp": 1745024504,
"base": "USD",
"date": "2025-04-19",
"rates": {
"XAU": 0.000485
},
"unit": "per troy ounce"
}
API Key and Response
Metals-API Supported Symbols page. This resource is invaluable for developers looking to understand the full range of metals available through the API.
Conclusion
Metals-API Website and dive into the extensive documentation available to help you get started. Whether you are building a trading platform, a financial analysis tool, or a simple price tracker, the Metals-API is your go-to resource for reliable and accurate metals data.