Access Mumbai Gold 18k (MUMB-18k) prices via this API
Access Mumbai Gold 18k (MUMB-18k) Prices via this API
In the ever-evolving landscape of precious metals trading, the ability to access real-time data is paramount for developers and traders alike. The Metals-API offers a robust solution for obtaining up-to-date information on various metals, including the coveted Gold (XAU). This blog post delves into the intricacies of the Metals-API, its capabilities, and how it can empower developers to create innovative applications that leverage real-time metals data.
Metals-API Information
About Gold (XAU)
Gold has long been a symbol of wealth and stability, and its market dynamics are influenced by a multitude of factors ranging from geopolitical events to economic indicators. With the digital transformation in precious metals trading, data analytics and market insights have become essential tools for traders. The integration of technology in trading has revolutionized how market participants access and interpret data, leading to more informed decision-making.
As the demand for digital asset solutions grows, the importance of real-time price discovery becomes increasingly evident. The Metals-API provides a comprehensive suite of tools that enable developers to access critical market data, facilitating innovation in trading strategies and enhancing the overall trading experience.
API Description
The Metals-API is designed to provide developers with seamless access to real-time and historical data for various metals, including Gold, Silver, Platinum, and Palladium. By leveraging this API, developers can build next-generation applications that require accurate and timely metals pricing information. The API's capabilities extend beyond mere data retrieval; it empowers users to analyze trends, track fluctuations, and make informed trading decisions.
For more information on how to get started, visit the Metals-API Documentation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs, ensuring that developers have the tools necessary to create powerful applications. 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 allows developers to access the most current pricing information for Gold and other metals.
- Historical Rates Endpoint: Historical rates are available for most currencies dating back to 2019. Developers can query the API for historical rates by appending a specific date, enabling them to analyze trends over time.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time Bid and Ask prices for metals, providing insight into market liquidity and pricing dynamics.
- Convert Endpoint: The API includes a currency conversion endpoint, which can be used to convert any amount from one metal to another or to/from USD. This is particularly useful for traders who operate in multiple currencies.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two dates of their choice, facilitating in-depth analysis of price movements over time.
- Fluctuation Endpoint: Users can retrieve information about how currencies fluctuate on a day-to-day basis, helping traders understand market volatility.
- Carat Endpoint: This feature provides information about Gold rates by Carat, which is essential for jewelers and traders dealing in different purity levels.
- Lowest/Highest Price Endpoint: This endpoint allows users to query the API to get the lowest and highest price for a specified date, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access the open, high, low, and close prices for a specific time period, which is crucial for technical analysis.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, allowing for comprehensive market analysis.
- API Key: Each user is assigned a unique API Key that must be included in the API requests, ensuring secure access to the data.
- API Response: Exchange rates delivered by the Metals-API are by default relative to USD, and all data is returned in a structured JSON format, making it easy to parse and utilize.
- Available Endpoints: The API includes 14 endpoints, each providing different functionalities, ensuring that developers have access to a wide range of data.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, allowing developers to stay informed about the latest symbols.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them updated on market trends and developments.
For a complete list of all supported symbols and their specifications, refer to the Metals-API Supported Symbols.
API Endpoint Examples and Responses
Understanding the API's response structure is crucial for effective integration. Here are examples of responses from various endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1767830968,
"base": "USD",
"date": "2026-01-08",
"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"
}
Historical Rates Endpoint
{
"success": true,
"timestamp": 1767744568,
"base": "USD",
"date": "2026-01-07",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-01-01",
"end_date": "2026-01-08",
"base": "USD",
"rates": {
"2026-01-01": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-01-03": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-01-08": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1767830968,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-01-01",
"end_date": "2026-01-08",
"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"
}
OHLC (Open/High/Low/Close) Endpoint
{
"success": true,
"timestamp": 1767830968,
"base": "USD",
"date": "2026-01-08",
"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"
}
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1767830968,
"base": "USD",
"date": "2026-01-08",
"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"
}
Conclusion
The Metals-API is a powerful tool for developers looking to access real-time and historical data for precious metals like Gold (XAU). With its extensive range of endpoints and features, the API provides the necessary resources to build innovative applications that can analyze market trends, track fluctuations, and facilitate informed trading decisions. By integrating this API into their applications, developers can harness the transformative potential of real-time metals data, paving the way for enhanced trading strategies and improved market insights.
For further exploration of the API's capabilities, visit the Metals-API Website and check out the Metals-API Documentation for detailed information on implementation and usage. Stay ahead in the precious metals market by leveraging the power of real-time data!