Get iShares Gold Strategy ETF (IAUF) prices with detailed documentation from this API
Introduction
The iShares Gold Strategy ETF (IAUF) is an innovative investment vehicle that allows investors to gain exposure to gold, a traditional safe-haven asset. In today's digital age, the integration of technology and data analytics has transformed how investors access and analyze market insights. One of the most powerful tools available for this purpose is the Metals-API, which provides real-time and historical data on precious metals, including gold. This blog post will explore how the Metals-API works, its key features, and how developers can leverage it to build next-generation applications that enhance trading strategies and market analysis.
About Gold (XAU)
Gold has long been regarded as a reliable store of value and a hedge against inflation. With the rise of digital transformation in the precious metals market, investors are increasingly turning to data analytics and technology integration to make informed decisions. The Metals-API plays a crucial role in this landscape by offering comprehensive data on gold prices and trends.
By utilizing advanced data analytics, traders can gain insights into market movements, identify trends, and optimize their trading strategies. The integration of technology in trading platforms allows for real-time updates and seamless transactions, making it easier for investors to capitalize on market opportunities. Furthermore, innovations in price discovery and digital asset solutions are reshaping how gold is traded and valued in the global market.
API Description
The Metals-API is a powerful tool that provides developers with access to real-time and historical data on precious metals. This API empowers developers to create applications that can analyze market trends, track price fluctuations, and convert currencies with ease. With its robust capabilities, the Metals-API is essential for anyone looking to build applications that require accurate and timely metals data.
For detailed information on how to use the API, you can refer to the Metals-API Documentation. This resource provides comprehensive guidance on the various endpoints available, including how to authenticate and make requests.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs. Here are some of the key features:
Latest Rates Endpoint
The Latest Rates endpoint provides real-time exchange rate data for precious metals. Depending on your subscription plan, this endpoint can return updates every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for traders who need to stay updated on the latest market conditions.
{
"success": true,
"timestamp": 1778890375,
"base": "USD",
"date": "2026-05-16",
"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
Accessing historical rates is crucial for analyzing trends over time. The Historical Rates endpoint allows users to retrieve data dating back to 2019. By appending a specific date to the request, developers can obtain valuable insights into past market behavior.
{
"success": true,
"timestamp": 1778803975,
"base": "USD",
"date": "2026-05-15",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
The Bid and Ask endpoint is a powerful feature that provides real-time bid and ask prices for various metals. This information is vital for traders looking to make informed decisions based on current market conditions.
{
"success": true,
"timestamp": 1778890375,
"base": "USD",
"date": "2026-05-16",
"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"
}
Convert Endpoint
The Convert endpoint allows users to convert any amount from one currency to another. This feature is particularly useful for traders who need to quickly assess the value of their investments in different currencies.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1778890375,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series endpoint allows users to query the API for daily historical rates between two specified dates. This feature is essential for conducting in-depth analyses of price movements over time.
{
"success": true,
"timeseries": true,
"start_date": "2026-05-09",
"end_date": "2026-05-16",
"base": "USD",
"rates": {
"2026-05-09": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-05-11": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-05-16": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation endpoint provides insights into how currencies fluctuate on a day-to-day basis. This feature is essential for traders looking to understand market volatility and make informed decisions.
{
"success": true,
"fluctuation": true,
"start_date": "2026-05-09",
"end_date": "2026-05-16",
"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"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC Price endpoint provides essential data for traders looking to analyze market trends. This endpoint returns the open, high, low, and close prices for a specific time period, allowing for comprehensive market analysis.
{
"success": true,
"timestamp": 1778890375,
"base": "USD",
"date": "2026-05-16",
"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"
}
Historical LME Endpoint
The Historical LME endpoint provides access to historical rates for LME symbols dating back to 2008. This endpoint is particularly useful for traders interested in analyzing long-term trends in the metals market.
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. This resource is invaluable for developers looking to integrate specific metals into their applications.
Conclusion
The iShares Gold Strategy ETF (IAUF) represents a modern approach to investing in gold, leveraging technology and data analytics to enhance trading strategies. The Metals-API serves as a powerful tool for developers, providing access to real-time and historical data on precious metals. By utilizing the various endpoints offered by the API, developers can create applications that provide valuable insights into market trends, price fluctuations, and currency conversions.
As the market continues to evolve, the integration of advanced technologies and data-driven insights will be crucial for investors looking to navigate the complexities of precious metals trading. For more information on how to get started with the Metals-API, visit the Metals-API Website and explore the extensive Metals-API Documentation for detailed guidance on implementation.