Access Gold Aug 2025 (GCQ25) Historical Prices using this API

Access Gold Aug 2025 (GCQ25) Historical Prices using this API
XAU. This blog post delves into how to access historical prices for gold using the Metals-API, a powerful tool that provides real-time and historical data on various metals. By leveraging this API, developers can create innovative applications that enhance trading strategies and market analysis.
About Gold (XAU)
API Description
Metals-API is a robust API that offers a wide range of functionalities for accessing metals data. It empowers developers to create applications that can track prices, analyze trends, and convert currencies with ease. The API's capabilities include:
- Real-time Data: Access the latest exchange rates for various metals, updated frequently based on your subscription plan.
- Historical Data: Retrieve historical prices dating back to 2019, allowing for in-depth analysis of market trends.
- Bid and Ask Prices: Get real-time bid and ask prices for metals, essential for making informed trading decisions.
- Currency Conversion: Convert amounts between different metals and currencies effortlessly.
- Time-Series Data: Query daily historical rates over a specified period to analyze trends.
- Fluctuation Tracking: Monitor how prices fluctuate over time, providing insights into market volatility.
- Open/High/Low/Close (OHLC) Data: Access detailed price data for specific time periods, crucial for technical analysis.
Key Features and Endpoints
Latest Rates Endpoint
{
"success": true,
"timestamp": 1754316023,
"base": "USD",
"date": "2025-08-04",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
{
"success": true,
"timestamp": 1754229623,
"base": "USD",
"date": "2025-08-03",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"unit": "per troy ounce"
}
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-07-28",
"end_date": "2025-08-04",
"base": "USD",
"rates": {
"2025-07-28": {
"XAU": 0.000485,
"XAG": 0.03825
},
"2025-08-04": {
"XAU": 0.000482,
"XAG": 0.03815
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1754316023,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-28",
"end_date": "2025-08-04",
"base": "USD",
"rates": {
"XAU": {
"start_rate": 0.000485,
"end_rate": 0.000482,
"change": -3.0e-6,
"change_pct": -0.62
}
},
"unit": "per troy ounce"
}
Open/High/Low/Close (OHLC) Price Endpoint
{
"success": true,
"timestamp": 1754316023,
"base": "USD",
"date": "2025-08-04",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"unit": "per troy ounce"
}
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1754316023,
"base": "USD",
"date": "2025-08-04",
"rates": {
"XAU": {
"bid": 0.000481,
"ask": 0.000483,
"spread": 2.0e-6
}
},
"unit": "per troy ounce"
}
List of Symbols
Metals-API Supported Symbols page. This resource is invaluable for developers looking to integrate various metals into their applications.
Conclusion
Metals-API. With its extensive range of endpoints, developers can create powerful applications that leverage real-time and historical data to inform trading strategies. By utilizing features such as the Latest Rates, Historical Rates, and Time-Series endpoints, traders can gain insights into market trends and make data-driven decisions.
Metals-API Documentation. This resource offers comprehensive guidance on implementing the API and maximizing its capabilities. Embrace the future of trading with the Metals-API and unlock the potential of real-time metals data.