Retrieve Gold Aug 2025 (GCQ25) prices effortlessly with this API

Retrieve Gold Aug 2025 (GCQ25) prices effortlessly with this API
Metals-API provides a robust solution for retrieving Gold (XAU) prices and other metal rates effortlessly. This blog post will delve into the capabilities of the Metals-API, exploring its innovative features, endpoints, and how it can transform the way you interact with precious metals markets.
Metals-API Information
About Gold (XAU)
XAU, has long been a cornerstone of wealth and investment. As digital transformation sweeps across financial markets, the integration of technology into precious metals trading is reshaping how investors and developers approach this valuable asset. The Metals-API stands at the forefront of this transformation, offering advanced data analytics and market insights that empower users to make informed decisions.
API Description
Metals-API is a powerful tool designed for developers seeking to build next-generation applications in the precious metals space. Its capabilities extend beyond simple price retrieval; it offers a comprehensive suite of features that enable users to access real-time and historical data, perform currency conversions, and analyze market trends. The API's transformative potential lies in its ability to deliver accurate metals data in a user-friendly format, making it an essential resource for anyone involved in precious metals trading.
Metals-API Documentation, which provides extensive guidance on how to implement and utilize the API effectively.
Key Features and Endpoints
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated based on your subscription plan. Depending on your plan, you can receive updates every 60 minutes, every 10 minutes, or even more frequently. This feature is crucial for traders who need to stay informed about the latest market movements.
- Historical Rates Endpoint: Access historical rates for most metals dating back to 2019. By appending a specific date to your query, you can retrieve past pricing data, allowing for in-depth market analysis and trend identification.
- Bid and Ask Endpoint: This powerful feature enables you to retrieve real-time bid and ask prices for metals. Understanding the bid-ask spread is essential for traders looking to optimize their entry and exit points in the market.
- Convert Endpoint: The Metals-API includes a dedicated currency conversion endpoint, allowing users to convert any amount from one metal to another or to/from USD. This feature is particularly useful for traders operating in multiple currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This endpoint is invaluable for analyzing price trends over specific periods, helping traders make informed decisions based on historical performance.
- Fluctuation Endpoint: Track how metal prices fluctuate on a day-to-day basis. This endpoint provides insights into market volatility, allowing traders to adjust their strategies accordingly.
- Carat Endpoint: Retrieve information about Gold rates by carat. This feature is essential for jewelers and consumers looking to understand the value of gold in different purities.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date. This information is crucial for traders looking to identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Access open, high, low, and close prices for a specific date. This data is vital for technical analysis and understanding market trends.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008. This endpoint is particularly useful for traders focused on industrial metals.
- API Key: Your unique API key is essential for accessing the Metals-API. It must be included in the API base URL's access_key parameter to authenticate your requests.
- API Response: The Metals-API delivers exchange rates relative to USD by default. All data is returned in a structured JSON format, making it easy to integrate into applications.
- Available Endpoints: The Metals-API offers a comprehensive list of endpoints, each providing different functionalities. For a complete list, refer to the Metals-API Supported Symbols.
- Gold Price India Endpoint: Retrieve the latest gold price in India using this dedicated endpoint, which is essential for local traders and investors.
- News Endpoint: Stay updated with the latest news articles related to various metals through the Metals-API news feature. This is crucial for traders who want to stay informed about market-moving events.
List of Symbols
Symbols page.
API Endpoint Examples and Responses
Latest Rates Endpoint
{
"success": true,
"timestamp": 1755385223,
"base": "USD",
"date": "2025-08-16",
"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": 1755298823,
"base": "USD",
"date": "2025-08-15",
"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-09",
"end_date": "2025-08-16",
"base": "USD",
"rates": {
"2025-08-09": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-08-11": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-08-16": {
"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": 1755385223,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-08-09",
"end_date": "2025-08-16",
"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) Price Endpoint
{
"success": true,
"timestamp": 1755385223,
"base": "USD",
"date": "2025-08-16",
"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": 1755385223,
"base": "USD",
"date": "2025-08-16",
"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 resource for developers and traders looking to access real-time and historical data on precious metals, particularly Gold (XAU). With its comprehensive suite of features, including the latest rates, historical data, conversion capabilities, and fluctuation tracking, the API empowers users to make informed decisions in a fast-paced market.
Metals-API Website and explore the Metals-API Documentation for detailed guidance on implementation and usage. Don't forget to check the Metals-API Supported Symbols page for a complete list of available metal symbols.