Retrieve FT Cboe Vest Gold Target Income ETF (IGLD) Price Data from Metals-API

Retrieve FT Cboe Vest Gold Target Income ETF (IGLD) Price Data from Metals-API
In the world of finance and investment, having access to accurate and timely data is crucial. This is particularly true for precious metals like gold, which serve as a hedge against inflation and economic uncertainty. The FT Cboe Vest Gold Target Income ETF (IGLD) is one such investment vehicle that allows investors to gain exposure to gold while also seeking income. To effectively track the performance of IGLD, investors can leverage the capabilities of the Metals-API. This blog post will explore how to retrieve historical prices for gold using the Metals-API, focusing on the symbol XAU, which represents gold in the API.
About Gold (XAU)
Gold has long been considered a safe haven asset, especially during times of economic instability. The digital transformation in precious metals trading has opened new avenues for investors and developers alike. With the rise of data analytics and market insights, stakeholders can now make informed decisions based on real-time data. The integration of technology in trading has revolutionized how investors access and interpret market information.
Metals-API stands at the forefront of this transformation, providing developers with the tools necessary to build next-generation applications that can analyze and visualize precious metals data. By utilizing the API, developers can innovate in price discovery and create digital asset solutions that cater to the evolving needs of investors.
API Description
The Metals-API is a powerful tool that offers real-time and historical data for various metals, including gold, silver, platinum, and palladium. It empowers developers to create applications that can provide insights into market trends, price fluctuations, and historical performance. The API is designed with innovation in mind, allowing for seamless integration into existing systems and applications.
For detailed information on how to use the API, refer to the Metals-API Documentation. This resource provides comprehensive guidance on the various endpoints available, including their functionalities and use cases.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different data needs. 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, allowing for timely decision-making.
- Historical Rates Endpoint: Investors can access historical rates dating back to 2019. By appending a specific date to the API call, users can retrieve past prices for gold and other metals, which is essential for analyzing trends over time.
- Bid And Ask Endpoint: This feature allows users 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 feature, enabling users to convert amounts between different metals or to/from USD, facilitating easier transactions and comparisons.
- Time-Series Endpoint: Users can query the API for daily historical rates between two specified dates, making it easier to analyze price movements over specific periods.
- Fluctuation Endpoint: This endpoint provides information about how metal prices fluctuate on a day-to-day basis, helping investors understand market volatility.
- Carat Endpoint: Users can retrieve gold rates by carat, which is particularly useful for jewelers and those in the jewelry industry.
- Lowest/Highest Price Endpoint: This feature allows users to query the API for the lowest and highest prices of metals over a specified period, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access OHLC data for specific dates, which is vital for technical analysis and trading strategies.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, allowing for comprehensive market analysis.
- API Key: Each user is assigned a unique API key that must be included in API requests to authenticate and authorize access.
- API Response: The API returns exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API offers a wide range of endpoints, each designed to fulfill specific data needs.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available metal symbols, ensuring users have access to the latest data.
- Gold Price India Endpoint: Users can retrieve the latest gold price in India, which is particularly useful for investors in the Indian market.
- News Endpoint: This feature allows users to access the latest news articles related to various metals, keeping investors 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 structure of API responses is crucial for effective implementation. Below are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1745193790,
"base": "USD",
"date": "2025-04-21",
"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"
}
The response indicates that the request was successful and provides the latest rates for various metals, including gold (XAU).
Historical Rates Endpoint
{
"success": true,
"timestamp": 1745107390,
"base": "USD",
"date": "2025-04-20",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response shows historical rates for a specific date, allowing users to analyze past performance.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-04-14",
"end_date": "2025-04-21",
"base": "USD",
"rates": {
"2025-04-14": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-04-16": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-04-21": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This endpoint allows users to retrieve exchange rates for a specific time period, which is essential for trend analysis.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1745193790,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
The convert endpoint allows users to convert amounts between different metals or to/from USD, providing flexibility in transactions.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-04-14",
"end_date": "2025-04-21",
"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 provides insights into how metal prices fluctuate over time, which is vital for understanding market dynamics.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1745193790,
"base": "USD",
"date": "2025-04-21",
"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"
}
The OHLC endpoint is crucial for traders who rely on technical analysis to make informed decisions.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1745193790,
"base": "USD",
"date": "2025-04-21",
"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 provides current bid and ask prices, which are essential for understanding market liquidity and pricing dynamics.
Conclusion
The Metals-API is an invaluable resource for developers and investors looking to access real-time and historical data for precious metals like gold. By utilizing the various endpoints available, users can gain insights into market trends, price fluctuations, and historical performance. Whether you are tracking the FT Cboe Vest Gold Target Income ETF (IGLD) or simply looking to analyze gold prices, the Metals-API provides the tools necessary for informed decision-making.
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 also offers additional resources and information to help you get started.