Access Chandigarh Gold 24k (CHAN-24k) Historical Prices for Research via this API
Access Chandigarh Gold 24k (CHAN-24k) Historical Prices for Research via this API
Gold (XAU) has long been a cornerstone of financial markets, serving as a safe haven for investors and a critical asset in various trading strategies. With the rise of digital transformation in precious metals trading, accessing historical prices for gold has become increasingly important for developers and analysts alike. The Metals-API provides a robust solution for retrieving historical prices, enabling users to conduct in-depth research and analysis. This blog post will explore the capabilities of the Metals-API, focusing on how to access historical prices for gold and other precious metals.
About Gold (XAU)
Gold, represented by the symbol XAU, is not just a commodity; it is a digital asset that has evolved with technology. The integration of data analytics and market insights has transformed how traders and investors approach gold trading. The Metals-API stands at the forefront of this transformation, offering real-time data that empowers developers to build next-generation applications. By leveraging the API, users can gain insights into market trends, price fluctuations, and historical data, all of which are essential for informed decision-making.
As the market for precious metals continues to evolve, the importance of technology integration in trading becomes more pronounced. The Metals-API is designed to facilitate this integration, providing developers with the tools they need to innovate in price discovery and trading strategies. Whether you are looking to analyze historical trends or convert currencies, the Metals-API offers a comprehensive suite of features that can enhance your research and trading capabilities.
API Description
The Metals-API is a powerful tool that provides real-time and historical data for various metals, including gold, silver, platinum, and palladium. With its user-friendly interface and extensive documentation, developers can easily access the data they need to build applications that require accurate and timely information. The API is designed to be flexible, allowing users to query data based on their specific needs, whether for research, trading, or analysis.
For more information on how to get started, visit the Metals-API Website and explore the Metals-API Documentation for detailed instructions on implementation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different data needs. Here are some of the key features and their applications:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated every 60 minutes, 10 minutes, or even more frequently, depending on your subscription plan. This feature is essential for traders who need to make quick decisions based on the latest market conditions.
- Historical Rates Endpoint: Users can access historical rates for most currencies dating back to 2019. By appending a specific date to the API request, developers can retrieve historical data that is crucial for trend analysis and research.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, enabling users to convert amounts from one currency to another. This is particularly useful for traders dealing with multiple currencies.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two chosen dates, making it easier to analyze trends over specific periods.
- Fluctuation Endpoint: Users can track how currencies fluctuate on a day-to-day basis, providing valuable insights into market volatility.
- Carat Endpoint: This feature allows users to retrieve information about gold rates by carat, which is essential for jewelers and those in the jewelry industry.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specific date, which is useful for identifying market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, allowing traders to analyze price movements throughout the day.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, which is beneficial for users interested in long-term trends.
- API Key: Each user is assigned a unique API key, which is required for authentication and authorization when making requests to the API.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data presentation.
- Available Endpoints: The Metals-API includes 14 different endpoints, each designed to provide specific functionalities tailored to user needs.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies, ensuring users have access to the latest information.
- Intraday Endpoint: This feature allows users to query intraday exchange rate data for a single symbol, which is essential for high-frequency trading strategies.
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.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1788135058,
"base": "USD",
"date": "2026-08-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
Access historical exchange rates for any date since 1999.
{
"success": true,
"timestamp": 1788048658,
"base": "USD",
"date": "2026-08-30",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
Get exchange rates for a specific time period.
{
"success": true,
"timeseries": true,
"start_date": "2026-08-24",
"end_date": "2026-08-31",
"base": "USD",
"rates": {
"2026-08-24": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-08-26": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-31": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
Convert any amount from one metal to another or to/from USD.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1788135058,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-08-24",
"end_date": "2026-08-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"
}
OHLC (Open/High/Low/Close) Endpoint
Get OHLC data for a specific time period.
{
"success": true,
"timestamp": 1788135058,
"base": "USD",
"date": "2026-08-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
},
"XPT": {
"open": 0.000915,
"high": 0.000918,
"low": 0.00091,
"close": 0.000912
}
},
"unit": "per troy ounce"
}
Bid/Ask Endpoint
Get current bid and ask prices for metals.
{
"success": true,
"timestamp": 1788135058,
"base": "USD",
"date": "2026-08-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"
}
Conclusion
In conclusion, the Metals-API provides a comprehensive solution for accessing historical prices of gold and other precious metals. With its extensive features, including real-time rates, historical data, and various endpoints, developers can leverage this API to build innovative applications that cater to the evolving needs of the financial market. By utilizing the Metals-API, users can gain valuable insights into market trends, price fluctuations, and historical data, which are essential for informed decision-making.
For those looking to dive deeper into the world of precious metals trading and analysis, the Metals-API is an invaluable resource. Explore the Metals-API Documentation for detailed guidance on implementation and usage. Additionally, the Metals-API Supported Symbols page provides a comprehensive list of available symbols, ensuring you have access to the latest information.
As the landscape of precious metals trading continues to evolve, staying informed and leveraging the right tools will be key to success. The Metals-API stands ready to support developers and analysts in their quest for accurate and timely data.