Obtain Daily iShares Gold Trust Micro (IAUM) Historical Prices using this API
Obtain Daily iShares Gold Trust Micro (IAUM) Historical Prices using this API
In the ever-evolving landscape of financial markets, the demand for precise and timely data is paramount, especially when it comes to precious metals like gold. The iShares Gold Trust Micro (IAUM) is a popular investment vehicle that allows investors to gain exposure to gold prices without the need to physically hold the metal. To effectively track and analyze the historical prices of IAUM, developers can leverage the capabilities of the Metals-API. This powerful API provides real-time and historical data on various metals, including gold, enabling developers to build sophisticated applications that can analyze market trends and make informed investment decisions.
Metals-API Information
The Metals-API is designed to provide developers with a comprehensive set of tools to access real-time and historical data on precious metals. With its robust architecture, the API supports a wide range of functionalities, allowing for seamless integration into various applications. The API's capabilities extend beyond mere data retrieval; it empowers developers to harness the power of data analytics and market insights, facilitating digital transformation in the precious metals sector.
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a cornerstone of wealth preservation and investment. In recent years, the digital transformation of precious metals has gained momentum, with technology playing a crucial role in trading and price discovery. The integration of data analytics into trading strategies allows investors to gain deeper insights into market dynamics, enabling them to make more informed decisions.
Furthermore, the rise of digital asset solutions has opened new avenues for investors, allowing them to trade and invest in gold through various platforms. The Metals-API stands at the forefront of this transformation, providing developers with the tools needed to create innovative applications that can track gold prices, analyze trends, and optimize trading strategies.
API Description
The Metals-API is a powerful JSON API that provides access to real-time and historical prices for various metals, including gold, silver, platinum, and palladium. The API is designed with innovation and technological advancement in mind, enabling developers to build next-generation applications that leverage real-time metals data. With a focus on performance and scalability, the Metals-API allows for seamless integration into existing systems, making it an invaluable resource for developers in the financial sector.
For detailed information on how to use the API, developers can refer to the Metals-API Documentation, which provides comprehensive guidance on authentication, endpoints, and response structures.
Key Features and Endpoints
The Metals-API offers a variety of endpoints, each designed to serve specific use cases. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for precious metals, updated every 60 minutes or more frequently depending on the subscription plan. Developers can use this data to track current market conditions and make timely trading decisions.
- Historical Rates Endpoint: Historical rates are available for most currencies dating back to 2019. Developers can query the Metals-API for historical rates by appending a specific date, allowing for in-depth analysis of price trends over time.
- Bid And Ask Endpoint: This feature enables developers to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The API includes a currency conversion endpoint, allowing developers to convert amounts from one metal to another or to/from USD, facilitating seamless transactions.
- Time-Series Endpoint: This endpoint allows developers to query the API for daily historical rates between two dates of their choice, enabling comprehensive analysis of price movements over specified periods.
- Fluctuation Endpoint: Developers can use this endpoint to track how metal prices fluctuate on a day-to-day basis, providing valuable insights into market volatility.
- Carat Endpoint: This feature allows developers to retrieve information about gold rates by carat, catering to specific market needs.
- Lowest/Highest Price Endpoint: This endpoint enables developers to query the API for the lowest and highest prices of metals over a specified period, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Developers can access open, high, low, and close prices for metals, providing a comprehensive view of market performance.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, allowing for extensive historical analysis.
- API Key: Each user is assigned a unique API key, which is essential for accessing the API's features and functionalities.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API includes 14 endpoints, each providing different functionalities tailored to various use cases.
- Supported Symbols Endpoint: This endpoint returns all available currencies, allowing developers to stay updated on the latest symbols supported by the API.
- News Endpoint: Developers can retrieve the latest news articles related to various metals, keeping them 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. This resource is invaluable for developers looking to integrate specific metals into their applications.
API Endpoint Examples and Responses
Understanding the structure of API responses is crucial for effective integration. Below are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1767572165,
"base": "USD",
"date": "2026-01-05",
"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": 1767485765,
"base": "USD",
"date": "2026-01-04",
"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": "2025-12-29",
"end_date": "2026-01-05",
"base": "USD",
"rates": {
"2025-12-29": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-12-31": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-01-05": {
"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": 1767572165,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2025-12-29",
"end_date": "2026-01-05",
"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": 1767572165,
"base": "USD",
"date": "2026-01-05",
"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": 1767572165,
"base": "USD",
"date": "2026-01-05",
"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
In conclusion, the Metals-API provides a comprehensive and innovative solution for developers looking to access real-time and historical data on precious metals, including gold. By leveraging the various endpoints offered by the API, developers can create powerful applications that analyze market trends, track price fluctuations, and optimize trading strategies. The ability to access detailed historical data, real-time rates, and bid/ask prices empowers developers to make informed decisions and enhance their trading platforms.
As the financial landscape continues to evolve, the integration of technology and data analytics will play a crucial role in shaping the future of precious metals trading. The Metals-API stands as a vital resource for developers seeking to harness the power of real-time metals data and drive innovation in the financial sector. For more information on how to get started, refer to the Metals-API Documentation and explore the Metals-API Supported Symbols to find the right data for your applications.