Get Malappuram Gold 24k (MALA-24k) Historical Prices for the Last 30 Days using this API

Get Malappuram Gold 24k (MALA-24k) Historical Prices for the Last 30 Days using this API
Metals-API comes into play, providing a powerful tool for retrieving historical prices, including those for Malappuram Gold 24k (MALA-24k). In this blog post, we will explore how to leverage the Metals-API to obtain historical prices for gold over the last 30 days, along with a comprehensive overview of its features and capabilities.
About Gold (XAU)
Metals-API Overview
Metals-API is a comprehensive JSON API that provides access to real-time and historical prices for various metals, including gold, silver, platinum, and palladium. Its capabilities extend beyond mere price retrieval; it empowers developers to create applications that can analyze market trends, perform currency conversions, and track fluctuations over time. The API is designed with innovation in mind, allowing for seamless integration into existing systems and applications.
Key Features and Endpoints
- Latest Rates Endpoint: This endpoint provides real-time exchange rates for all available metals. For example, a request to this endpoint might return the latest gold price in USD, along with prices for other metals like silver and platinum.
{
"success": true,
"timestamp": 1754222427,
"base": "USD",
"date": "2025-08-03",
"rates": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912,
"XPD": 0.000744
},
"unit": "per troy ounce"
}
{
"success": true,
"timestamp": 1754136027,
"base": "USD",
"date": "2025-08-02",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"unit": "per troy ounce"
}
{
"success": true,
"timeseries": true,
"start_date": "2025-07-27",
"end_date": "2025-08-03",
"base": "USD",
"rates": {
"2025-07-27": {
"XAU": 0.000485,
"XAG": 0.03825
},
"2025-08-03": {
"XAU": 0.000482,
"XAG": 0.03815
}
},
"unit": "per troy ounce"
}
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1754222427,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-27",
"end_date": "2025-08-03",
"base": "USD",
"rates": {
"XAU": {
"start_rate": 0.000485,
"end_rate": 0.000482,
"change": -3.0e-6,
"change_pct": -0.62
}
},
"unit": "per troy ounce"
}
{
"success": true,
"timestamp": 1754222427,
"base": "USD",
"date": "2025-08-03",
"rates": {
"XAU": {
"open": 0.000485,
"high": 0.000487,
"low": 0.000481,
"close": 0.000482
}
},
"unit": "per troy ounce"
}
{
"success": true,
"timestamp": 1754222427,
"base": "USD",
"date": "2025-08-03",
"rates": {
"XAU": {
"bid": 0.000481,
"ask": 0.000483,
"spread": 2.0e-6
}
},
"unit": "per troy ounce"
}
API Key and Authentication
Understanding API Responses
Common Use Cases
- Building trading platforms that provide real-time price updates for precious metals.
- Creating analytical tools that visualize historical price trends and fluctuations.
- Integrating currency conversion features into e-commerce platforms that deal with precious metals.
- Developing mobile applications that notify users of significant price changes in the metals market.
Performance Optimization and Security Considerations
Conclusion
Metals-API Documentation and explore the comprehensive Metals-API Supported Symbols list. Visit the Metals-API Website to learn more about its features and capabilities.