Get Accurate Kolkata Gold 22k (KOLK-22k) Prices in GBP and JPY with this API
Get Accurate Kolkata Gold 22k (KOLK-22k) Prices in GBP and JPY with this API
In today's fast-paced financial landscape, obtaining accurate and real-time data is crucial for businesses and developers alike. The Metals-API provides a robust solution for accessing precise Gold (XAU) prices in various currencies, including GBP and JPY. This API not only empowers developers to integrate gold pricing into their applications but also facilitates informed decision-making in trading and investment strategies.
About Gold (XAU)
Gold has long been regarded as a safe-haven asset, particularly during times of economic uncertainty. As digital transformation continues to reshape the financial sector, the integration of technology in precious metals trading has become increasingly vital. The Metals-API stands at the forefront of this transformation, offering developers access to real-time data analytics and market insights that can enhance trading strategies.
With the rise of digital asset solutions, the ability to track gold prices in real-time allows businesses to innovate in price discovery and trading. The Metals-API not only provides accurate pricing but also enables developers to create applications that can analyze market trends, assess risk, and optimize trading strategies based on historical data.
API Description
The Metals-API is a powerful tool designed to deliver real-time metals data, including gold prices in various currencies. This API is built on advanced technology that ensures high availability and reliability, making it an essential resource for developers looking to build next-generation applications. By leveraging the capabilities of the Metals-API, businesses can access a wealth of information that can drive innovation and improve operational efficiency.
For more detailed information about the API's capabilities, visit the Metals-API Documentation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different business needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for gold and other metals, updated every 60 minutes, 10 minutes, or even more frequently, depending on your subscription plan. This feature is essential for traders who require up-to-the-minute pricing information.
- Historical Rates Endpoint: Access historical rates dating back to 2019. By appending a specific date (YYYY-MM-DD) to the endpoint, users can retrieve past gold prices, which is invaluable for trend analysis and forecasting.
- Bid And Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for gold, providing insights into market liquidity and helping traders make informed decisions.
- Convert Endpoint: The conversion endpoint enables users to convert any amount from one currency to another, facilitating seamless transactions across different markets.
- Time-Series Endpoint: Users can query the API for daily historical rates between two chosen dates, allowing for comprehensive analysis of price movements over time.
- Fluctuation Endpoint: This endpoint provides information about how gold prices fluctuate on a day-to-day basis, helping traders identify patterns and make strategic decisions.
- Carat Endpoint: Retrieve information about gold rates by carat, which is particularly useful for jewelers and retailers who need precise pricing based on gold purity.
- Lowest/Highest Price Endpoint: This feature allows users to query the API for the lowest and highest gold prices within a specified date range, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access the open, high, low, and close prices for gold, providing a comprehensive view of market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is essential for businesses involved in trading metals on the London Metal Exchange.
- API Key: Each user is provided with a unique API key that must be included in requests to authenticate access to the API.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data presentation.
- Available Endpoints: The Metals-API includes 14 different endpoints, each designed to provide specific functionalities tailored to user needs.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies and metals, ensuring users have access to the latest information.
For a complete list of all supported symbols, refer to the Metals-API Supported Symbols.
API Endpoint Examples and Responses
Understanding how to interact with the Metals-API is crucial for developers. Below are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1780446312,
"base": "USD",
"date": "2026-06-03",
"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": 1780359912,
"base": "USD",
"date": "2026-06-02",
"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-27",
"end_date": "2026-06-03",
"base": "USD",
"rates": {
"2026-05-27": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-05-29": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-06-03": {
"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": 1780446312,
"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-27",
"end_date": "2026-06-03",
"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": 1780446312,
"base": "USD",
"date": "2026-06-03",
"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": 1780446312,
"base": "USD",
"date": "2026-06-03",
"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
The Metals-API is an invaluable resource for developers and businesses seeking accurate gold pricing in multiple currencies, including GBP and JPY. By leveraging the API's extensive features, such as real-time rates, historical data, and conversion capabilities, users can create sophisticated applications that enhance trading strategies and market analysis.
With the ability to access comprehensive data on gold prices, developers can build tools that not only track market trends but also provide insights into price fluctuations and historical performance. This empowers businesses to make informed decisions and optimize their trading strategies based on reliable data.
For more information on how to get started with the Metals-API, visit the Metals-API Website and explore the Metals-API Documentation for detailed guidance on implementation and usage.