Get Mumbai Gold 24k (MUMB-24k) Historical Prices and Analyze Market Trends with this API
Get Mumbai Gold 24k (MUMB-24k) Historical Prices and Analyze Market Trends with this API
In the ever-evolving landscape of precious metals trading, the ability to access accurate and timely data is paramount. For developers and traders interested in the historical prices of Gold, particularly the Mumbai Gold 24k (MUMB-24k), the Metals-API offers a robust solution. This API not only provides historical price data but also empowers users to analyze market trends effectively. In this blog post, we will delve into the capabilities of the Metals-API, focusing on how to retrieve historical prices and leverage advanced features for market analysis.
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a symbol of wealth and stability. In recent years, the digital transformation in precious metals has revolutionized how traders and investors interact with this valuable asset. 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, understanding the historical prices of Gold has become more accessible than ever.
As we explore the capabilities of the Metals-API, we will highlight how it facilitates the retrieval of historical Gold prices, enabling developers to build innovative applications that can analyze market trends and fluctuations. The API's real-time data capabilities allow for a deeper understanding of market dynamics, making it an essential tool for anyone involved in precious metals trading.
API Description
The Metals-API is designed to provide developers with comprehensive access to metals pricing data. It offers a range of endpoints that cater to various needs, from real-time pricing to historical data analysis. The API is built on modern technology stacks, ensuring fast and reliable access to data.
One of the standout features of the Metals-API is its ability to deliver real-time exchange rates for various metals, including Gold, Silver, Platinum, and Palladium. This capability is crucial for traders who need to make informed decisions based on the latest market conditions. The API also supports historical data queries, allowing users to analyze price trends over time.
Key Features and Endpoints
The Metals-API boasts several key features that enhance its functionality and usability:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint provides real-time exchange rate data for Gold and other metals, updated every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for traders who require up-to-the-minute pricing information.
- Historical Rates Endpoint: Users can access historical rates for Gold dating back to 2019. By appending a specific date to the API request, developers can retrieve historical price data, which is invaluable for trend analysis and market forecasting.
- Bid and Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for Gold and other metals. Understanding the bid-ask spread is crucial for traders looking to optimize their entry and exit points.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, enabling users to convert amounts between different metals or to/from USD. This feature is particularly useful for traders dealing in multiple currencies.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two specified dates. It is ideal for analyzing trends over specific periods, helping traders make informed decisions based on historical performance.
- Fluctuation Endpoint: Users can track how Gold prices fluctuate on a day-to-day basis. This endpoint provides insights into market volatility, which is essential for risk management and strategic planning.
- Carat Endpoint: For those interested in Gold rates by carat, this endpoint allows users to retrieve information specific to different carat values, enhancing the granularity of data available.
- Lowest/Highest Price Endpoint: This feature enables users to query the API for the lowest and highest prices of Gold over a specified period, providing valuable insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can obtain open, high, low, and close prices for Gold, which are crucial for technical analysis and trading strategies.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols, dating back to 2008, allowing for comprehensive analysis of market trends over a longer timeframe.
- API Key: Each user is assigned a unique API key, which is required for authentication when making requests to the API. This ensures secure access to the data.
- API Response: The Metals-API delivers exchange rates relative to USD by default, with all data returned in a structured JSON format, making it easy to integrate into applications.
- Available Endpoints: The API offers a total of 14 endpoints, each providing different functionalities, ensuring that users have access to a wide range of data.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available metal symbols, allowing users to stay informed about the latest offerings.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them updated on market developments and trends.
API Endpoint Examples and Responses
To illustrate the capabilities of the Metals-API, let's explore some example responses from key endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1761192118,
"base": "USD",
"date": "2025-10-23",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
This response shows the latest exchange rates for Gold (XAU) and other metals, providing a snapshot of current market conditions.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1761105718,
"base": "USD",
"date": "2025-10-22",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example demonstrates how to access historical rates for Gold, allowing users to analyze price trends over time.
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-10-16",
"end_date": "2025-10-23",
"base": "USD",
"rates": {
"2025-10-16": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-10-18": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-10-23": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides daily historical rates for Gold over a specified period, enabling users to visualize trends and fluctuations.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1761192118,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
The Convert Endpoint allows users to convert amounts from one metal to another, providing flexibility in trading and analysis.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-10-16",
"end_date": "2025-10-23",
"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 fluctuate over a specified period, which is essential for understanding market volatility.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1761192118,
"base": "USD",
"date": "2025-10-23",
"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 open, high, low, and close prices for Gold, which are critical for traders conducting technical analysis.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1761192118,
"base": "USD",
"date": "2025-10-23",
"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 for Gold, allowing traders to make informed decisions based on market conditions.
Conclusion
The Metals-API is a powerful tool for developers and traders looking to access historical prices and analyze market trends for Gold and other precious metals. By leveraging its extensive features, including real-time rates, historical data, and advanced analytics, users can gain valuable insights into market dynamics. The API's robust architecture and comprehensive documentation make it easy to integrate into various applications, enabling developers to create innovative solutions for the precious metals market.
For those interested in exploring the full capabilities of the Metals-API, be sure to check out the Metals-API Documentation and the Metals-API Supported Symbols page for a complete list of available metal symbols. With the right tools and data at your fingertips, you can navigate the complexities of the precious metals market with confidence.