Get Malappuram Gold 22k (MALA-22k) daily prices using this API

In the world of precious metals trading, staying updated with the latest prices is crucial for investors and traders alike. One of the most sought-after metals is gold, represented by the symbol XAU. For those interested in tracking the daily prices of Malappuram Gold 22k (MALA-22k), the Metals-API offers a robust solution. This API provides real-time data and insights into gold prices, enabling developers to create applications that can transform how users interact with precious metals.
Metals-API Information
About Gold (XAU)
Gold has always been a symbol of wealth and stability. In recent years, the digital transformation in precious metals has led to innovative ways of trading and investing. The integration of data analytics and technology has revolutionized how traders access market insights. With the rise of digital asset solutions, investors can now make informed decisions based on real-time data.
The Metals-API plays a pivotal role in this transformation. By providing developers with access to real-time and historical data, it empowers them to build next-generation applications that can analyze trends, forecast prices, and enhance trading strategies. This API is not just a tool; it is a gateway to innovation in price discovery and trading technology.
API Description
The Metals-API is designed to deliver comprehensive data on various metals, including gold, silver, platinum, and palladium. Its capabilities extend beyond mere price tracking; it offers a suite of features that can be leveraged for advanced trading strategies and market analysis.
One of the key advantages of the Metals-API is its ability to provide real-time exchange rates. Depending on your subscription plan, the API can return data updated every 60 minutes or even every 10 minutes. This ensures that traders have access to the most current information, allowing them to make timely decisions.
Key Features and Endpoints
The Metals-API boasts a variety of endpoints that cater to different needs:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for all available metals. For example, a request to this endpoint might return the current price of gold (XAU) in USD, updated frequently to reflect market changes.
- Historical Rates Endpoint: Users can access historical rates dating back to 2019. This feature is invaluable for traders looking to analyze past performance and trends. By appending a specific date to the API request, users can retrieve historical data for any metal.
- Bid And Ask Endpoint: This endpoint allows users to retrieve real-time bid and ask prices for metals. Understanding the spread between these prices is crucial for traders looking to optimize their buying and selling strategies.
- Convert Endpoint: The Metals-API includes a currency conversion feature, enabling users to convert amounts between different metals or to/from USD. This is particularly useful for traders operating in multiple currencies.
- Time-Series Endpoint: Users can query the API for daily historical rates between two chosen dates. This feature is essential for conducting in-depth analyses of price movements over time.
- Fluctuation Endpoint: This endpoint provides insights into how metal prices fluctuate on a day-to-day basis. By tracking these fluctuations, traders can identify patterns and make informed decisions.
- Carat Endpoint: For those interested in gold rates by carat, this endpoint allows users to retrieve specific information based on carat weight.
- Lowest/Highest Price Endpoint: Users can query the API to find the lowest and highest prices for a specified date, helping traders identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific time period, offering a comprehensive view of market performance.
- Historical LME Endpoint: For those interested in LME symbols, this endpoint provides historical rates dating back to 2008.
- API Key: Each user is assigned a unique API key, which must be included in requests to authenticate access to the API.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data presentation.
- Available Endpoints: The Metals-API offers numerous endpoints, each designed to provide specific functionalities.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies and metals.
- Gold Price India Endpoint: Users can retrieve the latest gold price in India using this dedicated endpoint.
- News Endpoint: This feature allows users to access the latest news articles related to various metals, keeping them 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
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1744783220,
"base": "USD",
"date": "2025-04-16",
"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": 1744696820,
"base": "USD",
"date": "2025-04-15",
"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-04-09",
"end_date": "2025-04-16",
"base": "USD",
"rates": {
"2025-04-09": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-04-11": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-04-16": {
"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": 1744783220,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2025-04-09",
"end_date": "2025-04-16",
"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": 1744783220,
"base": "USD",
"date": "2025-04-16",
"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": 1744783220,
"base": "USD",
"date": "2025-04-16",
"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 essential tool for developers looking to integrate real-time precious metals data into their applications. With its extensive range of endpoints and capabilities, it allows for innovative trading strategies and market analysis. By leveraging the power of this API, developers can create applications that not only track prices but also provide insights into market trends and fluctuations.
For more detailed information, developers can refer to the Metals-API Documentation and explore the Metals-API Supported Symbols for a comprehensive list of available metals. Embracing the capabilities of the Metals-API can lead to significant advancements in how precious metals are traded and analyzed, paving the way for a more informed and efficient market.