How to Get Real-Time Mumbai Gold 22k (MUMB-22k) Prices and Integrate with Your Financial Application using Metals-API
How to Get Real-Time Mumbai Gold 22k (MUMB-22k) Prices and Integrate with Your Financial Application using Metals-API
In the fast-paced world of finance, having access to real-time data is crucial for making informed decisions. For those interested in the gold market, particularly the Mumbai Gold 22k (MUMB-22k) prices, the Metals-API offers a robust solution. This blog post will guide you through the process of accessing real-time gold market prices using the Metals-API, detailing its features, endpoints, and how to integrate it into your financial applications.
About Gold (XAU)
Gold has long been regarded as a safe-haven asset, especially in times of economic uncertainty. With the rise of digital transformation in precious metals trading, the demand for accurate and real-time data has never been higher. The Metals-API provides developers with the tools necessary to harness data analytics and market insights, enabling them to create innovative applications that can track gold prices effectively.
As technology continues to evolve, the integration of advanced analytics and real-time data into trading platforms is becoming increasingly common. The Metals-API stands at the forefront of this transformation, offering a comprehensive suite of features that empower developers to build next-generation financial applications.
API Description
The Metals-API is a powerful tool that provides real-time and historical data on precious metals, including gold (XAU). With a focus on innovation and technological advancement, this API allows developers to access a wide range of functionalities that can enhance their applications. Whether you are building a trading platform, a financial dashboard, or a market analysis tool, the Metals-API can help you achieve your goals.
To get started, visit the Metals-API Website for more information on pricing and capabilities. For detailed instructions on how to use the API, refer to the Metals-API Documentation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for gold and other metals. Depending on your subscription plan, the data is updated every 60 minutes or every 10 minutes, allowing you to stay on top of market fluctuations.
- Historical Rates Endpoint: Access historical rates dating back to 2019. You can query the Metals-API for historical rates by appending a specific date in the format YYYY-MM-DD.
- Bid And Ask Endpoint: Retrieve real-time bid and ask prices for gold and other metals. This feature is essential for traders looking to make informed decisions based on current market conditions.
- Convert Endpoint: This endpoint allows you to convert any amount from one metal to another or to/from USD, making it easy to calculate values in different currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This is particularly useful for analyzing trends over time.
- Fluctuation Endpoint: Track how gold prices fluctuate on a day-to-day basis. This endpoint provides insights into market volatility, helping traders make better decisions.
- Carat Endpoint: Retrieve information about gold rates by carat. This feature is particularly useful for jewelers and consumers looking to understand the value of gold jewelry.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for gold over a specified period.
- Open/High/Low/Close (OHLC) Price Endpoint: Get the open, high, low, and close prices for gold, which are essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a comprehensive view of market trends.
- API Key: Your unique API key is required to access the API. It is passed into the API base URL's access_key parameter for authentication.
- API Response: The exchange rates delivered by the Metals-API are relative to USD, and all data is returned in a structured JSON format.
- Available Endpoints: The Metals-API comes with 14 endpoints, each providing different functionalities, ensuring that developers have access to a wide range of data.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies and metals supported by the API. For a complete list, refer to the Metals-API Supported Symbols.
API Endpoint Examples and Responses
Latest Rates Endpoint
To get real-time exchange rates for all available metals, you can use the Latest Rates Endpoint. Here’s an example response:
{
"success": true,
"timestamp": 1781137339,
"base": "USD",
"date": "2026-06-11",
"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"
}
In this response, the rates object contains the current price of gold (XAU) along with other metals. The unit indicates that the prices are quoted per troy ounce.
Historical Rates Endpoint
Access historical exchange rates for any date since 1999 using the Historical Rates Endpoint. Here’s an example response:
{
"success": true,
"timestamp": 1781050939,
"base": "USD",
"date": "2026-06-10",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response provides the historical rates for gold and other metals on a specific date, allowing for trend analysis and historical comparisons.
Time-series Endpoint
To get exchange rates for a specific time period, you can use the Time-Series Endpoint. Here’s an example response:
{
"success": true,
"timeseries": true,
"start_date": "2026-06-04",
"end_date": "2026-06-11",
"base": "USD",
"rates": {
"2026-06-04": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-06-06": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-06-11": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This endpoint allows you to analyze the price movements of gold over a specified period, which is essential for traders and analysts.
Convert Endpoint
The Convert Endpoint allows you to convert any amount from one metal to another or to/from USD. Here’s an example response:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1781137339,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response shows the conversion of 1000 USD to gold (XAU), providing both the conversion rate and the resulting amount in troy ounces.
Fluctuation Endpoint
Track rate fluctuations between two dates using the Fluctuation Endpoint. Here’s an example response:
{
"success": true,
"fluctuation": true,
"start_date": "2026-06-04",
"end_date": "2026-06-11",
"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 how gold prices have changed over a specified period, which is crucial for understanding market trends.
OHLC (Open/High/Low/Close) Endpoint
Get OHLC data for a specific time period using the Open/High/Low/Close (OHLC) Price Endpoint. Here’s an example response:
{
"success": true,
"timestamp": 1781137339,
"base": "USD",
"date": "2026-06-11",
"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 the open, high, low, and close prices for gold, which are essential for traders conducting technical analysis.
Bid/Ask Endpoint
Get current bid and ask prices for metals using the Bid/Ask Endpoint. Here’s an example response:
{
"success": true,
"timestamp": 1781137339,
"base": "USD",
"date": "2026-06-11",
"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 the current bid and ask prices for gold, which are essential for traders looking to execute buy or sell orders.
Conclusion
Accessing real-time Mumbai Gold 22k (MUMB-22k) prices using the Metals-API is a straightforward process that can significantly enhance your financial applications. With a wide range of endpoints and features, the Metals-API empowers developers to create innovative solutions that leverage real-time data for better decision-making.
By understanding the capabilities of the Metals-API and how to effectively utilize its endpoints, you can build applications that provide valuable insights into the gold market. Whether you are interested in real-time pricing, historical data, or advanced analytics, the Metals-API has the tools you need to succeed.
For more information on how to get started, visit the Metals-API Documentation and explore the various features available. Don't forget to check the Metals-API Supported Symbols page for a comprehensive list of all available metals and currencies.
With the right tools and knowledge, you can harness the power of real-time gold data to create applications that meet the demands of today's financial landscape.