Access real-time iShares Gold Trust Micro (IAUM) prices using this API

Access Real-Time iShares Gold Trust Micro (IAUM) Prices Using This API
The iShares Gold Trust Micro (IAUM) is an innovative investment vehicle that allows investors to gain exposure to gold prices in a more accessible format. With the rise of digital transformation in precious metals trading, having access to real-time data is crucial for making informed investment decisions. The Metals-API provides a robust solution for developers looking to integrate real-time gold price data into their applications. In this blog post, we will explore the capabilities of the Metals-API, focusing on how it can be utilized to access real-time prices for gold and other precious metals.
Metals-API Information
The Metals-API is a powerful tool designed for developers who need accurate and timely data on precious metals. It offers a wide range of features that allow for seamless integration into various applications, enabling users to access real-time and historical data on metals like gold (XAU), silver (XAG), platinum (XPT), and palladium (XPD). With the increasing importance of data analytics and market insights, the Metals-API stands out as a leader in providing essential information for traders and investors alike.
About Gold (XAU)
Gold has long been regarded as a safe-haven asset, especially during times of economic uncertainty. The digital transformation in precious metals has made it easier for investors to access gold prices and make informed decisions. The integration of technology in trading has revolutionized the way investors interact with the market. With the help of data analytics, traders can gain insights into market trends and price movements, allowing for more strategic investment decisions.
The innovation in price discovery mechanisms has also been enhanced by the availability of real-time data. The Metals-API empowers developers to build applications that can provide users with up-to-the-minute gold prices, historical trends, and analytical tools to assess market conditions. This level of access to data is essential for anyone looking to invest in gold or other precious metals.
API Description
The Metals-API is designed to provide developers with the tools they need to access real-time metals data efficiently. It offers a variety of endpoints that cater to different data needs, from the latest rates to historical data and conversion capabilities. By leveraging the Metals-API, developers can create next-generation applications that provide users with comprehensive insights into the precious metals market.
For more information, you can visit the Metals-API Website or check the Metals-API Documentation for detailed guidance on implementation.
Key Features and Endpoints
The Metals-API offers several key features that enhance its usability and functionality:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint returns real-time exchange rate data updated every 60 minutes, every 10 minutes, or even more frequently. This is crucial for traders who need the most current pricing information.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. This feature allows users to analyze past trends and make predictions based on historical data.
- Bid And Ask Endpoint: This powerful feature enables users to retrieve real-time bid and ask prices, which are essential for executing trades at optimal prices.
- Convert Endpoint: The conversion endpoint allows users to convert any amount from one currency to another, facilitating transactions across different currencies.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two dates of their choice, providing a comprehensive view of price movements over time.
- Fluctuation Endpoint: Users can retrieve information about how currencies fluctuate on a day-to-day basis, which is vital for understanding market volatility.
- Carat Endpoint: This feature provides information about gold rates by carat, catering to jewelers and consumers interested in purchasing gold jewelry.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest price for a specified date, helping them identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides the open, high, low, and close prices for a specific date, which is essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, allowing for in-depth analysis of market trends.
- API Key: Your unique API key is required to access the API, ensuring secure and authenticated requests.
- API Response: Exchange rates delivered by the Metals-API are relative to USD by default, providing a consistent basis for comparison.
- Available Endpoints: The API comes with multiple endpoints, each providing different functionalities tailored to user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, ensuring users have access to the latest symbols.
- Gold Price India Endpoint: Retrieve the latest gold price in India using this dedicated endpoint, catering to regional investors.
- News Endpoint: Stay updated with the latest news articles related to various metals, helping users stay 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
Understanding the API responses is crucial for effective integration. Below are examples of various endpoints and their responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1751004015,
"base": "USD",
"date": "2025-06-27",
"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"
}
This response indicates a successful request, providing the latest rates for various metals, with gold (XAU) priced at 0.000482 per troy ounce.
Historical Rates Endpoint
Access historical exchange rates for any date since 1999.
{
"success": true,
"timestamp": 1750917615,
"base": "USD",
"date": "2025-06-26",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response shows the historical rates for gold and other metals, allowing users to analyze past performance.
Time-Series Endpoint
Get exchange rates for a specific time period.
{
"success": true,
"timeseries": true,
"start_date": "2025-06-20",
"end_date": "2025-06-27",
"base": "USD",
"rates": {
"2025-06-20": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-06-22": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-06-27": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides a time-series view of gold prices, enabling users to track changes over a specified period.
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": 1751004015,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response shows the conversion of 1000 USD to gold (XAU), resulting in 0.482 troy ounces.
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2025-06-20",
"end_date": "2025-06-27",
"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 response provides insights into how gold and other metals have fluctuated over a specified period, which is essential for traders looking to capitalize on market movements.
OHLC (Open/High/Low/Close) Endpoint
Get OHLC data for a specific time period.
{
"success": true,
"timestamp": 1751004015,
"base": "USD",
"date": "2025-06-27",
"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 response provides the open, high, low, and close prices for gold and other metals, which are critical for technical analysis and trading strategies.
Bid/Ask Endpoint
Get current bid and ask prices for metals.
{
"success": true,
"timestamp": 1751004015,
"base": "USD",
"date": "2025-06-27",
"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 response provides the current bid and ask prices for gold, silver, and platinum, which are essential for executing trades effectively.
Conclusion
The Metals-API is an invaluable resource for developers looking to access real-time data on precious metals like gold. With its extensive range of features and endpoints, it empowers users to build applications that provide critical insights into market trends and price movements. By leveraging the capabilities of the Metals-API, developers can create innovative solutions that enhance the trading experience for investors.
For further exploration of the API's capabilities, be sure to check out the Metals-API Documentation and the Metals-API Supported Symbols page for a comprehensive list of available symbols. The Metals-API Website is also a great resource for staying updated on the latest features and enhancements.