Retrieve Current Gold Continuous Contract (GC00) Prices in Various Currencies Using this API

Retrieve Current Gold Continuous Contract (GC00) Prices in Various Currencies Using this API
Metals-API provides a powerful solution for retrieving current gold prices, specifically the Gold Continuous Contract (GC00), in various currencies. This API not only offers the latest market rates but also empowers developers to create innovative applications that leverage real-time metals data for better decision-making and strategic planning.
About Gold (XAU)
API Description
Latest Rates Endpoint, which provides real-time exchange rate data for gold and other metals. Depending on your subscription plan, this endpoint can return data updated every 60 minutes or even every 10 minutes, ensuring that users have access to the most current information available.
Historical Rates Endpoint allows users to access exchange rates dating back to 2019. By appending a specific date to the API request, developers can retrieve historical prices for analysis and reporting purposes.
Bid and Ask Endpoint, which provides real-time bid and ask prices for gold and other metals. This information is crucial for traders looking to make informed buying and selling decisions based on current market conditions.
Convert Endpoint is particularly useful for businesses that operate in multiple currencies. This endpoint allows users to convert any amount from one currency to another, facilitating international transactions and pricing strategies.
Fluctuation Endpoint provides insights into how gold prices change over time. By specifying a date range, developers can analyze trends and make predictions based on historical data.
Time-Series Endpoint allows users to query daily historical rates between two dates, providing a comprehensive view of price movements over time. This is particularly valuable for businesses looking to identify patterns and make strategic decisions based on historical performance.
Key Features and Endpoints
- Latest Rates Endpoint: Get real-time exchange rates for all available metals, updated frequently based on your subscription plan.
- Historical Rates Endpoint: Access historical exchange rates for any date since 2019, allowing for in-depth analysis and reporting.
- Bid and Ask Endpoint: Retrieve current bid and ask prices for metals, essential for traders making quick decisions.
- Convert Endpoint: Convert amounts between different currencies, facilitating international transactions.
- Time-Series Endpoint: Query daily historical rates between two dates, providing insights into price trends.
- Fluctuation Endpoint: Track rate fluctuations between two dates to analyze market volatility.
- Lowest/Highest Price Endpoint: Get the lowest and highest price for a specified date range.
- Open/High/Low/Close (OHLC) Price Endpoint: Retrieve OHLC data for specific time periods, useful for technical analysis.
- API Key: A unique key required for accessing the API, ensuring secure and authorized usage.
- API Response: All exchange rates are delivered relative to USD, with comprehensive data returned in JSON format.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies and metals.
- Gold Price India Endpoint: Retrieve the latest gold price specifically for the Indian market.
- News Endpoint: Get the latest news articles related to various metals, keeping users informed about market developments.
API Endpoint Examples and Responses
Latest Rates Endpoint
{
"success": true,
"timestamp": 1755129922,
"base": "USD",
"date": "2025-08-14",
"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": 1755043522,
"base": "USD",
"date": "2025-08-13",
"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-07",
"end_date": "2025-08-14",
"base": "USD",
"rates": {
"2025-08-07": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-08-09": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-08-14": {
"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": 1755129922,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-08-07",
"end_date": "2025-08-14",
"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": 1755129922,
"base": "USD",
"date": "2025-08-14",
"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": 1755129922,
"base": "USD",
"date": "2025-08-14",
"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 Documentation and explore the Metals-API Supported Symbols for a complete list of available currencies and metals. Embrace the future of trading with the Metals-API and unlock the potential of real-time data in your applications.