Get Malappuram Gold 18k (MALA-18k) Monthly Historical Prices using this API
Get Malappuram Gold 18k (MALA-18k) Monthly Historical Prices using this API
In today's digital age, the demand for accurate and real-time data in the precious metals market has surged. For developers and financial analysts, having access to reliable historical prices of gold, such as Malappuram Gold 18k (MALA-18k), is crucial for making informed decisions. The Metals-API provides a robust solution for obtaining historical prices and other valuable data related to precious metals like gold (XAU). This blog post will delve into the capabilities of the Metals-API, focusing on how to retrieve historical prices and the innovative features that make it an essential tool for developers.
Metals-API Information
The Metals-API is a powerful tool designed to provide developers with real-time and historical data on various metals, including gold, silver, platinum, and palladium. It offers a comprehensive suite of endpoints that allow users to access current rates, historical data, and even perform conversions between different metals and currencies. This API is particularly beneficial for those involved in trading, investment analysis, and market research.
About Gold (XAU)
Gold has always been a symbol of wealth and stability. In recent years, the digital transformation in the precious metals market has led to the integration of advanced data analytics and technology in trading practices. The Metals-API harnesses this transformation by providing developers with the tools needed to access market insights and trends in real-time.
With the rise of digital asset solutions, gold trading has evolved beyond traditional methods. The integration of technology in price discovery processes has allowed for more accurate and timely information, enabling traders to make better decisions. The Metals-API plays a pivotal role in this ecosystem, offering a seamless way to access gold prices and historical data.
API Description
The Metals-API is designed with innovation and technological advancement in mind. It empowers developers to build next-generation applications that can leverage real-time metals data. The API is user-friendly and provides extensive documentation, making it easy for developers to integrate its functionalities into their applications. For more information, you can visit the Metals-API Website and explore the Metals-API Documentation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated based on your subscription plan. Depending on your plan, you can receive updates every 60 minutes or even every 10 minutes.
- Historical Rates Endpoint: Access historical rates dating back to 2019. By appending a specific date to your query, you can retrieve the historical price of gold and other metals.
- Bid And Ask Endpoint: This feature allows you to obtain real-time bid and ask prices for metals, providing insights into market dynamics.
- Convert Endpoint: Easily convert any amount from one metal to another or to/from USD, facilitating seamless transactions.
- Time-Series Endpoint: Query daily historical rates between two dates of your choice, allowing for in-depth analysis of price trends over time.
- Fluctuation Endpoint: Track how metal prices fluctuate on a day-to-day basis, providing valuable insights into market volatility.
- Carat Endpoint: Retrieve information about gold rates by carat, which is essential for jewelers and consumers alike.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date, helping you identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Obtain open, high, low, and close prices for a specific time period, which is crucial for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a long-term 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 returns exchange rates relative to USD, ensuring consistency in data interpretation.
- Available Endpoints: With 14 different endpoints, the Metals-API offers a wide range of functionalities to meet various data needs.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies and metals.
- 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
To give you a better understanding of how the Metals-API works, here are some examples of API responses for various endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1763435015,
"base": "USD",
"date": "2025-11-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
{
"success": true,
"timestamp": 1763348615,
"base": "USD",
"date": "2025-11-17",
"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": "2025-11-11",
"end_date": "2025-11-18",
"base": "USD",
"rates": {
"2025-11-11": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-11-13": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-11-18": {
"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": 1763435015,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-11-11",
"end_date": "2025-11-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
{
"success": true,
"timestamp": 1763435015,
"base": "USD",
"date": "2025-11-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
{
"success": true,
"timestamp": 1763435015,
"base": "USD",
"date": "2025-11-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 an invaluable resource for developers seeking to access historical prices and real-time data for precious metals like gold. With its extensive range of endpoints, the API allows for seamless integration into applications, enabling users to perform complex analyses and make informed trading decisions. By leveraging the power of this API, developers can harness the potential of real-time metals data, paving the way for innovative solutions in the financial sector.
For further exploration of the API's capabilities, be sure to check out the Metals-API Documentation and familiarize yourself with the Metals-API Supported Symbols. The future of trading and investment in precious metals is here, and the Metals-API is at the forefront of this transformation.