Obtain Mangalore Gold 22k (MANG-22k) Historical Prices via this API

Introduction
In the world of precious metals trading, obtaining accurate and timely data is crucial for making informed decisions. One of the most sought-after metals is gold, represented by the symbol XAU. For developers and traders looking to access historical prices of Mangalore Gold 22k (MANG-22k), the Metals-API offers a robust solution. This API provides comprehensive access to real-time and historical data, enabling users to analyze market trends and make strategic decisions.
About Gold (XAU)
Gold has long been a symbol of wealth and stability, serving as a hedge against inflation and economic uncertainty. With the digital transformation in precious metals, the integration of technology into trading practices has revolutionized how investors access and interpret market data. The rise of data analytics has empowered traders to gain deeper insights into market movements, allowing for more informed trading strategies.
As the demand for gold continues to grow, innovative solutions for price discovery have emerged. The Metals-API stands at the forefront of this transformation, providing developers with the tools necessary to build next-generation applications that leverage real-time metals data. By utilizing this API, developers can create digital asset solutions that cater to the evolving needs of the market.
Metals-API Information
The Metals-API is designed to provide developers with a powerful toolset for accessing metals prices and historical data. Its capabilities extend beyond mere price retrieval; it empowers users to build applications that can analyze trends, forecast prices, and provide insights into market behavior.
With a focus on innovation and technological advancement, the Metals-API enables developers to harness the power of real-time data. This API is particularly beneficial for those looking to integrate metals pricing into their applications, whether for trading platforms, investment analysis tools, or financial reporting systems.
Key Features and Endpoints
The Metals-API offers a variety of endpoints, each designed to meet specific needs. Here are some of the key features:
Latest Rates Endpoint
Depending on your subscription plan, the API's latest rates endpoint provides real-time exchange rate data updated every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for traders who need to stay updated on the latest market conditions.
{
"success": true,
"timestamp": 1749603986,
"base": "USD",
"date": "2025-06-11",
"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
For those interested in analyzing past market trends, the historical rates endpoint allows users to access historical rates for most currencies dating back to 2019. By appending a specific date to the API request, developers can retrieve valuable historical data.
{
"success": true,
"timestamp": 1749517586,
"base": "USD",
"date": "2025-06-10",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
The bid and ask endpoint is a powerful feature that enables users to retrieve real-time bid and ask prices for various metals. This information is crucial for traders looking to execute orders at the best possible prices.
{
"success": true,
"timestamp": 1749603986,
"base": "USD",
"date": "2025-06-11",
"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"
}
Convert Endpoint
The convert endpoint allows users to convert any amount from one currency to another. This feature is particularly useful for traders who need to quickly assess the value of their holdings in different currencies.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1749603986,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The time-series endpoint allows users to query the API for daily historical rates between two dates of their choice. This feature is invaluable for conducting trend analysis and understanding price movements over time.
{
"success": true,
"timeseries": true,
"start_date": "2025-06-04",
"end_date": "2025-06-11",
"base": "USD",
"rates": {
"2025-06-04": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-06-06": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-06-11": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The fluctuation endpoint provides insights into how currencies fluctuate on a day-to-day basis. This feature is essential for traders looking to understand market volatility and make informed trading decisions.
{
"success": true,
"fluctuation": true,
"start_date": "2025-06-04",
"end_date": "2025-06-11",
"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"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC endpoint allows users to retrieve the open, high, low, and close prices for a specific time period. This data is crucial for technical analysis and helps traders identify potential entry and exit points.
{
"success": true,
"timestamp": 1749603986,
"base": "USD",
"date": "2025-06-11",
"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"
}
Historical LME Endpoint
The historical LME endpoint provides access to historical rates for LME symbols dating back to 2008. This feature is particularly useful for those interested in the London Metal Exchange's pricing data.
API Key and Authentication
To access the Metals-API, users must obtain an API key, which is passed into the API base URL's access_key parameter. This key is essential for authentication and ensures that only authorized users can access the data.
API Response
Exchange rates delivered by the Metals-API are by default relative to USD. All data is returned in a structured JSON format, making it easy for developers to parse and utilize the information in their applications.
Common Use Cases
Developers can leverage the Metals-API for various applications, including:
- Building trading platforms that require real-time pricing data.
- Creating investment analysis tools that utilize historical data for forecasting.
- Integrating metals pricing into financial reporting systems for accurate valuations.
Conclusion
The Metals-API provides a comprehensive solution for accessing historical prices and real-time data for precious metals like gold. With its extensive range of endpoints and capabilities, developers can create powerful applications that enhance trading strategies and market analysis. By utilizing the Metals-API Documentation, developers can explore the full potential of this API and integrate it seamlessly into their projects.
For those interested in accessing a wide range of metal symbols, the Metals-API Supported Symbols page offers a complete list of available options. As the market for precious metals continues to evolve, leveraging the capabilities of the Metals-API will be essential for staying competitive and informed.