Download Chandigarh Gold 22k (CHAN-22k) Historical Prices with this API

Metals-API 5 min read
Download Chandigarh Gold 22k (CHAN-22k) Historical Prices with this API

Download Chandigarh Gold 22k (CHAN-22k) Historical Prices with this API

In the ever-evolving landscape of precious metals trading, having access to accurate and timely data is paramount. For those interested in tracking the historical prices of gold, particularly the Chandigarh Gold 22k (CHAN-22k), the Metals-API offers a robust solution. This API provides developers with the tools necessary to access real-time and historical data, enabling them to build innovative applications that can transform the way we interact with precious metals.

About Gold (XAU)

Gold, represented by the symbol XAU, has long been regarded as a safe-haven asset and a store of value. In recent years, the digital transformation in the precious metals market has been profound. With the advent of data analytics and market insights, traders and investors can now make informed decisions based on real-time data. The integration of technology in trading has led to innovative approaches in price discovery, allowing for more accurate valuations and predictions.

The rise of digital asset solutions has further enhanced the accessibility of gold trading. Investors can now easily track gold prices, analyze trends, and make transactions with unprecedented speed and efficiency. The Metals-API plays a crucial role in this transformation, providing developers with the necessary tools to harness the power of real-time metals data.

API Description

The Metals-API is designed to empower developers to build next-generation applications that leverage real-time and historical metals data. With its comprehensive set of features, the API allows users to access a wealth of information about various metals, including gold, silver, platinum, and palladium.

One of the standout capabilities of the Metals-API is its ability to deliver real-time exchange rate data. Depending on your subscription plan, the API can provide updates every 60 minutes, every 10 minutes, or even more frequently. This ensures that developers and traders have access to the most current information available, which is essential for making informed trading decisions.

Moreover, the API offers historical rates dating back to 2019, allowing users to query for specific dates and analyze trends over time. This feature is particularly useful for those looking to understand the historical performance of gold and other metals, enabling them to make data-driven investment choices.

Key Features and Endpoints

The Metals-API boasts a variety of endpoints that cater to different needs within the metals trading ecosystem. Here are some of the key features:

  • Latest Rates Endpoint: This endpoint provides real-time exchange rate data for all available metals. The response includes the latest rates relative to USD, allowing users to quickly assess market conditions.
  • {
    "success": true,
    "timestamp": 1760335244,
    "base": "USD",
    "date": "2025-10-13",
    "rates": {
    "XAU": 0.000482,
    "XAG": 0.03815,
    "XPT": 0.000912,
    "XPD": 0.000744
    },
    "unit": "per troy ounce"
    }
  • Historical Rates Endpoint: Users can access historical exchange rates for any date since 1999. This endpoint is invaluable for analyzing past performance and trends.
  • {
    "success": true,
    "timestamp": 1760248844,
    "base": "USD",
    "date": "2025-10-12",
    "rates": {
    "XAU": 0.000485,
    "XAG": 0.03825,
    "XPT": 0.000915,
    "XPD": 0.000748
    },
    "unit": "per troy ounce"
    }
  • Bid And Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing.
  • {
    "success": true,
    "timestamp": 1760335244,
    "base": "USD",
    "date": "2025-10-13",
    "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: This endpoint allows users to convert any amount from one metal to another or to/from USD, facilitating easy transactions and calculations.
  • {
    "success": true,
    "query": {
    "from": "USD",
    "to": "XAU",
    "amount": 1000
    },
    "info": {
    "timestamp": 1760335244,
    "rate": 0.000482
    },
    "result": 0.482,
    "unit": "troy ounces"
    }
  • Time-Series Endpoint: This feature allows users to query the API for daily historical rates between two dates of their choice, providing a comprehensive view of price movements over time.
  • {
    "success": true,
    "timeseries": true,
    "start_date": "2025-10-06",
    "end_date": "2025-10-13",
    "base": "USD",
    "rates": {
    "2025-10-06": {
    "XAU": 0.000485,
    "XAG": 0.03825,
    "XPT": 0.000915
    },
    "2025-10-08": {
    "XAU": 0.000483,
    "XAG": 0.0382,
    "XPT": 0.000913
    },
    "2025-10-13": {
    "XAU": 0.000482,
    "XAG": 0.03815,
    "XPT": 0.000912
    }
    },
    "unit": "per troy ounce"
    }
  • Fluctuation Endpoint: Users can track rate fluctuations between two dates, which is essential for understanding market volatility.
  • {
    "success": true,
    "fluctuation": true,
    "start_date": "2025-10-06",
    "end_date": "2025-10-13",
    "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
    }
    },
    "unit": "per troy ounce"
    }
  • Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides OHLC data for a specific time period, allowing users to analyze price trends and make informed decisions.
  • {
    "success": true,
    "timestamp": 1760335244,
    "base": "USD",
    "date": "2025-10-13",
    "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: This endpoint provides access to historical rates for LME symbols dating back to 2008, which is crucial for those trading industrial metals.

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 and traders looking to access real-time and historical data on precious metals, including gold. With its extensive range of endpoints and capabilities, the API enables users to build innovative applications that can transform the way we trade and analyze metals. Whether you are interested in tracking the latest rates, analyzing historical trends, or converting between different metals, the Metals-API provides the necessary tools to succeed in the dynamic world of precious metals trading.

For more information on how to get started with the Metals-API, visit the Metals-API Website and explore the comprehensive Metals-API Documentation to understand the full capabilities of this powerful API.