Get Kolhapur Gold 24k (KOLH-24k) Monthly Average Prices using this API

Get Kolhapur Gold 24k (KOLH-24k) Monthly Average Prices using this API
Metals-API offers a robust solution for obtaining accurate and timely information on gold prices, including the Kolhapur Gold 24k (KOLH-24k). This blog post delves into the intricacies of the Metals-API, focusing on how to retrieve historical prices and leverage the API's capabilities for innovative applications in the precious metals market.
About Gold (XAU)
XAU, has long been a cornerstone of wealth and investment. As a digital transformation sweeps through the financial sector, the precious metals market is not left behind. The integration of technology in trading has revolutionized how investors access and analyze market data. With the rise of data analytics, traders can now gain deeper insights into market trends and make informed decisions based on real-time information.
Metals-API Information
Metals-API is a powerful tool designed for developers seeking to integrate metals pricing data into their applications. This API provides a comprehensive suite of features that empower users to access real-time and historical data for various metals, including gold, silver, platinum, and palladium. The API's capabilities extend beyond simple price retrieval; it offers a range of endpoints that cater to diverse needs in the financial sector.
Key Features and Endpoints
Latest Rates Endpoint. Depending on your subscription plan, this endpoint provides real-time exchange rate data that is updated every 60 minutes, every 10 minutes, or even more frequently. This feature is crucial for traders who require up-to-the-minute information to make timely decisions.
Historical Rates Endpoint allows users to access historical exchange rates for most currencies dating back to 2019. By appending a specific date to the API request, developers can retrieve historical data that is essential for trend analysis and forecasting.
Bid and Ask Endpoint, which enables users to retrieve real-time bid and ask prices for metals. This information is vital for traders looking to execute buy or sell orders at optimal prices.
Convert Endpoint is particularly useful for those needing to convert amounts between different metals or to/from USD. This feature simplifies transactions and enhances user experience by providing instant conversion rates.
Time-Series Endpoint allows users to query daily historical rates between two dates of their choice. This endpoint is invaluable for analyzing price trends and making informed investment decisions.
Fluctuation Endpoint provides insights into how currencies fluctuate on a day-to-day basis. By tracking these fluctuations, traders can better understand market volatility and adjust their strategies accordingly.
Carat Endpoint allows users to retrieve information about gold rates by carat, catering to a niche market segment that requires precise measurements for jewelry and other applications.
Lowest/Highest Price Endpoint enables users to query the API for the lowest and highest prices within a specified timeframe. This data can be crucial for identifying market trends and making strategic decisions.
Open/High/Low/Close (OHLC) Price Endpoint provides detailed price data for a specific time period, allowing traders to analyze market behavior comprehensively. Understanding the open, high, low, and close prices can provide insights into market sentiment and potential future movements.
Historical LME Endpoint offers access to historical rates dating back to 2008, providing a wealth of data for analysis and research.
API Key, which is passed into the API base URL's access_key parameter. This ensures secure access to the API's features and data.
Metals-API Supported Symbols page, which provides detailed specifications for each metal available through the API.
API Endpoint Examples and Responses
Latest Rates Endpoint
{
"success": true,
"timestamp": 1750813571,
"base": "USD",
"date": "2025-06-25",
"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
{
"success": true,
"timestamp": 1750727171,
"base": "USD",
"date": "2025-06-24",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-06-18",
"end_date": "2025-06-25",
"base": "USD",
"rates": {
"2025-06-18": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-06-20": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-06-25": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1750813571,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-06-18",
"end_date": "2025-06-25",
"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) Price Endpoint
{
"success": true,
"timestamp": 1750813571,
"base": "USD",
"date": "2025-06-25",
"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
{
"success": true,
"timestamp": 1750813571,
"base": "USD",
"date": "2025-06-25",
"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
Metals-API is an invaluable resource for developers and traders looking to integrate precious metals data into their applications. With features that allow access to real-time and historical data, the API empowers users to make informed decisions based on accurate market insights. By leveraging the various endpoints, developers can create innovative applications that enhance trading strategies and improve user experiences.
Metals-API Documentation for detailed guidance on implementation and best practices. Additionally, explore the Metals-API Supported Symbols page for a comprehensive list of available metals and their specifications. The Metals-API Website serves as a central hub for accessing all resources related to this powerful API.