Find Gold UAE 22 k (XAUUAE22) prices using this API
Find Gold UAE 22 k (XAUUAE22) prices using this API
In the ever-evolving landscape of precious metals trading, the demand for real-time data and analytics has never been more critical. Gold, particularly in the form of 22 karat (XAUUAE22), remains a cornerstone of investment portfolios and a safe haven during economic uncertainty. To navigate this market effectively, developers and traders alike can leverage the power of the Metals-API, a robust tool designed to provide comprehensive insights into gold prices and other metal rates.
About Gold (XAU)
Gold has long been revered not only for its intrinsic value but also for its role as a hedge against inflation and currency fluctuations. The digital transformation in precious metals trading has opened new avenues for data analytics and market insights. With the integration of technology in trading, investors can now access real-time data, enabling them to make informed decisions swiftly. The innovation in price discovery mechanisms has further enhanced the trading experience, allowing for more transparent and efficient transactions.
The Metals-API stands at the forefront of this transformation, offering developers the tools necessary to build next-generation applications that can tap into real-time metals data. By utilizing this API, developers can create applications that not only track gold prices but also analyze market trends, providing users with actionable insights.
API Description
The Metals-API is a powerful JSON API that provides access to real-time and historical data for various metals, including gold (XAU). This API empowers developers to build applications that can retrieve and analyze metal prices, making it an invaluable resource for traders, analysts, and financial institutions. The API's capabilities extend beyond mere price retrieval; it offers a suite of features designed to enhance the trading experience through data analytics and market insights.
For those looking to dive deeper into the API's functionalities, the Symbols List provides a comprehensive overview of all supported metal symbols, ensuring that developers have the necessary information at their fingertips.
Key Features and Endpoints
The Metals-API boasts a variety of endpoints, each designed to cater to specific needs within the metals trading ecosystem. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes or every 10 minutes, ensuring that users have access to the most current market information.
- Historical Rates Endpoint: Access historical rates dating back to 2019. By appending a specific date to your query, you can retrieve past exchange rates, allowing for comprehensive market analysis.
- Bid And Ask Endpoint: This feature enables users to retrieve real-time bid and ask prices, which are crucial for making informed trading decisions. Understanding the spread between these prices can provide insights into market liquidity.
- Convert Endpoint: This endpoint allows for seamless currency conversion, 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: Users can query the API for daily historical rates between two chosen dates. This feature is essential for analyzing trends over time and making predictions based on historical data.
- Fluctuation Endpoint: Retrieve information about how metal prices fluctuate on a day-to-day basis. This endpoint is invaluable for traders looking to understand market volatility.
- Carat Endpoint: This feature provides information about gold rates by carat, allowing users to make precise calculations based on the purity of gold they are dealing with.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date, which can help traders identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides detailed price data, including open, high, low, and close prices for a specific date, essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a long-term view of market trends.
- API Key: Each user is assigned a unique API key, which must be included in requests to authenticate and authorize access to the API.
- API Response: The API delivers exchange rates relative to USD, ensuring consistency in data presentation.
- Available Endpoints: With 14 different endpoints, the Metals-API covers a wide range of functionalities, catering to various trading needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, ensuring users have access to the latest information.
- Intraday Endpoint: Query intraday exchange rate data for a single symbol, allowing for real-time trading strategies.
API Endpoint Examples and Responses
Understanding how to interact with the Metals-API is crucial for developers. Below are examples of responses from various endpoints, illustrating the data structure and the information provided:
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1786925356,
"base": "USD",
"date": "2026-08-17",
"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": 1786838956,
"base": "USD",
"date": "2026-08-16",
"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-10",
"end_date": "2026-08-17",
"base": "USD",
"rates": {
"2026-08-10": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-08-12": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-17": {
"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": 1786925356,
"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-10",
"end_date": "2026-08-17",
"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": 1786925356,
"base": "USD",
"date": "2026-08-17",
"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": 1786925356,
"base": "USD",
"date": "2026-08-17",
"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 essential tool for developers and traders looking to harness the power of real-time data in the precious metals market. By providing access to a wide range of endpoints, including the latest rates, historical data, and conversion capabilities, the API enables users to make informed decisions based on accurate and timely information. As the market for gold and other metals continues to evolve, leveraging such innovative technologies will be crucial for success.
For more information on how to integrate this API into your applications, visit the Metals-API Documentation. To explore the full range of supported symbols, check out the Metals-API Supported Symbols. Embrace the future of metals trading with the Metals-API and unlock the potential of real-time data.