Retrieve Chandigarh Gold 22k (CHAN-22k) prices with our API integration

Introduction
XAU. With our innovative Metals-API, you can seamlessly integrate Gold 22k (CHAN-22k) prices into your applications, enabling you to harness the power of real-time market data. This blog post delves into the intricacies of the Metals-API, its capabilities, and how it can transform your approach to trading and data analytics in the precious metals market.
Metals-API Information
About Gold (XAU)
API Description
Metals-API Documentation, which provides comprehensive guidance on how to utilize the API effectively.
Key Features and Endpoints
Latest Rates Endpoint
{
"success": true,
"timestamp": 1753920790,
"base": "USD",
"date": "2025-07-31",
"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": 1753834390,
"base": "USD",
"date": "2025-07-30",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
{
"success": true,
"timestamp": 1753920790,
"base": "USD",
"date": "2025-07-31",
"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"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1753920790,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-07-24",
"end_date": "2025-07-31",
"base": "USD",
"rates": {
"2025-07-24": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-07-26": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-07-31": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-24",
"end_date": "2025-07-31",
"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"
}
Carat Endpoint
{
"success": true,
"timestamp": 1753920790,
"base": "XAU",
"date": "2025-07-31",
"rates": {
"22k": 0.000482,
"18k": 0.0004,
"14k": 0.00033
},
"unit": "per troy ounce"
}
Lowest/Highest Price Endpoint
{
"success": true,
"timestamp": 1753920790,
"base": "USD",
"date": "2025-07-31",
"rates": {
"XAU": {
"lowest": 0.000481,
"highest": 0.000487
},
"XAG": {
"lowest": 0.0381,
"highest": 0.0383
}
},
"unit": "per troy ounce"
}
Open/High/Low/Close (OHLC) Price Endpoint
{
"success": true,
"timestamp": 1753920790,
"base": "USD",
"date": "2025-07-31",
"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
}
},
"unit": "per troy ounce"
}
Historical LME Endpoint
{
"success": true,
"timestamp": 1753834390,
"base": "USD",
"date": "2025-07-30",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825
},
"unit": "per troy ounce"
}
API Key and Response
List of Symbols
Metals-API Supported Symbols page. This resource is invaluable for developers looking to understand the full scope of available data and how to implement it in their applications.
Conclusion
Metals-API Website and explore the extensive documentation available. Whether you are a seasoned trader or a developer looking to build the next big thing in precious metals trading, the Metals-API is your gateway to success.