Access Coimbatore Gold 24k (COIM-24k) Price History via this API
Access Coimbatore Gold 24k (COIM-24k) Price History via this API
Gold, represented by the symbol XAU, has long been a cornerstone of wealth and investment. With the rise of digital transformation in the precious metals market, accessing real-time data and historical prices has never been easier. The Metals-API provides a powerful solution for developers looking to integrate gold price data into their applications. This blog post will explore the capabilities of the Metals-API, focusing on how to retrieve historical prices for 24k gold in Coimbatore (COIM-24k) and the innovative features that make this API a valuable tool for developers.
About Gold (XAU)
Gold is not just a precious metal; it is a symbol of wealth, stability, and investment. In recent years, the digital transformation of the precious metals market has opened new avenues for investors and traders. With the integration of data analytics and technology, market insights have become more accessible, allowing for better decision-making. The innovation in price discovery has been significantly enhanced by digital asset solutions, enabling real-time tracking of gold prices.
As the demand for gold continues to rise, understanding its price history becomes crucial for investors. The Metals-API offers a comprehensive suite of tools to access this data, empowering developers to create applications that provide valuable insights into the gold market.
API Description
The Metals-API is a robust platform that provides real-time and historical data for various metals, including gold. This API is designed to empower developers to build next-generation applications that require accurate and timely metals data. With its innovative features, the Metals-API enables users to access a wealth of information, from current prices to historical trends.
For detailed information on how to use the API, refer to the Metals-API Documentation. This resource provides comprehensive guidance on the API's capabilities, endpoints, and best practices for integration.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data, updated based on your subscription plan. Depending on your plan, you can receive updates every 60 minutes or every 10 minutes.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. You can query historical rates by appending a date in the format YYYY-MM-DD.
- Bid And Ask Endpoint: Retrieve real-time bid and ask prices for metals, allowing for precise trading decisions.
- Convert Endpoint: This feature enables you to convert any amount from one currency to another, facilitating seamless transactions.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice, providing insights into price trends over time.
- Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis, helping you understand market volatility.
- Carat Endpoint: Retrieve information about gold rates by carat, which is essential for jewelers and traders.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date.
- Open/High/Low/Close (OHLC) Price Endpoint: Access open, high, low, and close prices for a specific date, which is crucial for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a broader context for market analysis.
- API Key: Your unique API key is required to access the API's features, ensuring secure and authorized usage.
- API Response: Exchange rates are delivered relative to USD, and all data is returned in a structured JSON format.
- Available Endpoints: The Metals-API includes 14 endpoints, each providing distinct functionalities tailored to various user needs.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies and metals.
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": 1780705159,
"base": "USD",
"date": "2026-06-06",
"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": 1780618759,
"base": "USD",
"date": "2026-06-05",
"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-05-30",
"end_date": "2026-06-06",
"base": "USD",
"rates": {
"2026-05-30": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-06-01": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-06-06": {
"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": 1780705159,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2026-05-30",
"end_date": "2026-06-06",
"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": 1780705159,
"base": "USD",
"date": "2026-06-06",
"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": 1780705159,
"base": "USD",
"date": "2026-06-06",
"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 offers a comprehensive solution for accessing gold price data, including historical rates for Coimbatore Gold 24k (COIM-24k). By leveraging the innovative features of this API, developers can create applications that provide valuable insights into the gold market. The ability to access real-time data, historical trends, and various endpoints allows for a deeper understanding of market dynamics.
For further exploration of the API's capabilities, visit the Metals-API Documentation and discover how to integrate these features into your applications. Additionally, the Metals-API Supported Symbols page provides a complete list of available symbols, ensuring you have all the information you need at your fingertips.
As the digital landscape continues to evolve, the Metals-API stands out as a transformative tool for developers seeking to harness the power of real-time metals data. Embrace the future of precious metals trading and investment with the Metals-API.