Discover Mumbai Gold 22k (MUMB-22k) Historical Prices with this API
Discover Mumbai Gold 22k (MUMB-22k) Historical Prices with this API
In the ever-evolving landscape of precious metals trading, the demand for accurate and real-time data has never been more critical. For developers and traders alike, understanding the historical prices of gold, specifically the Mumbai Gold 22k (MUMB-22k), is essential for making informed decisions. The Metals-API provides a robust solution for accessing historical prices and other vital data related to gold and other metals. This blog post will delve into the capabilities of the Metals-API, focusing on how to retrieve historical prices and the innovative features that empower developers to create next-generation applications.
About Gold (XAU)
Gold, represented by the symbol XAU, is one of the most sought-after precious metals in the world. Its value is influenced by various factors, including market demand, geopolitical stability, and economic indicators. The digital transformation in the precious metals market has led to a surge in data analytics and market insights, allowing traders to make more informed decisions. With the integration of technology in trading, the process of price discovery has become more efficient, enabling real-time access to gold prices and trends.
As the market for digital assets continues to grow, the importance of reliable data solutions cannot be overstated. The Metals-API stands at the forefront of this transformation, offering developers the tools they need to build applications that leverage real-time metals data. By utilizing the Metals-API, developers can create innovative solutions that enhance trading strategies and provide users with valuable insights into the gold market.
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 empowers developers to build applications that can analyze market trends, track price fluctuations, and convert between different metals and currencies. With a focus on innovation and technological advancement, the Metals-API is transforming the way traders interact with precious metals data.
For more information about the API's capabilities, visit the Metals-API Website. The Metals-API Documentation provides comprehensive details on how to implement the API and utilize its various features effectively.
Key Features and Endpoints
The Metals-API offers a range of endpoints that cater to different data needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated every 60 minutes, 10 minutes, or even more frequently, depending on your subscription plan. This feature is essential 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 historical prices for gold and other metals, allowing for in-depth market analysis.
- Bid And Ask Endpoint: This powerful feature enables you to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, allowing you to convert any amount from one metal to another or to/from USD. This feature is particularly useful for traders dealing in multiple currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This endpoint is invaluable for analyzing trends over specific periods.
- Fluctuation Endpoint: Retrieve information about how metal prices fluctuate on a day-to-day basis. This endpoint helps traders understand market volatility and price trends.
- Carat Endpoint: Access information about gold rates by carat. This feature is particularly useful for jewelers and traders dealing in different carat weights.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specific date, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint allows you to retrieve the open, high, low, and close prices for a specific date, which is crucial 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 essential for accessing the API and must be included in your requests.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API features 14 different endpoints, each providing unique functionalities to cater to diverse data needs.
- Supported Symbols Endpoint: This endpoint returns all available currencies and metals, ensuring you have access to the latest symbols.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping you 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.
API Endpoint Examples and Responses
Understanding the API responses is crucial for effective implementation. Below are examples of various endpoints and their JSON responses:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1768263506,
"base": "USD",
"date": "2026-01-13",
"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 exchange rate for gold (XAU) is 0.000482 per troy ounce, providing a snapshot of the current market conditions.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1768177106,
"base": "USD",
"date": "2026-01-12",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response shows the historical exchange rates for gold and other metals on January 12, 2026, allowing for analysis of price movements over time.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-01-06",
"end_date": "2026-01-13",
"base": "USD",
"rates": {
"2026-01-06": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-01-08": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-01-13": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This example illustrates how to retrieve exchange rates for a specific time period, enabling traders to analyze trends and make predictions based on historical data.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1768263506,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response demonstrates how to convert an amount from USD to gold (XAU), providing the result in troy ounces. This feature is particularly useful for traders who need to calculate their holdings in different metals.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-01-06",
"end_date": "2026-01-13",
"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, allowing traders to gauge market volatility.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1768263506,
"base": "USD",
"date": "2026-01-13",
"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 and other metals on a specific date, which is essential for traders conducting technical analysis.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1768263506,
"base": "USD",
"date": "2026-01-13",
"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 metals, which is crucial for understanding market dynamics and making informed trading decisions.
Conclusion
The Metals-API is an invaluable resource for developers and traders looking to access real-time and historical data for precious metals like gold. By leveraging the various endpoints offered by the API, users can gain insights into market trends, analyze historical prices, and make informed trading decisions. The ability to convert between different metals and currencies further enhances the API's utility, making it a comprehensive solution for anyone involved in precious metals trading.
For more detailed information on how to implement the Metals-API and explore its features, refer to the Metals-API Documentation. To stay updated on the latest symbols and market data, visit the Metals-API Supported Symbols page. The future of precious metals trading is here, and with the Metals-API, you can be at the forefront of this digital transformation.