Get weekly Gold Sep 2025 (GCU25) prices using this API
Get Weekly Gold Sep 2025 (GCU25) Prices Using This API
In the ever-evolving landscape of precious metals trading, having access to real-time data is crucial for making informed decisions. The Metals-API provides a robust solution for developers looking to integrate gold price data into their applications. This blog post will delve into the intricacies of the XAU symbol, which represents gold, and explore how the Metals-API can empower developers with innovative tools and insights.
Metals-API Information
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a cornerstone of financial markets, serving as a safe haven asset and a hedge against inflation. As digital transformation sweeps through various sectors, the precious metals market is not left untouched. The integration of technology in trading has opened new avenues for data analytics and market insights. With the rise of digital asset solutions, traders can now leverage advanced tools to enhance their trading strategies.
Data analytics plays a pivotal role in understanding market trends and price movements. By utilizing real-time data from the Metals-API, developers can create applications that provide users with valuable insights into gold price fluctuations, historical trends, and predictive analytics. This level of integration not only enhances the trading experience but also fosters innovation in price discovery.
API Description
The Metals-API is a powerful tool that offers developers access to real-time and historical data for various metals, including gold, silver, platinum, and palladium. With its comprehensive capabilities, the API enables the development of next-generation applications that can analyze market trends, perform currency conversions, and track price fluctuations.
For more information on how to get started, visit the Metals-API Documentation. This resource provides detailed guidance on implementing the API and understanding its features.
Key Features and Endpoints
The Metals-API boasts a variety of endpoints that cater to different needs within the metals trading ecosystem. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated every 60 minutes or more frequently depending on your subscription plan. Developers can easily access the latest gold prices and integrate them into their applications.
- Historical Rates Endpoint: Access historical rates dating back to 2019. By appending a specific date to the API request, developers can retrieve past gold prices, allowing for comprehensive market analysis.
- Bid And Ask Endpoint: This feature enables users to retrieve real-time bid and ask prices for gold and other metals, providing critical information for traders looking to execute orders effectively.
- Convert Endpoint: The conversion endpoint allows users to convert any amount from one metal to another or to/from USD, facilitating seamless transactions across different currencies.
- Time-Series Endpoint: This endpoint allows developers to query daily historical rates between two chosen dates, enabling detailed analysis of price trends over time.
- Fluctuation Endpoint: Track how gold prices fluctuate on a day-to-day basis, providing insights into market volatility and helping traders make informed decisions.
- Carat Endpoint: Retrieve information about gold rates by carat, which is essential for jewelers and those dealing in fine gold products.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for gold over a specified period, aiding in market analysis and decision-making.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for gold, which are crucial for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, useful for traders looking to analyze long-term trends.
- API Key: Each user is assigned a unique API key that must be included in requests to authenticate access to the API.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API offers 14 different endpoints, each designed to provide specific functionalities tailored to the needs of developers.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available metal symbols, ensuring developers have access to the latest information.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping users informed about market developments.
For a complete list of all supported symbols, refer to the Metals-API Supported Symbols page.
API Endpoint Examples and Responses
Understanding the API responses is crucial for effective integration. Below are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1769818309,
"base": "USD",
"date": "2026-01-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 current price of gold (XAU) in relation to USD, along with other metals.
Historical Rates Endpoint
Access historical exchange rates for any date since 1999:
{
"success": true,
"timestamp": 1769731909,
"base": "USD",
"date": "2026-01-30",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response provides the historical price of gold on a specific date, allowing for trend analysis.
Time-series Endpoint
Get exchange rates for a specific time period:
{
"success": true,
"timeseries": true,
"start_date": "2026-01-24",
"end_date": "2026-01-31",
"base": "USD",
"rates": {
"2026-01-24": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-01-26": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-01-31": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response shows the daily rates for gold over a specified period, which is essential for analyzing price movements.
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": 1769818309,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response indicates the conversion of 1000 USD to gold, providing the equivalent amount in troy ounces.
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2026-01-24",
"end_date": "2026-01-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 have changed over a specified period, which is vital for traders looking to capitalize on market movements.
OHLC (Open/High/Low/Close) Price Endpoint
Get OHLC data for a specific time period:
{
"success": true,
"timestamp": 1769818309,
"base": "USD",
"date": "2026-01-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 response provides the open, high, low, and close prices for gold, which are essential for technical analysis and trading strategies.
Bid/Ask Endpoint
Get current bid and ask prices for metals:
{
"success": true,
"timestamp": 1769818309,
"base": "USD",
"date": "2026-01-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 are crucial for traders looking to execute buy and sell orders effectively.
Conclusion
The Metals-API is an invaluable resource for developers looking to integrate gold price data into their applications. With its extensive range of endpoints and real-time data capabilities, the API empowers users to make informed trading decisions based on accurate and timely information. By leveraging the power of data analytics and technology integration, developers can create innovative solutions that enhance the trading experience.
For more information on the capabilities of the Metals-API, visit the Metals-API Website. Whether you are looking to access historical rates, track fluctuations, or convert currencies, the Metals-API provides the tools necessary to succeed in the dynamic world of precious metals trading.