Fetch Gold Dec 2025 (GCZ25) prices via this API

Fetch Gold Dec 2025 (GCZ25) Prices via this API
Metals-API provides a robust solution for developers looking to access and utilize gold prices, including the Dec 2025 (GCZ25) futures. This blog post delves into the intricacies of the Metals-API, focusing on gold (XAU), its market dynamics, and how this API can empower developers to create innovative applications that leverage real-time metals data.
Metals-API Information
About Gold (XAU)
Metals-API plays a pivotal role in this transformation, offering developers access to real-time data analytics and market insights that can enhance trading strategies and decision-making processes.
Metals-API facilitates this by providing historical rates dating back to 2019, allowing developers to build applications that can visualize trends and fluctuations in gold prices over time. This capability is essential for innovation in price discovery, enabling traders to identify optimal entry and exit points in the market.
Metals-API can significantly enhance the trading experience. Developers can leverage this API to create applications that not only track gold prices but also provide insights into market sentiment and potential future movements.
API Description
Metals-API is designed to empower developers by providing a comprehensive suite of features that facilitate the retrieval of real-time metals data. This API is not just a data source; it is a powerful tool that enables the creation of next-generation applications. With capabilities that include the latest rates, historical data, and conversion functionalities, the Metals-API stands out as a leader in the field of metals data.
Metals-API Documentation provides extensive guidance on how to utilize its features effectively. The documentation covers everything from authentication to endpoint usage, ensuring that developers can implement the API with ease.
Key Features and Endpoints
Metals-API offers a variety of endpoints, each designed to serve specific needs within the realm of metals trading. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for gold and other metals. Depending on your subscription plan, updates can occur every 60 minutes or even every 10 minutes, ensuring that you have the most current information at your fingertips.
- Historical Rates Endpoint: Access historical rates for gold dating back to 2019. By appending a specific date to your query, you can retrieve past prices, which is invaluable for trend analysis.
- Bid And Ask Endpoint: This feature allows you to retrieve real-time bid and ask prices, providing insight into the current market conditions and helping traders make informed decisions.
- Convert Endpoint: Easily convert amounts from one metal to another or to/from USD. This functionality is crucial for traders dealing in multiple currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice, enabling detailed analysis of price movements over time.
- Fluctuation Endpoint: Track how gold prices fluctuate on a day-to-day basis, providing insights into market volatility.
- Carat Endpoint: Retrieve information about gold rates by carat, which is particularly useful for jewelers and consumers interested in specific gold purity levels.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for gold over a specified period, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Get detailed OHLC data for gold prices, which is essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols, dating back to 2008, which is beneficial for those trading in industrial metals.
- API Key: Your unique API key is required for authentication and is passed into the API base URL's access_key parameter.
- API Response: The API delivers exchange rates relative to USD, with all data returned in a structured JSON format.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies and metals, ensuring that you have access to the latest information.
- Gold Price India Endpoint: Retrieve the latest gold price in India, catering to a specific market segment.
- News Endpoint: Stay updated with the latest news articles related to various metals, enhancing your market awareness.
List of Symbols
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
Latest Rates Endpoint
{
"success": true,
"timestamp": 1754964031,
"base": "USD",
"date": "2025-08-12",
"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
{
"success": true,
"timestamp": 1754877631,
"base": "USD",
"date": "2025-08-11",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-08-05",
"end_date": "2025-08-12",
"base": "USD",
"rates": {
"2025-08-05": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-08-07": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-08-12": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1754964031,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-08-05",
"end_date": "2025-08-12",
"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
{
"success": true,
"timestamp": 1754964031,
"base": "USD",
"date": "2025-08-12",
"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
{
"success": true,
"timestamp": 1754964031,
"base": "USD",
"date": "2025-08-12",
"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
Metals-API is a powerful tool for developers looking to access and utilize real-time data on gold and other precious metals. By leveraging its extensive features, including the latest rates, historical data, and conversion capabilities, developers can create innovative applications that enhance trading strategies and market analysis. The API's ability to provide detailed insights into price fluctuations, bid/ask spreads, and OHLC data empowers traders to make informed decisions in a rapidly changing market.
Metals-API Website and explore the Metals-API Documentation for detailed guidance. Additionally, for a comprehensive list of supported symbols, check out the Metals-API Supported Symbols page. By harnessing the capabilities of the Metals-API, developers can stay ahead in the competitive world of metals trading.