Get Kochi Gold 22k (KOCH-22k) Historical Prices from 2025 using this API

Introduction
In the world of precious metals trading, having access to accurate and timely data is crucial for making informed decisions. For developers and traders interested in gold, the Kochi Gold 22k (KOCH-22k) offers a unique opportunity to explore historical prices and market trends. By leveraging the Metals-API, users can access a wealth of information about gold and other metals, enabling them to build sophisticated applications that can analyze and predict market movements. This blog post will delve into the capabilities of the Metals-API, focusing on how to retrieve historical prices for Kochi Gold 22k and the various features that make this API an essential tool for developers.
Metals-API Information
About Gold (XAU)
Gold, represented by the symbol XAU, has been a cornerstone of wealth and value for centuries. In recent years, the digital transformation in precious metals has revolutionized how traders and investors interact with this valuable asset. The integration of data analytics and market insights has enabled a more nuanced understanding of price movements, allowing for better trading strategies.
As technology continues to evolve, the integration of advanced trading platforms and digital asset solutions has made it easier for individuals and institutions to access real-time data. Innovations in price discovery mechanisms have further enhanced the trading landscape, providing users with the tools they need to make informed decisions. The Metals-API stands at the forefront of this transformation, offering developers the ability to harness real-time metals data for their applications.
API Description
The Metals-API is a powerful tool that provides developers with access to real-time and historical data for various metals, including gold, silver, platinum, and palladium. With its innovative approach to data delivery, the API empowers users to build next-generation applications that can analyze market trends, track price fluctuations, and convert currencies seamlessly.
One of the standout features of the Metals-API is its ability to provide real-time exchange rate data, updated frequently based on the user's subscription plan. This ensures that developers have access to the most current information, which is vital for making timely trading decisions. Additionally, the API offers historical rates dating back to 2019, allowing users to analyze past performance and identify trends over time.
Key Features and Endpoints
The Metals-API boasts a variety of endpoints that cater to different needs, making it a versatile tool for developers. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for all available metals. Depending on your subscription plan, updates can occur every 60 minutes or every 10 minutes, ensuring that you have the latest information at your fingertips.
- 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 past prices and analyze trends over time.
- 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 dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, enabling users to convert amounts between different metals or to/from USD. This is particularly useful for traders who operate in multiple currencies.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two specified dates, making it easier to analyze trends over a defined period.
- Fluctuation Endpoint: Users can track how metals fluctuate on a day-to-day basis, providing insights into market volatility and helping traders make informed decisions.
- Carat Endpoint: This feature allows users to retrieve information about gold rates by carat, catering to specific market needs.
- Lowest/Highest Price Endpoint: This endpoint enables users to query the API for the lowest and highest prices of metals over a specified period, assisting in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access OHLC data for a specific time period, which is essential for technical analysis and trading strategies.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols, dating back to 2008, allowing users to analyze long-term trends.
- API Key: Each user is assigned a unique API key, which must be included in API requests to authenticate and authorize access.
- API Response: The Metals-API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The API features multiple endpoints, each designed to provide specific functionalities, making it a comprehensive tool for developers.
- Supported Symbols Endpoint: This endpoint returns all available currencies and metals, allowing users to stay updated on the latest offerings.
- Gold Price India Endpoint: Users can retrieve the latest gold prices in India using this dedicated endpoint, catering to a specific market segment.
- News Endpoint: The Metals-API includes a news feature that allows users to access the latest articles related to various metals, keeping them informed about market developments.
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. This resource is invaluable for developers looking to integrate specific metals into their applications.
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 corresponding JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1749002424,
"base": "USD",
"date": "2025-06-04",
"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 the current exchange rates for various metals, with the base currency set to USD. The "rates" object contains the exchange rates for each metal, allowing developers to easily access the information they need.
Historical Rates Endpoint
Access historical exchange rates for any date since 1999:
{
"success": true,
"timestamp": 1748916024,
"base": "USD",
"date": "2025-06-03",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response provides historical rates for a specific date, allowing developers to analyze past performance and trends in the market.
Time-series Endpoint
Get exchange rates for a specific time period:
{
"success": true,
"timeseries": true,
"start_date": "2025-05-28",
"end_date": "2025-06-04",
"base": "USD",
"rates": {
"2025-05-28": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-05-30": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-06-04": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response illustrates how to retrieve rates over a specified time period, providing valuable insights into market trends and fluctuations.
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": 1749002424,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response demonstrates how to convert a specified amount from one currency to another, allowing for flexibility in trading and analysis.
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2025-05-28",
"end_date": "2025-06-04",
"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 response provides insights into how metals fluctuate over time, which is essential for traders looking to capitalize on market movements.
OHLC (Open/High/Low/Close) Price Endpoint
Get OHLC data for a specific time period:
{
"success": true,
"timestamp": 1749002424,
"base": "USD",
"date": "2025-06-04",
"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"
}
This response provides critical data for technical analysis, allowing traders to assess market performance over a specific period.
Bid/Ask Endpoint
Get current bid and ask prices for metals:
{
"success": true,
"timestamp": 1749002424,
"base": "USD",
"date": "2025-06-04",
"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 response provides insights into the current market conditions, allowing traders to make informed decisions based on bid and ask prices.
Conclusion
The Kochi Gold 22k (KOCH-22k) represents a significant opportunity for traders and developers looking to leverage historical price data in their applications. By utilizing the Metals-API Documentation, developers can access a wide array of features that facilitate real-time data retrieval, historical analysis, and market insights.
With endpoints designed for various functionalities, including real-time rates, historical data, and conversion capabilities, the Metals-API empowers users to build sophisticated applications that can adapt to the ever-changing landscape of precious metals trading. By integrating these features into their systems, developers can enhance their trading strategies and provide valuable insights to their users.
For those interested in exploring the full potential of the Metals-API, it is essential to familiarize themselves with the available endpoints and their respective functionalities. The comprehensive resources available on the Metals-API Website and the Metals-API Supported Symbols page will provide the necessary information to get started.
In summary, the Metals-API is not just a tool for retrieving data; it is a gateway to understanding the dynamics of precious metals trading. By harnessing the power of real-time data and historical insights, developers can create applications that not only meet the needs of today’s traders but also anticipate the demands of tomorrow’s market.