Get Accurate Mumbai Gold (XAU-MUMB) Prices in USD, EUR, and GBP with this API
Get Accurate Mumbai Gold (XAU-MUMB) Prices in USD, EUR, and GBP with this API
In today's fast-paced financial landscape, having access to accurate and real-time data is crucial for making informed decisions, especially in the precious metals market. The Metals-API provides developers with a powerful tool to obtain precise Gold (XAU) prices in various currencies, including USD, EUR, and GBP. This blog post will delve into the capabilities of the Metals-API, exploring its innovative features, potential applications, and how it can transform the way businesses interact with gold pricing data.
About Gold (XAU)
Gold has long been a symbol of wealth and stability, making it a critical asset in financial markets. As digital transformation sweeps across industries, the precious metals sector is no exception. The integration of technology in trading and data analytics is reshaping how investors and businesses approach gold trading. With the rise of digital asset solutions, understanding the dynamics of gold pricing has never been more important.
The Metals-API stands at the forefront of this transformation, offering developers the tools necessary to harness real-time data for gold and other precious metals. By leveraging advanced data analytics and market insights, businesses can gain a competitive edge in price discovery and trading strategies.
API Description
The Metals-API is designed to empower developers to build next-generation applications that require real-time metals data. With its robust capabilities, the API allows users to access a wealth of information about gold prices and other metals, enabling them to make data-driven decisions. The API's innovative features include real-time exchange rates, historical data, and various endpoints tailored to meet diverse business needs.
For more information on how to get started, visit the Metals-API Website or check out the Metals-API Documentation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different requirements, making it a versatile tool for developers. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data, updated every 60 minutes, every 10 minutes, or even more frequently, depending on your subscription plan. This feature is essential for businesses that need to stay updated with the latest market movements.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. By appending a specific date (YYYY-MM-DD) to the API request, users can retrieve past gold prices, which is invaluable for trend analysis and 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 buying and selling strategies.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, enabling users to convert any amount from one currency to another. This feature simplifies transactions and helps businesses manage their international operations more effectively.
- Time-Series Endpoint: Users can query the API for daily historical rates between two dates of their choice. This endpoint is particularly useful for analyzing price trends over specific periods.
- Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis with this endpoint. It provides insights into market volatility, helping businesses make informed decisions.
- Carat Endpoint: Retrieve information about gold rates by carat. This feature is particularly useful for jewelers and businesses dealing with gold in various purities.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest price for gold over a specified period. This information is critical for understanding market extremes and making strategic trading decisions.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for gold, allowing traders to analyze market performance over time.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008. This endpoint is essential for businesses that require comprehensive historical data for analysis.
- API Key: Each user is assigned a unique API key that must be included in the API requests to authenticate access.
- API Response: The Metals-API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The API comes with 14 endpoints, each providing different functionalities tailored to meet diverse business needs.
- Supported Symbols Endpoint: Access a constantly updated list of all available currencies and metals supported by the API.
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
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1781742086,
"base": "USD",
"date": "2026-06-18",
"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
Access historical exchange rates for any date since 1999.
{
"success": true,
"timestamp": 1781655686,
"base": "USD",
"date": "2026-06-17",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-series Endpoint
Get exchange rates for a specific time period.
{
"success": true,
"timeseries": true,
"start_date": "2026-06-11",
"end_date": "2026-06-18",
"base": "USD",
"rates": {
"2026-06-11": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-06-13": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-06-18": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
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": 1781742086,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-06-11",
"end_date": "2026-06-18",
"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
Get OHLC data for a specific time period.
{
"success": true,
"timestamp": 1781742086,
"base": "USD",
"date": "2026-06-18",
"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
Get current bid and ask prices for metals.
{
"success": true,
"timestamp": 1781742086,
"base": "USD",
"date": "2026-06-18",
"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 resource for developers seeking to integrate accurate gold pricing data into their applications. With its comprehensive range of endpoints and features, the API enables businesses to make informed decisions based on real-time and historical data. By leveraging the capabilities of the Metals-API, organizations can enhance their trading strategies, optimize their operations, and stay ahead in the competitive precious metals market.
For further exploration of the API's capabilities, be sure to check out the Metals-API Documentation and the Metals-API Supported Symbols page. Embrace the future of precious metals trading with the innovative solutions offered by the Metals-API.