Easily Get Malappuram Gold 22k (MALA-22k) Historical Prices with this API
Easily Get Malappuram Gold 22k (MALA-22k) Historical Prices with this API
In today's digital age, the demand for real-time data is paramount, especially in the financial sector. For those interested in tracking the historical prices of precious metals like Gold, the Metals-API offers a robust solution. This API provides developers with the tools necessary to access and analyze historical price data, including the specific rates for Malappuram Gold 22k (MALA-22k). In this blog post, we will explore the capabilities of the Metals-API, focusing on how to retrieve historical prices and the innovative technology behind it.
About Gold (XAU)
Gold, represented by the symbol XAU, has been a cornerstone of wealth and investment for centuries. As a precious metal, it plays a crucial role in the global economy, serving as a hedge against inflation and currency fluctuations. The digital transformation in precious metals trading has revolutionized how investors and traders access market data. With the integration of data analytics and technology, market insights have become more accessible, allowing for informed decision-making.
One of the most significant advancements in this field is the ability to leverage real-time data through APIs. The Metals-API stands out by providing developers with the capability to build next-generation applications that can analyze historical price trends, track fluctuations, and even convert between different metal values. This innovation in price discovery not only enhances the trading experience but also empowers users to make better investment choices.
API Description
The Metals-API is designed to provide comprehensive access to real-time and historical metal prices. Its capabilities extend beyond mere data retrieval; it allows developers to create applications that can analyze trends, forecast prices, and provide insights into market movements. The API is built with a focus on technological advancement, ensuring that users have access to the most accurate and timely data available.
For developers looking to integrate this API into their applications, the Metals-API Documentation serves as an invaluable resource. It outlines the various endpoints available, including the latest rates, historical rates, and conversion features, providing detailed explanations and examples for each.
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, updated at intervals depending on your subscription plan. Users can access the latest prices for various metals, including Gold, Silver, and Platinum.
- Historical Rates Endpoint: Users can retrieve historical rates dating back to 2019 by appending a specific date to the API request. This feature is particularly useful for analyzing price trends over time.
- Bid And Ask Endpoint: This powerful feature allows users to obtain real-time bid and ask prices for metals, facilitating better trading decisions.
- Convert Endpoint: The conversion endpoint enables users to convert amounts between different metals or from/to USD, making it easier to manage investments across various assets.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two chosen dates, providing a comprehensive view of price movements over time.
- Fluctuation Endpoint: Users can track how prices fluctuate on a day-to-day basis, offering insights into market volatility.
- Carat Endpoint: This endpoint provides information about Gold rates by Carat, which is essential for jewelers and investors dealing with different purity levels.
- Lowest/Highest Price Endpoint: Users can query the API to find the lowest and highest prices for a specified date, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides detailed OHLC data for specific time periods, essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, useful for those tracking industrial metal prices.
- API Key: Each user is provided with a unique API key, which is necessary for authentication when making requests.
- API Response: The API delivers exchange rates relative to USD, ensuring consistency in data presentation.
- Available Endpoints: The Metals-API features 14 different endpoints, each designed to fulfill specific data retrieval needs.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available metal symbols, ensuring users have access to the latest information.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them informed about market trends and developments.
List of Symbols
The Metals-API provides access to a comprehensive range of metal symbols, including but not limited to:
- XAU - Gold
- XAG - Silver
- XPT - Platinum
- XPD - Palladium
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 effective integration. Below are examples of various endpoints and their responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1762138915,
"base": "USD",
"date": "2025-11-03",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
Historical Rates Endpoint
Access historical exchange rates for any date since 1999.
{
"success": true,
"timestamp": 1762052515,
"base": "USD",
"date": "2025-11-02",
"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": "2025-10-27",
"end_date": "2025-11-03",
"base": "USD",
"rates": {
"2025-10-27": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-10-29": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-11-03": {
"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": 1762138915,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2025-10-27",
"end_date": "2025-11-03",
"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": 1762138915,
"base": "USD",
"date": "2025-11-03",
"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": 1762138915,
"base": "USD",
"date": "2025-11-03",
"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 and analyze historical prices of precious metals like Gold. With its extensive range of endpoints, users can retrieve real-time data, historical rates, and even track fluctuations over time. By leveraging this API, developers can create applications that provide valuable insights into the precious metals market, enhancing the trading experience for users.
For those interested in exploring the capabilities of the Metals-API further, the Metals-API Documentation is an excellent starting point. Additionally, the Metals-API Supported Symbols page provides a comprehensive list of available metal symbols, ensuring that users have access to the latest information. By integrating the Metals-API into your applications, you can harness the power of real-time metals data and stay ahead in the ever-evolving financial landscape.