Get Historical Data for Mumbai Gold 24k (MUMB-24k) using this API
Get Historical Data for Mumbai Gold 24k (MUMB-24k) using this API
In today's rapidly evolving financial landscape, the demand for accurate and timely data is paramount, especially in the precious metals market. For developers and traders interested in tracking the historical prices of Gold, particularly the Mumbai Gold 24k (MUMB-24k), leveraging the Metals-API can provide a significant advantage. This API offers a comprehensive suite of tools to access real-time and historical data, enabling users to make informed decisions based on market trends and analytics.
About Gold (XAU)
Gold has long been considered a safe haven asset, a hedge against inflation, and a store of value. In recent years, the digital transformation in precious metals has reshaped how investors and traders interact with this timeless commodity. The integration of data analytics and technology in trading has opened new avenues for price discovery and market insights. With the rise of digital asset solutions, the demand for precise and accessible gold pricing data has surged.
The Metals-API provides a robust platform for accessing gold prices, including the ability to retrieve historical data. This capability is essential for traders looking to analyze trends, forecast future prices, and make strategic investment decisions. By utilizing the API, developers can create applications that offer real-time insights into gold prices, enhancing the trading experience.
API Description
The Metals-API is designed to empower developers with the tools necessary to build next-generation applications that require real-time metals data. With its innovative features and technological advancements, the API allows users to access a wealth of information about precious metals, including gold, silver, platinum, and palladium. The API's capabilities extend beyond mere data retrieval; it enables users to analyze market trends, track fluctuations, and convert currencies seamlessly.
One of the standout features of the Metals-API is its ability to provide real-time exchange rate data, updated frequently based on the user's subscription plan. This ensures that traders have access to the most current information, allowing them to make timely decisions in a fast-paced market. Additionally, the API supports a variety of endpoints, each tailored to specific data needs, from historical rates to bid and ask prices.
Key Features and Endpoints
The Metals-API offers a range of endpoints that cater to different data requirements. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for various metals, updated every 60 minutes, 10 minutes, or even more frequently, depending on the subscription plan. This feature is crucial for traders who need to stay informed about the latest market movements.
- Historical Rates Endpoint: Users can access historical rates dating back to 2019 by appending a specific date to the API request. This is particularly useful for analyzing past trends and making predictions based on historical data.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The API includes a currency conversion endpoint, enabling users to convert amounts from one metal to another or to/from USD. This is essential for traders dealing in multiple currencies.
- Time-Series Endpoint: Users can query the API for daily historical rates between two dates of their choice, allowing for in-depth analysis of price movements over time.
- Fluctuation Endpoint: This endpoint provides information about how metal prices fluctuate on a day-to-day basis, helping traders understand market volatility.
- Carat Endpoint: Users can retrieve information about gold rates by carat, which is particularly useful for jewelers and consumers interested in specific gold purity levels.
- Lowest/Highest Price Endpoint: This feature allows users to query the API for the lowest and highest prices of metals over a specified period, aiding in price analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access OHLC data for a specific time period, which is critical for technical analysis and trading strategies.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, offering a broader perspective on metal pricing.
- API Key: Each user is assigned 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 interpretation.
- Available Endpoints: The Metals-API features 14 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 data.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them 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. This resource is invaluable for developers looking to integrate specific metal data into their applications.
API Endpoint Examples and Responses
Understanding the API's response structure is crucial for effective integration. Below are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1767313355,
"base": "USD",
"date": "2026-01-02",
"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 latest gold price (XAU) is 0.000482 per troy ounce, relative to USD.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1767226955,
"base": "USD",
"date": "2026-01-01",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This endpoint allows users to access historical rates for a specific date, providing valuable insights into past market conditions.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-12-26",
"end_date": "2026-01-02",
"base": "USD",
"rates": {
"2025-12-26": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-12-28": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-01-02": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response illustrates how to retrieve exchange rates for a specific time period, enabling users to analyze trends over time.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1767313355,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This endpoint allows users to convert a specified amount from one currency to another, providing flexibility in trading and analysis.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-12-26",
"end_date": "2026-01-02",
"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 metal prices fluctuate over a specified period, helping traders gauge market volatility.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1767313355,
"base": "USD",
"date": "2026-01-02",
"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 is essential for traders who rely on technical analysis, providing key price points for decision-making.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1767313355,
"base": "USD",
"date": "2026-01-02",
"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 current bid and ask prices, which are crucial for understanding market dynamics and making informed trading decisions.
Conclusion
The Metals-API is a powerful tool for developers and traders interested in accessing historical data for Mumbai Gold 24k (MUMB-24k) and other precious metals. With its extensive range of endpoints, the API offers unparalleled access to real-time and historical pricing data, enabling users to analyze trends, track fluctuations, and make informed investment decisions.
By leveraging the capabilities of the Metals-API, developers can create innovative applications that enhance the trading experience, providing users with the insights they need to navigate the complexities of the precious metals market. Whether you are looking to analyze historical trends, convert currencies, or track real-time prices, the Metals-API is an invaluable resource.
For more information on how to get started, visit the Metals-API Documentation and explore the Metals-API Supported Symbols page for a comprehensive list of available metals. Start harnessing the power of real-time metals data today!