Get Gold Dec 2025 (GCZ25) prices using this API

Gold (XAU) market, focusing on how developers can leverage the Metals-API to access up-to-date pricing information, historical data, and various analytical tools that can enhance trading strategies and decision-making processes.
Understanding Gold (XAU)
Digital Transformation in Precious Metals
Metals-API plays a pivotal role in this transformation by providing developers with the ability to integrate real-time metals data into their applications, enabling them to make informed trading decisions.
Data Analytics and Market Insights
Metals-API, developers can access a wealth of information, including the latest rates, historical trends, and fluctuations in metal prices. This data can be used to create predictive models, optimize trading strategies, and enhance overall market understanding.
Technology Integration in Trading
Metals-API, developers can build applications that provide real-time updates on gold prices, enabling traders to react swiftly to market changes. This technology not only improves efficiency but also enhances the user experience by providing seamless access to critical data.
Innovation in Price Discovery
Metals-API offers various endpoints that allow users to retrieve the latest rates, historical data, and even bid and ask prices. This innovation empowers traders to make data-driven decisions, ensuring they are always informed about market conditions.
Digital Asset Solutions
Metals-API provides developers with the tools necessary to create applications that can handle various metal transactions, including gold. This capability not only streamlines the trading process but also opens up new opportunities for investment and asset management.
API Description
Metals-API is a powerful tool that provides developers with access to real-time and historical data for various metals, including gold (XAU). This API is designed to empower developers to build next-generation applications that can leverage real-time metals data for trading, analysis, and investment purposes.
Metals-API Website or check the Metals-API Documentation for detailed guidance on implementation.
Key Features and Endpoints
Metals-API offers a variety of endpoints that cater to different needs within the metals trading space. Here are some of the key features:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1753390813,
"base": "USD",
"date": "2025-07-24",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
{
"success": true,
"timestamp": 1753304413,
"base": "USD",
"date": "2025-07-23",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"unit": "per troy ounce"
}
Bid and Ask Endpoint
{
"success": true,
"timestamp": 1753390813,
"base": "USD",
"date": "2025-07-24",
"rates": {
"XAU": {
"bid": 0.000481,
"ask": 0.000483,
"spread": 2.0e-6
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1753390813,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-07-17",
"end_date": "2025-07-24",
"base": "USD",
"rates": {
"2025-07-17": {
"XAU": 0.000485
},
"2025-07-24": {
"XAU": 0.000482
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-17",
"end_date": "2025-07-24",
"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": 1753390813,
"base": "USD",
"date": "2025-07-24",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"unit": "per troy ounce"
}
Historical LME Endpoint
API Key and Authentication
Metals-API, users must obtain an API Key, which is passed into the API base URL's access_key parameter. This key is essential for authentication and ensures that only authorized users can access the data.
API Response Structure
Conclusion
Metals-API is a transformative tool for developers looking to integrate real-time metals data into their applications. By leveraging its extensive features, including the latest rates, historical data, and various analytical endpoints, traders can enhance their decision-making processes and optimize their trading strategies. As the market for precious metals continues to evolve, the ability to access and analyze data in real-time will be paramount for success.
Metals-API Supported Symbols for a comprehensive list of available metals and their specifications. The Metals-API not only empowers developers but also paves the way for innovation in the trading of precious metals.