Access Mumbai Gold 22k (MUMB-22k) market prices using this API

Access Mumbai Gold 22k (MUMB-22k) Market Prices Using This API
In the ever-evolving landscape of financial technology, the demand for real-time data and analytics has never been greater, especially in the precious metals market. The Metals-API provides a robust solution for accessing market prices, including the Mumbai Gold 22k (MUMB-22k). This blog post will delve into the intricacies of the Metals-API, exploring its capabilities, features, and how it can empower developers to create innovative applications that leverage real-time metals data.
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a cornerstone of wealth and investment. As a precious metal, it plays a critical role in various sectors, including jewelry, electronics, and finance. The digital transformation in precious metals trading has opened new avenues for investors and developers alike. With the integration of data analytics and technology, market insights have become more accessible, enabling better decision-making.
One of the most significant innovations in the gold market is the use of APIs to provide real-time pricing and historical data. The Metals-API stands at the forefront of this transformation, offering developers the tools needed to build applications that can analyze market trends, track price fluctuations, and even facilitate trading.
API Description
The Metals-API is a powerful tool designed to provide developers with access to real-time and historical data for various metals, including gold, silver, platinum, and palladium. This API is particularly valuable for those looking to integrate metals pricing into their applications, offering a range of endpoints that cater to different needs.
With the Metals-API, developers can access the latest market rates, historical data, and even perform currency conversions. The API's capabilities extend beyond mere data retrieval; it empowers users to build next-generation applications that can analyze and visualize market trends, making it an essential tool for anyone involved in the precious metals market.
Key Features and Endpoints
The Metals-API boasts a variety of endpoints, each designed to serve specific functions. Here are some of the key features:
- 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 feature is crucial for traders who need up-to-the-minute pricing information.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. By appending a specific date to your query, you can retrieve past pricing data, which is invaluable for trend analysis.
- Bid And Ask Endpoint: This powerful feature allows you to retrieve real-time bid and ask prices, giving traders insight into market liquidity and pricing dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, allowing users to convert any amount from one currency to another seamlessly. This is particularly useful for international traders.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This endpoint is essential for analyzing price movements over specific periods.
- Fluctuation Endpoint: Retrieve information about how currencies fluctuate on a day-to-day basis, helping traders understand market volatility.
- Carat Endpoint: Get information about gold rates by carat, which is particularly useful for jewelers and consumers interested in specific gold purity levels.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date range, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific time period, essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is crucial for those involved in industrial metals.
- API Key: Your unique API key is required to access the API, ensuring secure and authenticated requests.
- API Response: Exchange rates delivered by the Metals-API are relative to USD by default, with all data returned in a structured JSON format.
- Available Endpoints: The API comes with 14 endpoints, each providing different functionalities, allowing for extensive data retrieval and analysis.
- Supported Symbols Endpoint: This endpoint returns all available currencies, ensuring users can access the latest symbols and their specifications.
- Gold Price India Endpoint: Retrieve the latest gold price in India using this dedicated endpoint, which is particularly useful for local traders.
- News Endpoint: Get the latest news articles related to various metals, keeping users informed about market developments.
API Endpoint Examples and Responses
Understanding the API's response structure is crucial for effective integration. Below are examples of various endpoints and their responses:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1760068902,
"base": "USD",
"date": "2025-10-10",
"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 the current exchange rates for various metals, with gold (XAU) priced at 0.000482 per troy ounce.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1759982502,
"base": "USD",
"date": "2025-10-09",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows historical rates for a specific date, allowing users to analyze past market conditions.
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-10-03",
"end_date": "2025-10-10",
"base": "USD",
"rates": {
"2025-10-03": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-10-05": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-10-10": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides a time series of rates, enabling users to visualize trends over a specified period.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1760068902,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This endpoint allows users to convert a specified amount from one metal to another, providing a clear result in troy ounces.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-10-03",
"end_date": "2025-10-10",
"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 response details the fluctuations in rates over a specified period, providing insights into market volatility.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1760068902,
"base": "USD",
"date": "2025-10-10",
"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 endpoint provides essential data for traders looking to perform technical analysis based on open, high, low, and close prices.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1760068902,
"base": "USD",
"date": "2025-10-10",
"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 response provides current bid and ask prices, essential for traders to understand market dynamics and make informed decisions.
Conclusion
The Metals-API is a game-changer for developers and traders in the precious metals market. By providing real-time and historical data, it empowers users to make informed decisions based on accurate market insights. Whether you are looking to track the latest gold prices in Mumbai or analyze historical trends, the Metals-API offers the tools necessary for success.
For more information on how to implement the Metals-API in your applications, refer to the Metals-API Documentation. To explore the full range of supported symbols, visit the Metals-API Supported Symbols page. The potential for innovation in the precious metals market is vast, and with the right tools, developers can create applications that not only meet but exceed user expectations.