How to get Bhopal Gold 22k (BHOP-22k) prices using this API

Introduction
XAU. For those interested in tracking Bhopal Gold 22k (BHOP-22k) prices, leveraging the Metals-API can provide invaluable insights. This blog post will delve into the capabilities of the Metals-API, focusing on how it can be utilized to obtain accurate and timely gold prices, along with exploring the broader implications of digital transformation in the precious metals market.
Metals-API Information
About Gold (XAU)
API Description
Metals-API is designed to provide real-time and historical data on various metals, including gold, silver, platinum, and palladium. The API's capabilities extend beyond mere price retrieval; it offers a robust framework for developers to build next-generation applications that can analyze market trends, track fluctuations, and convert currencies seamlessly.
Key Features and Endpoints
Latest Rates Endpoint
{
"success": true,
"timestamp": 1745632896,
"base": "USD",
"date": "2025-04-26",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
{
"success": true,
"timestamp": 1745546496,
"base": "USD",
"date": "2025-04-25",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
{
"success": true,
"timestamp": 1745632896,
"base": "USD",
"date": "2025-04-26",
"rates": {
"XAU": {
"bid": 0.000481,
"ask": 0.000483,
"spread": 2.0e-6
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1745632896,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-04-19",
"end_date": "2025-04-26",
"base": "USD",
"rates": {
"2025-04-19": {
"XAU": 0.000485
},
"2025-04-26": {
"XAU": 0.000482
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-04-19",
"end_date": "2025-04-26",
"base": "USD",
"rates": {
"XAU": {
"start_rate": 0.000485,
"end_rate": 0.000482,
"change": -3.0e-6,
"change_pct": -0.62
}
},
"unit": "per troy ounce"
}
Open/High/Low/Close (OHLC) Price Endpoint
{
"success": true,
"timestamp": 1745632896,
"base": "USD",
"date": "2025-04-26",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"unit": "per troy ounce"
}
Historical LME Endpoint
List of Symbols
Metals-API Supported Symbols page. This resource is invaluable for developers looking to integrate specific metals into their applications.
Conclusion
Metals-API Documentation. Whether you're a seasoned trader or a developer looking to create innovative applications, the Metals-API offers the resources needed to succeed in the dynamic world of precious metals trading.