Fetch Visakhapatnam Gold 24k (VISA-24k) prices with this API call

Introduction
Metals-API provides a robust platform for developers looking to integrate gold pricing data into their applications. This blog post will delve into the intricacies of the Metals-API, focusing on its capabilities, features, and the transformative potential it holds for developers in the precious metals market.
Metals-API Information
About Gold (XAU)
API Description
Metals-API Documentation, which outlines the various endpoints, authentication methods, and response structures. The API supports a wide range of symbols, which can be explored in detail on the Metals-API Supported Symbols page.
Key Features and Endpoints
Latest Rates Endpoint
{
"success": true,
"timestamp": 1754352566,
"base": "USD",
"date": "2025-08-05",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
{
"success": true,
"timestamp": 1754266166,
"base": "USD",
"date": "2025-08-04",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
{
"success": true,
"timestamp": 1754352566,
"base": "USD",
"date": "2025-08-05",
"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": 1754352566,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-07-29",
"end_date": "2025-08-05",
"base": "USD",
"rates": {
"2025-07-29": {
"XAU": 0.000485,
"XAG": 0.03825
},
"2025-08-05": {
"XAU": 0.000482,
"XAG": 0.03815
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-29",
"end_date": "2025-08-05",
"base": "USD",
"rates": {
"XAU": {
"start_rate": 0.000485,
"end_rate": 0.000482,
"change": -3.0e-6,
"change_pct": -0.62
}
},
"unit": "per troy ounce"
}
Carat Endpoint
{
"success": true,
"carat": {
"24k": {
"rate": 0.000482
},
"22k": {
"rate": 0.000441
}
},
"unit": "per troy ounce"
}
Lowest/Highest Price Endpoint
{
"success": true,
"lowest": {
"XAU": {
"date": "2025-08-01",
"price": 0.000475
},
"XAG": {
"date": "2025-08-02",
"price": 0.0375
}
},
"highest": {
"XAU": {
"date": "2025-08-05",
"price": 0.000482
},
"XAG": {
"date": "2025-08-03",
"price": 0.0385
}
},
"unit": "per troy ounce"
}
Open/High/Low/Close (OHLC) Price Endpoint
{
"success": true,
"timestamp": 1754352566,
"base": "USD",
"date": "2025-08-05",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"unit": "per troy ounce"
}
Historical LME Endpoint
{
"success": true,
"timestamp": 1754266166,
"base": "USD",
"date": "2025-08-04",
"rates": {
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
API Key and Authentication
API Response Structure
Conclusion
Metals-API Documentation for detailed guidance on implementation and usage. Additionally, the Symbols List provides insights into the various metals supported by the API, allowing developers to tailor their applications to specific market needs. To get started with the Metals-API, visit the Metals-API Website and unlock the potential of real-time metals data.