Fetch Chandigarh Gold 22k (CHAN-22k) market prices through this API

Introduction
In the ever-evolving landscape of precious metals trading, the ability to access real-time market data is crucial for investors and developers alike. The Fetch Chandigarh Gold 22k (CHAN-22k) market prices can be efficiently obtained through the Metals-API, a powerful tool designed to provide comprehensive data on various metals, including gold, silver, platinum, and palladium. This blog post delves into the intricacies of the Metals-API, exploring its capabilities, features, and how it can transform the way developers interact with precious metals data.
Metals-API Information
About Gold (XAU)
Gold, represented by the symbol XAU, has long been regarded as a safe haven asset and a hedge against inflation. As digital transformation sweeps through financial markets, the integration of technology in trading precious metals has become increasingly important. The Metals-API offers a robust platform that leverages data analytics and market insights to provide users with real-time information on gold prices.
With the rise of digital asset solutions, the demand for accurate and timely data has never been higher. The Metals-API facilitates innovation in price discovery, allowing traders to make informed decisions based on the latest market trends. By harnessing the power of technology, developers can create applications that not only track gold prices but also analyze historical data, providing a comprehensive view of market dynamics.
API Description
The Metals-API is a cutting-edge API that provides real-time and historical data on various metals. It empowers developers to build next-generation applications that require accurate and timely information. The API's capabilities include fetching the latest rates, historical data, and even bid and ask prices, making it an invaluable resource for anyone involved in the precious metals market.
One of the standout features of the Metals-API is its ability to deliver real-time exchange rate data, updated at intervals depending on the user's subscription plan. This ensures that developers have access to the most current information, which is essential for making trading decisions. Additionally, the API supports a wide range of symbols, allowing users to access data for various metals, including silver (XAG), platinum (XPT), and palladium (XPD).
Key Features and Endpoints
The Metals-API boasts a variety of endpoints, each designed to cater to specific needs within the precious metals market. Here are some of the key features:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rate data for metals, updated every 60 minutes, every 10 minutes, or even more frequently depending on the subscription plan. This endpoint is crucial for traders who need to stay informed about the latest market movements.
{
"success": true,
"timestamp": 1760605243,
"base": "USD",
"date": "2025-10-16",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
The Historical Rates Endpoint allows users to access historical exchange rates dating back to 2019. By appending a specific date to the API request, developers can retrieve valuable historical data that can be used for analysis and forecasting.
{
"success": true,
"timestamp": 1760518843,
"base": "USD",
"date": "2025-10-15",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
The Bid And Ask Endpoint is a powerful feature that enables users to retrieve real-time bid and ask prices for metals. This information is essential for traders looking to execute orders at the best possible prices.
{
"success": true,
"timestamp": 1760605243,
"base": "USD",
"date": "2025-10-16",
"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
The Convert Endpoint allows users to convert any amount from one metal to another or to/from USD. This feature is particularly useful for traders who need to quickly assess the value of their holdings in different currencies.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1760605243,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series Endpoint allows users to query the API for daily historical rates between two dates of their choice. This feature is invaluable for analyzing trends over specific periods.
{
"success": true,
"timeseries": true,
"start_date": "2025-10-09",
"end_date": "2025-10-16",
"base": "USD",
"rates": {
"2025-10-09": {
"XAU": 0.000485,
"XAG": 0.03825
},
"2025-10-16": {
"XAU": 0.000482,
"XAG": 0.03815
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation Endpoint provides information about how currencies fluctuate on a day-to-day basis. This data can help traders understand market volatility and make informed decisions.
{
"success": true,
"fluctuation": true,
"start_date": "2025-10-09",
"end_date": "2025-10-16",
"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
The OHLC Price Endpoint allows users to retrieve the open, high, low, and close prices for a specific time period. This data is essential for traders who rely on technical analysis to make trading decisions.
{
"success": true,
"timestamp": 1760605243,
"base": "USD",
"date": "2025-10-16",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"unit": "per troy ounce"
}
Historical LME Endpoint
The Historical LME Endpoint provides access to historical rates for LME symbols dating back to 2008. This endpoint is particularly useful for users interested in long-term trends in the metals market.
API Key and Response
To access the Metals-API, users must obtain an API key, which is passed into the API base URL's access_key parameter. The API delivers exchange rates relative to USD by default, ensuring consistency across all data returned.
List of Symbols
The Metals-API provides access to a comprehensive range of metal symbols. For a complete list of all supported symbols and their specifications, refer to the Metals-API Supported Symbols page.
Conclusion
The Metals-API is a powerful tool for developers looking to integrate real-time and historical data on precious metals into their applications. With features such as the Latest Rates Endpoint, Historical Rates Endpoint, and various conversion options, the API empowers users to make informed trading decisions. By leveraging the capabilities of the Metals-API, developers can create innovative solutions that enhance the trading experience in the precious metals market.
For more information on how to utilize the Metals-API, be sure to check out the Metals-API Documentation. This resource provides detailed guidance on each endpoint, including parameter descriptions, example responses, and best practices for implementation. With the right tools and knowledge, developers can harness the full potential of the Metals-API to stay ahead in the dynamic world of precious metals trading.