Get FT Cboe Vest Gold Target Income ETF (IGLD) Closing Prices Historical Data using this API
Get FT Cboe Vest Gold Target Income ETF (IGLD) Closing Prices Historical Data using this API
In the world of finance, having access to accurate and timely data is crucial for making informed decisions. For those interested in the precious metals market, particularly Gold (XAU), the Metals-API offers a powerful solution for retrieving historical prices and other valuable data. This blog post will explore the capabilities of the Metals-API, focusing on how to obtain historical closing prices for the FT Cboe Vest Gold Target Income ETF (IGLD) and other relevant information about Gold.
About Gold (XAU)
Gold has long been a symbol of wealth and a safe haven asset during times of economic uncertainty. Its value is influenced by various factors, including market demand, geopolitical events, and currency fluctuations. In recent years, the digital transformation in precious metals has opened new avenues for investors and traders. The integration of technology in trading has led to innovative solutions for price discovery and data analytics, allowing market participants to gain deeper insights into price movements.
With the rise of digital asset solutions, investors can now access real-time data and analytics that were previously unavailable. This shift has empowered developers to build next-generation applications that leverage real-time metals data, enabling more informed trading strategies and investment decisions. The Metals-API stands at the forefront of this transformation, providing a comprehensive suite of tools for accessing historical and real-time data on precious metals.
Metals-API Overview
The Metals-API is a robust JSON API that provides access to a wide range of metals data, including real-time and historical prices for various metals such as Gold (XAU), Silver (XAG), Platinum (XPT), and Palladium (XPD). The API is designed to empower developers to create applications that require up-to-date information on metal prices, making it an essential tool for financial analysts, traders, and developers alike.
One of the key features of the Metals-API is its ability to deliver real-time exchange rate data, updated frequently based on the user's subscription plan. This ensures that users have access to the most current information, which is vital for making timely trading decisions. Additionally, the API offers historical rates dating back to 2019, allowing users to analyze trends and patterns over time.
For more information about the API, 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 a variety of endpoints that cater to different needs, allowing users to access a wealth of information about precious metals. Here are some of the most notable features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for all available metals. Depending on your subscription plan, the API can return updates every 60 minutes or even more frequently.
- Historical Rates Endpoint: Users can access historical rates for most currencies dating back to 2019. By appending a specific date to the API request, users can retrieve historical data for analysis.
- 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.
- Convert Endpoint: The API includes a currency conversion feature, enabling users to convert amounts from one metal to another or to/from USD, facilitating easier trading and analysis.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two dates of their choice, making it easier to analyze trends over specific periods.
- Fluctuation Endpoint: Users can track how metal prices fluctuate on a day-to-day basis, providing insights into market volatility.
- Carat Endpoint: This feature allows users to retrieve information about Gold rates by Carat, which is particularly useful for jewelers and those in the jewelry industry.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specified date, which can help in identifying market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides users with the open, high, low, and close prices for a specific time period, essential for technical analysis.
- Historical LME Endpoint: Users can access historical rates for LME symbols dating back to 2008, which is valuable for those involved in trading on the London Metal Exchange.
- API Key: Each user is provided with a unique API key that must be included in requests to authenticate access to the API.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API includes 14 different endpoints, each providing unique functionalities tailored to various user needs.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies and metals supported by the API.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them informed about market developments.
API Endpoint Examples and Responses
Understanding how to interact with the Metals-API is crucial for developers looking to integrate its capabilities into their applications. Below are examples of various API endpoints and their corresponding JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1762754512,
"base": "USD",
"date": "2025-11-10",
"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": 1762668112,
"base": "USD",
"date": "2025-11-09",
"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-11-03",
"end_date": "2025-11-10",
"base": "USD",
"rates": {
"2025-11-03": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-11-05": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-11-10": {
"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": 1762754512,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2025-11-03",
"end_date": "2025-11-10",
"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) Price Endpoint
Get OHLC data for a specific time period:
{
"success": true,
"timestamp": 1762754512,
"base": "USD",
"date": "2025-11-10",
"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": 1762754512,
"base": "USD",
"date": "2025-11-10",
"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
The Metals-API provides a comprehensive and innovative solution for accessing historical and real-time data on precious metals, particularly Gold (XAU). By leveraging this API, developers can create applications that offer valuable insights into market trends, price fluctuations, and trading opportunities. With features like the Latest Rates Endpoint, Historical Rates Endpoint, and OHLC Price Endpoint, users can easily retrieve the data they need to make informed decisions.
For those looking to dive deeper into the world of precious metals and enhance their trading strategies, the Metals-API is an invaluable resource. By utilizing the extensive capabilities of this API, developers can build powerful applications that cater to the needs of traders and investors alike. To get started, explore the Metals-API Documentation and familiarize yourself with the various endpoints and their functionalities.
For a complete list of supported symbols, visit the Metals-API Supported Symbols page. Embrace the digital transformation in precious metals trading and unlock the potential of real-time data with the Metals-API.