Collect Gold Feb 2028 (GCG28) Historical Prices through this API
Collect Gold Feb 2028 (GCG28) Historical Prices through this API
Gold (XAU) has always been a significant asset in the financial markets, representing not just a safe haven during economic uncertainty but also a valuable commodity for trading and investment. As we look toward the future, particularly in February 2028, understanding the historical prices of gold becomes crucial for investors and traders alike. The Metals-API provides a robust solution for accessing real-time and historical data on gold prices, enabling developers to create applications that can analyze trends, make informed decisions, and optimize trading strategies.
About Gold (XAU)
Gold has undergone a digital transformation in recent years, with technology playing a pivotal role in how it is traded and valued. The integration of data analytics and market insights has allowed traders to make more informed decisions based on real-time data. The Metals-API Documentation provides comprehensive information on how to leverage this API to access gold prices and historical data effectively.
One of the most exciting aspects of trading gold today is the innovation in price discovery. With the rise of digital asset solutions, traders can now utilize advanced algorithms and machine learning techniques to predict price movements and optimize their trading strategies. The Metals-API empowers developers to build next-generation applications that can harness these technologies, providing a competitive edge in the market.
API Description
The Metals-API is a powerful tool that offers developers access to real-time and historical metals data, including gold (XAU). This API is designed to facilitate the integration of metals pricing into applications, enabling developers to create solutions that can analyze market trends, perform currency conversions, and track price fluctuations. The API's capabilities include a variety of endpoints that cater to different needs, from retrieving the latest rates to accessing historical data dating back to 2019.
For developers looking to build applications that require accurate and timely metals data, the Metals-API is an invaluable resource. It allows for seamless integration with existing systems, providing a flexible and scalable solution for accessing gold prices and other metal data.
Key Features and Endpoints
The Metals-API offers a range of endpoints that provide different functionalities, each designed to meet specific needs. Here are some of the key features:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint returns real-time exchange rate data for gold and other metals, updated every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for traders who need to make quick decisions based on the latest market conditions.
- Historical Rates Endpoint: Access historical rates for gold and other metals dating back to 2019. By appending a specific date (YYYY-MM-DD) to the endpoint, developers can retrieve historical price data, allowing for in-depth analysis of price trends over time.
- Bid And Ask Endpoint: This powerful feature enables users to retrieve real-time bid and ask prices for gold, providing insights into market liquidity and helping traders make informed decisions.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint that allows users to convert any amount from one metal to another or to/from USD. This is particularly useful for traders dealing with multiple currencies.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two dates of their choice, enabling comprehensive analysis of price movements over time.
- Fluctuation Endpoint: Track how gold prices fluctuate on a day-to-day basis. This endpoint provides valuable insights into market volatility, helping traders understand price dynamics.
- Carat Endpoint: Retrieve information about gold rates by carat. This feature is particularly useful for jewelers and those in the jewelry industry who need precise pricing based on gold purity.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for gold over a specified period, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint allows users to get the open, high, low, and close prices for gold, which are critical for technical analysis and trading strategies.
- Historical LME Endpoint: Access historical rates for LME symbols, dating back to 2008. This endpoint is valuable for those looking to analyze long-term trends in the metals market.
- API Key: Your unique API key is required to access the API's features, ensuring secure and authorized usage.
- API Response: Exchange rates delivered by the Metals-API are relative to USD, with all data returned in a structured JSON format, making it easy to integrate into applications.
- Available Endpoints: The Metals-API offers 14 endpoints, each providing different functionalities to cater to various needs in the metals trading space.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies and metals, ensuring developers have access to the latest information.
- Intraday Endpoint: Query intraday exchange rate data for a single symbol, providing insights into short-term price movements.
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 essential for developers looking to integrate specific metals into their applications.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1786580082,
"base": "USD",
"date": "2026-08-13",
"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": 1786493682,
"base": "USD",
"date": "2026-08-12",
"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": "2026-08-06",
"end_date": "2026-08-13",
"base": "USD",
"rates": {
"2026-08-06": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-08-08": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-13": {
"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": 1786580082,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2026-08-06",
"end_date": "2026-08-13",
"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": 1786580082,
"base": "USD",
"date": "2026-08-13",
"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": 1786580082,
"base": "USD",
"date": "2026-08-13",
"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 solution for developers looking to access historical prices and real-time data for gold (XAU) and other metals. With its wide range of endpoints, including the latest rates, historical rates, and conversion capabilities, this API empowers developers to create innovative applications that can analyze market trends and optimize trading strategies.
As we approach February 2028, understanding the historical prices of gold will be crucial for making informed investment decisions. By leveraging the capabilities of the Metals-API, developers can build powerful tools that provide insights into the gold market, helping traders navigate the complexities of price fluctuations and market dynamics.
For more information on how to get started with the Metals-API, refer to the Metals-API Documentation and explore the Metals-API Supported Symbols for a complete list of available metals. With the right tools and data, the future of gold trading looks promising.