Track iShares Gold Trust Micro (IAUM) prices using this API
Introduction
In the world of finance, tracking the performance of precious metals like gold is crucial for investors and traders alike. One of the most accessible ways to invest in gold is through the iShares Gold Trust Micro (IAUM), which allows investors to gain exposure to gold prices without the need to physically hold the metal. To effectively track IAUM prices and make informed trading decisions, developers can leverage the Metals-API, a powerful tool that provides real-time and historical data on various metals, including gold.
Metals-API Information
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a safe haven for investors, especially during times of economic uncertainty. 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 innovative solutions for price discovery and digital asset management. The Metals-API plays a pivotal role in this transformation, offering developers the ability to create next-generation applications that provide real-time insights into gold prices and market trends.
API Description
The Metals-API is designed to empower developers with real-time metals data, enabling them to build applications that can track prices, analyze trends, and convert currencies seamlessly. This API is not just a data provider; it is a comprehensive solution that integrates advanced technology to facilitate trading and investment in precious metals. By utilizing the Metals-API, developers can access a wealth of information that can enhance their applications and provide users with valuable insights into the metals market.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs in the metals trading space. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated according to your subscription plan. Depending on the plan, updates can occur every 60 minutes or every 10 minutes, ensuring that you have the most current data at your fingertips.
- Historical Rates Endpoint: Access historical rates dating back to 2019. This feature allows you to query the API for past rates by appending a specific date, enabling you to analyze trends over time.
- Bid And Ask Endpoint: Retrieve real-time bid and ask prices for metals, which is essential for traders looking to make informed decisions based on market conditions.
- Convert Endpoint: This endpoint allows you to convert any amount from one metal to another or to/from USD, facilitating seamless transactions across different currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice, providing a comprehensive view of price movements over time.
- Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis, which is crucial for understanding market volatility and making strategic trading decisions.
- Carat Endpoint: Retrieve information about gold rates by carat, allowing jewelers and consumers to make informed purchasing decisions based on purity.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specific date, helping traders identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Get detailed OHLC data for a specific time period, which is essential for technical analysis and understanding market trends.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a long-term perspective on metal prices.
- API Key: Your unique API key is required to access the API, ensuring secure and authorized usage.
- 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 includes 14 endpoints, each providing distinct functionalities to cater to various trading needs.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies and metals, ensuring you have the latest information at your disposal.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping you 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 Metals-API Supported Symbols page.
API Endpoint Examples and Responses
Latest Rates Endpoint
The Latest Rates Endpoint allows you to get real-time exchange rates for all available metals. Here’s an example response:
{
"success": true,
"timestamp": 1776125285,
"base": "USD",
"date": "2026-04-14",
"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"
}
In this response, the "rates" object contains the current prices of various metals, with XAU representing gold.
Historical Rates Endpoint
Access historical exchange rates for any date since 1999. Here’s an example response:
{
"success": true,
"timestamp": 1776038885,
"base": "USD",
"date": "2026-04-13",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response allows you to analyze historical price trends for gold and other metals.
Time-series Endpoint
The Time-series Endpoint provides exchange rates for a specific time period. Here’s an example response:
{
"success": true,
"timeseries": true,
"start_date": "2026-04-07",
"end_date": "2026-04-14",
"base": "USD",
"rates": {
"2026-04-07": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-04-09": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-04-14": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This endpoint is particularly useful for tracking price movements over time, allowing for detailed analysis of trends.
Convert Endpoint
The Convert Endpoint enables you to convert any amount from one metal to another or to/from USD. Here’s an example response:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1776125285,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response shows how much gold you can get for a specified amount of USD, making it easy to understand the value of your investments.
Fluctuation Endpoint
Track rate fluctuations between two dates with the Fluctuation Endpoint. Here’s an example response:
{
"success": true,
"fluctuation": true,
"start_date": "2026-04-07",
"end_date": "2026-04-14",
"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 is essential for traders who want to understand how prices are changing over time, helping them make informed decisions.
OHLC (Open/High/Low/Close) Endpoint
Get OHLC data for a specific time period with the OHLC Endpoint. Here’s an example response:
{
"success": true,
"timestamp": 1776125285,
"base": "USD",
"date": "2026-04-14",
"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"
}
This data is crucial for technical analysis, allowing traders to identify patterns and make predictions based on past performance.
Bid/Ask Endpoint
Get current bid and ask prices for metals using the Bid/Ask Endpoint. Here’s an example response:
{
"success": true,
"timestamp": 1776125285,
"base": "USD",
"date": "2026-04-14",
"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 vital for traders who need to know the current market conditions to make timely decisions.
Conclusion
In conclusion, tracking the iShares Gold Trust Micro (IAUM) prices is made significantly easier with the use of the Metals-API. This API provides a comprehensive suite of features that cater to the needs of developers and traders alike, offering real-time data, historical insights, and various endpoints to facilitate trading and investment in precious metals. By leveraging the capabilities of the Metals-API, developers can create innovative applications that enhance the trading experience and provide users with valuable insights into the metals market.
For more detailed information, you can explore the Metals-API Documentation and check the Metals-API Supported Symbols for a comprehensive list of available metals and currencies. The integration of this API into your trading applications will not only streamline your processes but also empower you with the data needed to make informed decisions in the dynamic world of precious metals trading.