Get Kanpur Gold 24k (KANP-24k) market prices using this API

Introduction
In the rapidly evolving world of precious metals trading, having access to real-time data is crucial for making informed decisions. The Kanpur Gold 24k (KANP-24k) market prices can be effectively monitored using the Metals-API. This powerful API provides developers with the tools they need to integrate comprehensive metals data into their applications, enabling them to harness the power of digital transformation in precious metals trading.
Metals-API Information
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a cornerstone of wealth and investment. As the world shifts towards digital solutions, the integration of technology in trading gold is becoming increasingly important. The Metals-API offers a suite of features that allow developers to access real-time market insights, historical data, and analytics, facilitating a deeper understanding of market trends.
With the rise of data analytics, traders can leverage advanced algorithms to predict price movements and make strategic decisions. The API's capabilities in price discovery and digital asset solutions empower developers to create innovative applications that can analyze market fluctuations and provide actionable insights.
API Description
The Metals-API is designed to provide developers with a robust platform for accessing real-time and historical data on various metals, including gold, silver, platinum, and palladium. By utilizing this API, developers can build next-generation applications that cater to the needs of traders and investors in the precious metals market.
One of the key features of the Metals-API is its ability to deliver real-time exchange rate data, which is updated frequently based on the user's subscription plan. This ensures that users have access to the most current market information, allowing them to make timely decisions.
Furthermore, the API supports a wide range of endpoints that cater to different needs, from retrieving the latest rates to accessing historical data dating back to 2019. This flexibility makes it an invaluable tool for developers looking to create comprehensive trading solutions.
Key Features and Endpoints
The Metals-API offers several key features that enhance its usability for developers:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint returns real-time exchange rate data updated every 60 minutes, every 10 minutes, or even more frequently. This allows traders to stay informed about the latest market conditions.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. By appending a specific date to the API call, developers can retrieve past market data, which is essential for trend analysis.
- Bid And Ask Endpoint: This powerful feature enables users to retrieve real-time bid and ask prices, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The API includes a currency conversion endpoint, allowing users to convert any amount from one currency to another, facilitating transactions across different markets.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice, enabling developers to analyze trends over specific periods.
- Fluctuation Endpoint: Retrieve information about how currencies fluctuate on a day-to-day basis, which is crucial for understanding market volatility.
- Carat Endpoint: Access gold rates by carat, allowing jewelers and traders to make informed pricing decisions based on purity.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specific date, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Retrieve open, high, low, and close prices for a specific date, which is essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is valuable for traders focused on industrial metals.
- API Key: Each user is provided with a unique API key that must be included in API requests to authenticate access.
- API Response: Exchange rates are delivered relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The API comes with numerous endpoints, each providing different functionalities tailored to various trading needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, ensuring users have access to the latest market symbols.
- Gold Price India Endpoint: Retrieve the latest gold price in India, catering specifically to the Indian market.
- News Endpoint: Access the latest news articles related to various metals, keeping traders 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.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1750744815,
"base": "USD",
"date": "2025-06-24",
"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 that the current price of gold (XAU) is 0.000482 per troy ounce, providing a snapshot of the market at that moment.
Historical Rates Endpoint
Access historical exchange rates for any date since 1999:
{
"success": true,
"timestamp": 1750658415,
"base": "USD",
"date": "2025-06-23",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This endpoint allows users to analyze past market conditions, which is essential for making informed trading decisions.
Time-series Endpoint
Get exchange rates for a specific time period:
{
"success": true,
"timeseries": true,
"start_date": "2025-06-17",
"end_date": "2025-06-24",
"base": "USD",
"rates": {
"2025-06-17": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-06-19": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-06-24": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This endpoint is particularly useful for traders looking to identify trends over time, allowing for better forecasting and strategy development.
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": 1750744815,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This endpoint simplifies transactions by allowing users to convert currencies seamlessly, which is especially useful in multi-currency trading environments.
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2025-06-17",
"end_date": "2025-06-24",
"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 market volatility, helping traders to adjust their strategies based on recent price movements.
OHLC (Open/High/Low/Close) Price Endpoint
Get OHLC data for a specific time period:
{
"success": true,
"timestamp": 1750744815,
"base": "USD",
"date": "2025-06-24",
"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 assess market performance over specific periods.
Bid/Ask Endpoint
Get current bid and ask prices for metals:
{
"success": true,
"timestamp": 1750744815,
"base": "USD",
"date": "2025-06-24",
"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 critical information for traders looking to execute orders at the best possible prices.
Conclusion
The Metals-API is a transformative tool for developers in the precious metals trading space. By providing access to real-time and historical data, the API empowers users to make informed decisions, optimize trading strategies, and enhance their applications with valuable market insights. With features like the latest rates, historical data, and various endpoints for conversion and fluctuation tracking, the Metals-API stands out as a comprehensive solution for anyone involved in trading metals.
For more information on how to integrate this powerful API into your applications, visit the Metals-API Documentation for detailed guidance. Explore the Metals-API Supported Symbols to understand the range of metals available for trading, and leverage the full potential of the Metals-API Website to stay ahead in the market.