Download Kochi Gold 22k (KOCH-22k) Historical Prices with this API
Download Kochi Gold 22k (KOCH-22k) Historical Prices with this API
In the ever-evolving landscape of precious metals trading, the ability to access historical prices and real-time data is crucial for developers and traders alike. This is where the Metals-API comes into play, providing a robust solution for retrieving historical prices of various metals, including Kochi Gold 22k (KOCH-22k). By leveraging this API, developers can integrate valuable data analytics and market insights into their applications, enabling informed trading decisions and innovative price discovery.
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a cornerstone of the global economy and a preferred asset for investors. With the digital transformation of precious metals trading, the integration of technology has revolutionized how traders access and analyze market data. The Metals-API stands at the forefront of this transformation, offering developers the tools needed to harness data analytics for market insights.
As the demand for real-time data grows, the Metals-API empowers developers to build next-generation applications that can provide innovative solutions for price discovery and trading strategies. The API's capabilities extend beyond mere data retrieval; it offers a comprehensive suite of features that facilitate the integration of metals data into various applications.
API Description
The Metals-API is designed to provide developers with access to real-time and historical data for a wide range of metals. This API is particularly valuable for those looking to build applications that require accurate and timely information on metal prices. With its user-friendly interface and extensive documentation, developers can quickly implement the API into their projects.
For more detailed information, you can visit the Metals-API Documentation. This resource provides comprehensive guidance on how to utilize the API effectively, including endpoint descriptions, parameter details, and example responses.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different data retrieval 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 even every 10 minutes. This feature is essential for traders who need the most current pricing information.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. By appending a specific date to your query, you can retrieve past pricing data, which is invaluable for trend analysis and market forecasting.
- Bid And Ask Endpoint: This powerful feature allows you to retrieve real-time bid and ask prices for metals. Understanding these prices is crucial for making informed trading decisions.
- Convert Endpoint: The conversion feature enables you to convert any amount from one currency to another, facilitating seamless transactions across different metal types.
- Time-Series Endpoint: This endpoint allows you to query the API for daily historical rates between two dates of your choice, providing a comprehensive view of price movements over time.
- Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis, giving you insights into market volatility and trends.
- Carat Endpoint: Retrieve information about gold rates by carat, which is particularly useful for jewelers and consumers looking to understand the value of gold in different forms.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date, helping you identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, essential for technical analysis and trading strategies.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is crucial for those involved in industrial metals trading.
- API Key: Your unique API key is essential for accessing the API and should be included in your requests to authenticate your access.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The API features 14 endpoints, each providing distinct functionalities tailored to various user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, ensuring you have the latest information at your fingertips.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping you informed about market trends and developments.
For a complete list of all supported symbols and their specifications, refer to the Metals-API Supported Symbols.
API Endpoint Examples and Responses
Understanding how to interact with the Metals-API is crucial for effective implementation. Below are examples of various API endpoints and their responses:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1766448785,
"base": "USD",
"date": "2025-12-23",
"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"
}
This response indicates a successful request, providing the latest exchange rates for various metals, including gold (XAU).
Historical Rates Endpoint
{
"success": true,
"timestamp": 1766362385,
"base": "USD",
"date": "2025-12-22",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows how to access historical rates, allowing developers to analyze past performance and trends.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-12-16",
"end_date": "2025-12-23",
"base": "USD",
"rates": {
"2025-12-16": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-12-18": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-12-23": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response illustrates how to retrieve exchange rates for a specific time period, which is essential for trend analysis.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1766448785,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
The convert endpoint allows users to easily convert amounts between different metals, enhancing the API's usability.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-12-16",
"end_date": "2025-12-23",
"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"
}
This endpoint provides insights into how prices fluctuate over time, which is critical for traders looking to capitalize on market movements.
OHLC (Open/High/Low/Close) Endpoint
{
"success": true,
"timestamp": 1766448785,
"base": "USD",
"date": "2025-12-23",
"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"
}
OHLC data is essential for technical analysis, allowing traders to gauge market sentiment and make informed decisions.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1766448785,
"base": "USD",
"date": "2025-12-23",
"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"
}
This endpoint provides the current bid and ask prices, which are crucial for executing trades at the best possible prices.
Conclusion
The Metals-API is an invaluable resource for developers looking to access historical prices and real-time data for precious metals, including Kochi Gold 22k (KOCH-22k). By utilizing the various endpoints offered by the API, developers can create powerful applications that provide market insights, facilitate trading, and enhance user experiences.
With features such as the Latest Rates Endpoint, Historical Rates Endpoint, and the ability to convert between different metals, the Metals-API stands out as a comprehensive solution for anyone involved in the precious metals market. For more information on how to get started, visit the Metals-API Website and explore the extensive Metals-API Documentation for detailed guidance on implementation.
By integrating the Metals-API into your applications, you can unlock the potential of real-time metals data and drive innovation in the trading landscape. Whether you are a developer, trader, or financial analyst, the insights gained from this API can significantly enhance your decision-making process and market strategies.