Discover Gold Bid (XAU-BID) Historical Prices using this API

About Gold (XAU)
Metals-API Overview
Metals-API Website and explore the Metals-API Documentation for detailed guidance on implementation.
Key Features of Metals-API
Latest Rates Endpoint
{
"success": true,
"timestamp": 1755028831,
"base": "USD",
"date": "2025-08-12",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
{
"success": true,
"timestamp": 1754942431,
"base": "USD",
"date": "2025-08-11",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Bid and Ask Endpoint
{
"success": true,
"timestamp": 1755028831,
"base": "USD",
"date": "2025-08-12",
"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": 1755028831,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-08-05",
"end_date": "2025-08-12",
"base": "USD",
"rates": {
"2025-08-05": {
"XAU": 0.000485,
"XAG": 0.03825
},
"2025-08-07": {
"XAU": 0.000483,
"XAG": 0.0382
},
"2025-08-12": {
"XAU": 0.000482,
"XAG": 0.03815
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-08-05",
"end_date": "2025-08-12",
"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": 1755028831,
"base": "USD",
"date": "2025-08-12",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"unit": "per troy ounce"
}
Lowest/Highest Price Endpoint
{
"success": true,
"timestamp": 1755028831,
"base": "USD",
"date": "2025-08-12",
"rates": {
"XAU": {
"lowest": 0.000481,
"highest": 0.000487
}
},
"unit": "per troy ounce"
}
Historical LME Endpoint
Authentication and API Key
Performance Considerations
Security Best Practices
Conclusion
Metals-API Documentation and explore the Metals-API Supported Symbols for a comprehensive list of available metals. Embrace the power of data analytics and market insights to enhance your trading strategies and stay ahead in the dynamic world of precious metals.