Retrieve Mumbai Gold 18k (MUMB-18k) prices using this API
Introduction
In today's fast-paced financial landscape, the ability to retrieve real-time data on precious metals like Gold (XAU) is crucial for traders, investors, and developers alike. The Metals-API offers a powerful solution for accessing up-to-date Gold 18k (MUMB-18k) prices and other metal rates. This blog post will explore the innovative capabilities of the Metals-API, its endpoints, and how it empowers developers to create next-generation applications in the precious metals market.
About Gold (XAU)
Gold has long been regarded as a safe haven asset, especially during times of economic uncertainty. Its value is influenced by various factors, including market demand, geopolitical events, and currency fluctuations. As digital transformation continues to reshape the financial landscape, the integration of technology in trading precious metals has become increasingly important. The Metals-API provides developers with the tools to harness data analytics and market insights, enabling them to make informed decisions based on real-time information.
Digital Transformation in Precious Metals
The rise of digital assets has transformed how investors approach precious metals. With the Metals-API, developers can access real-time data, allowing for innovative price discovery methods and improved trading strategies. By leveraging data analytics, traders can analyze historical trends and make predictions about future price movements, enhancing their investment strategies.
Technology Integration in Trading
Integrating technology into trading platforms has revolutionized the way traders interact with the market. The Metals-API allows for seamless integration with existing applications, enabling developers to build robust systems that can handle real-time data feeds. This integration not only improves user experience but also enhances the accuracy of trading decisions.
Innovation in Price Discovery
Price discovery is a critical aspect of trading in the precious metals market. The Metals-API provides access to various endpoints that facilitate accurate and timely price information. By utilizing the latest rates endpoint, developers can retrieve real-time exchange rate data, ensuring that their applications reflect the most current market conditions.
API Description
The Metals-API is a comprehensive JSON API designed to provide real-time and historical data on precious metals. It empowers developers to build applications that can access a wide range of functionalities, including retrieving the latest rates, historical data, and performing currency conversions. The API is designed with innovation and technological advancement in mind, making it a valuable tool for anyone involved in the precious metals market.
Key Features and Endpoints
The Metals-API offers a variety of endpoints, each serving a unique purpose. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for precious metals, updated every 60 minutes, 10 minutes, or even more frequently, depending on your subscription plan. This ensures that traders have access to the most current prices.
- Historical Rates Endpoint: Access historical rates dating back to 2019. By appending a specific date in the format YYYY-MM-DD, developers can query the API for past rates, allowing for in-depth analysis of market trends.
- Bid And Ask Endpoint: This powerful feature retrieves real-time bid and ask prices, giving traders insight into market liquidity and helping them make informed trading decisions.
- Convert Endpoint: The API includes a currency conversion endpoint, allowing users to convert any amount from one currency to another, facilitating seamless transactions across different markets.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two chosen dates, enabling them to analyze trends over specific periods.
- Fluctuation Endpoint: This endpoint provides information on how currencies fluctuate on a day-to-day basis, helping traders understand market volatility.
- Carat Endpoint: Retrieve information about Gold rates by carat, allowing for precise calculations in jewelry and investment contexts.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest price for a specified date, providing valuable insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Access open, high, low, and close prices for a specific date, essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, useful for in-depth market research.
- API Key: Each user is assigned a unique API key, which is required for accessing the API's functionalities.
- API Response: The API delivers exchange rates relative to USD, ensuring consistency in data presentation.
- Available Endpoints: The Metals-API features 14 endpoints, each providing distinct functionalities for developers.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies, ensuring that developers can work with the most current data.
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 how to interact with the Metals-API is crucial for developers. Below are examples of various endpoints and their corresponding JSON responses.
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1781309477,
"base": "USD",
"date": "2026-06-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 the success of the request and provides the latest exchange rates for various metals, including Gold (XAU).
Historical Rates Endpoint
Access historical exchange rates for any date since 1999:
{
"success": true,
"timestamp": 1781223077,
"base": "USD",
"date": "2026-06-12",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response shows historical rates for Gold and other metals, allowing for analysis of past market behavior.
Time-series Endpoint
Get exchange rates for a specific time period:
{
"success": true,
"timeseries": true,
"start_date": "2026-06-06",
"end_date": "2026-06-13",
"base": "USD",
"rates": {
"2026-06-06": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-06-08": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-06-13": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides a time series of exchange rates, enabling developers to analyze trends over a specified period.
Convert Endpoint
Convert any amount from one metal to another or to/from USD:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1781309477,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response shows the conversion of USD to Gold (XAU), providing the user with the equivalent amount in troy ounces.
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2026-06-06",
"end_date": "2026-06-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 response provides insights into how the rates for Gold and other metals have fluctuated over a specified period.
OHLC (Open/High/Low/Close) Price Endpoint
Get OHLC data for a specific time period:
{
"success": true,
"timestamp": 1781309477,
"base": "USD",
"date": "2026-06-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 open, high, low, and close prices for Gold and other metals, essential for traders conducting technical analysis.
Bid/Ask Endpoint
Get current bid and ask prices for metals:
{
"success": true,
"timestamp": 1781309477,
"base": "USD",
"date": "2026-06-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 response provides the current bid and ask prices for Gold and other metals, allowing traders to gauge market conditions effectively.
Conclusion
The Metals-API is a powerful tool for developers looking to integrate real-time and historical data on precious metals like Gold (XAU) into their applications. By leveraging its various endpoints, developers can create innovative solutions that enhance trading strategies, improve market analysis, and facilitate seamless transactions. The API's capabilities, including real-time rates, historical data, and conversion features, make it an invaluable resource in the ever-evolving landscape of precious metals trading.
For more information on how to implement the Metals-API in your projects, refer to the Metals-API Documentation. Explore the full range of supported symbols on the Metals-API Supported Symbols page, and start building your applications today!