Retrieve Gold Feb 2026 (GCG26) Historical Prices with this API

Retrieve Gold Feb 2026 (GCG26) Historical Prices with this API
In the ever-evolving landscape of precious metals trading, the ability to access historical prices is crucial for investors, analysts, and developers alike. The Metals-API provides a robust solution for retrieving historical prices of gold (symbol: XAU) and other metals, empowering users to make informed decisions based on accurate data. This blog post will explore the capabilities of the Metals-API, focusing on how to retrieve historical prices for gold, particularly for the February 2026 period, while also delving into the broader implications of digital transformation in precious metals trading.
About Gold (XAU)
Gold has long been regarded as a safe haven asset, a hedge against inflation, and a store of value. As the world increasingly embraces digital transformation, the trading of precious metals like gold is undergoing significant changes. The integration of technology in trading processes has led to enhanced data analytics and market insights, allowing traders to make more informed decisions. With the rise of digital asset solutions, gold trading is becoming more accessible, enabling a wider range of participants to engage in this market.
Data analytics plays a pivotal role in understanding market trends and price movements. By leveraging advanced analytics tools, traders can gain insights into historical price patterns, volatility, and other critical metrics that influence trading strategies. The Metals-API facilitates this by providing real-time and historical data, allowing developers to build applications that can analyze trends and forecast future price movements.
Moreover, the innovation in price discovery mechanisms has transformed how traders access and interpret market data. The Metals-API offers a suite of endpoints that enable users to retrieve various types of data, including the latest rates, historical prices, and fluctuations, all of which are essential for effective trading strategies.
API Description
The Metals-API is a powerful tool designed for developers who require real-time and historical data on precious metals. This API provides a comprehensive set of features that allow users to access current market rates, historical prices, and other valuable information related to metals trading. By utilizing the Metals-API, developers can create next-generation applications that leverage real-time data to enhance user experiences and trading outcomes.
One of the standout features of the Metals-API is its ability to deliver data in a structured JSON format, making it easy for developers to integrate into their applications. The API supports a wide range of endpoints, each designed to fulfill specific data retrieval needs. Whether you are looking for the latest rates, historical data, or conversion capabilities, the Metals-API has you covered.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different data retrieval needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for precious metals, updated based on your subscription plan. Users can access the latest rates for gold, silver, platinum, and more, allowing for timely trading decisions.
- Historical Rates Endpoint: Users can access historical rates for most currencies dating back to 2019. By appending a specific date to the endpoint, developers can retrieve historical prices for gold and other metals, which is essential for trend 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 dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, enabling users to convert amounts between different metals or to/from USD, facilitating seamless transactions.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two specified dates, making it easier to analyze trends over time.
- Fluctuation Endpoint: Users can track how metal prices fluctuate on a day-to-day basis, providing valuable insights into market volatility.
- Carat Endpoint: This feature allows users to retrieve gold rates based on carat, catering to specific market needs.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specified date, which is crucial for understanding market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, allowing traders to analyze price movements comprehensively.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, offering insights into long-term price trends.
- API Key: Users must pass their unique API key in the access_key parameter to authenticate requests, ensuring secure access to the API.
- API Response: The Metals-API delivers exchange rates relative to USD by default, with all data returned in a structured format for easy integration.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies and metals, ensuring users have access to the latest information.
- Gold Price India Endpoint: Users can retrieve the latest gold price in India using this dedicated endpoint, catering to regional market needs.
- News Endpoint: The Metals-API also allows users to retrieve the latest news articles related to various metals, keeping traders informed about market developments.
API Endpoint Examples and Responses
To illustrate the capabilities of the Metals-API, here are some example responses from various endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1753984814,
"base": "USD",
"date": "2025-07-31",
"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 the latest exchange rates for various metals, with gold (XAU) priced at 0.000482 per troy ounce. Such data is invaluable for traders looking to make quick decisions based on current market conditions.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1753898414,
"base": "USD",
"date": "2025-07-30",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows a historical rate for gold on July 30, 2025, priced at 0.000485 per troy ounce. Accessing historical data is crucial for analyzing trends and making informed predictions about future price movements.
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-07-24",
"end_date": "2025-07-31",
"base": "USD",
"rates": {
"2025-07-24": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-07-26": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-07-31": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides a series of historical rates for gold over a specified period, allowing traders to visualize trends and fluctuations in the market.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1753984814,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This example demonstrates the conversion of USD to gold (XAU), showing that 1000 USD is equivalent to 0.482 troy ounces of gold. This functionality is essential for traders who need to quickly assess the value of their investments in different currencies.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-24",
"end_date": "2025-07-31",
"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 prices fluctuated over a specified period, highlighting the importance of understanding market volatility for effective trading strategies.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1753984814,
"base": "USD",
"date": "2025-07-31",
"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 endpoint provides comprehensive data on the open, high, low, and close prices for gold, which is essential for traders looking to analyze market performance over a specific timeframe.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1753984814,
"base": "USD",
"date": "2025-07-31",
"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, which is crucial for traders to understand market dynamics and make informed trading decisions.
Conclusion
The Metals-API is an invaluable resource for developers and traders looking to access real-time and historical data on precious metals, particularly gold. By leveraging the various endpoints offered by the API, users can retrieve critical information that aids in making informed trading decisions. The ability to access historical prices, track fluctuations, and convert currencies enhances the trading experience and empowers users to navigate the complexities of the precious metals market.
As the digital transformation in precious metals trading continues, the integration of advanced data analytics and technology will play a pivotal role in shaping the future of this market. The Metals-API stands at the forefront of this transformation, providing developers with the tools they need to build innovative applications that harness the power of real-time metals data.
For more information on how to get started with the Metals-API, refer to the Metals-API Documentation, explore the Metals-API Supported Symbols, and visit the Metals-API Website for additional resources and support.