Access Gold (NYM $/ozt) Front Month (GC1) prices using this API documentation

Access Gold (NYM $/ozt) Front Month (GC1) Prices Using the Metals-API
Metals-API provides developers with a powerful tool to access Gold (XAU) prices and other metal rates, enabling innovative applications and insights into market trends. This blog post delves into the capabilities of the Metals-API, focusing on how it can be utilized to access Gold prices and enhance trading strategies through data analytics and technology integration.
About Gold (XAU)
Metals-API Overview
Metals-API Website serves as a gateway to a wealth of information about precious metals. The API is designed to provide real-time and historical data for various metals, including Gold (XAU), Silver (XAG), Platinum (XPT), and Palladium (XPD). Developers can leverage this data to create applications that cater to traders, investors, and analysts alike.
Metals-API Supported Symbols page. This resource is invaluable for understanding the range of metals available for trading and analysis.
Key Features of the Metals-API
Latest Rates Endpoint
{
"success": true,
"timestamp": 1751932841,
"base": "USD",
"date": "2025-07-08",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
{
"success": true,
"timestamp": 1751846441,
"base": "USD",
"date": "2025-07-07",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"unit": "per troy ounce"
}
Bid and Ask Endpoint
{
"success": true,
"timestamp": 1751932841,
"base": "USD",
"date": "2025-07-08",
"rates": {
"XAU": {
"bid": 0.000481,
"ask": 0.000483,
"spread": 2.0e-6
},
"XAG": {
"bid": 0.0381,
"ask": 0.0382,
"spread": 0.0001
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1751932841,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-07-01",
"end_date": "2025-07-08",
"base": "USD",
"rates": {
"2025-07-01": {
"XAU": 0.000485,
"XAG": 0.03825
},
"2025-07-08": {
"XAU": 0.000482,
"XAG": 0.03815
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-01",
"end_date": "2025-07-08",
"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": 1751932841,
"base": "USD",
"date": "2025-07-08",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"unit": "per troy ounce"
}
Carat Endpoint
{
"success": true,
"timestamp": 1751932841,
"base": "USD",
"date": "2025-07-08",
"rates": {
"XAU": {
"carat_24": 0.000482,
"carat_22": 0.000442,
"carat_18": 0.000372
}
},
"unit": "per troy ounce"
}
Lowest/Highest Price Endpoint
{
"success": true,
"timestamp": 1751932841,
"base": "USD",
"date": "2025-07-08",
"rates": {
"XAU": {
"lowest": 0.000481,
"highest": 0.000487
}
},
"unit": "per troy ounce"
}
Historical LME Endpoint
{
"success": true,
"timestamp": 1751846441,
"base": "USD",
"date": "2025-07-07",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825
},
"unit": "per troy ounce"
}
Authentication and API Key
API Response Structure
Common Use Cases and Integration Strategies
- Trading Platforms: Integrate real-time price data into trading platforms to provide users with up-to-date information.
- Market Analysis Tools: Build analytical tools that utilize historical data to identify trends and make predictions.
- Portfolio Management: Create applications that help users manage their metal investments by tracking prices and fluctuations.
Performance Optimization and Security Considerations
Conclusion
Metals-API Documentation to explore the full range of capabilities and start building your applications today.