Fetch current Malappuram Gold 24k (MALA-24k) prices using this API

Introduction
In the ever-evolving landscape of precious metals trading, staying updated with the latest market prices is crucial for investors and traders alike. One of the most sought-after metals is gold, represented by the symbol XAU. With the rise of digital transformation in the financial sector, accessing real-time data has become more important than ever. This is where the Metals-API comes into play, providing developers with the tools to fetch current Malappuram Gold 24k (MALA-24k) prices and much more.
Metals-API Information
About Gold (XAU)
Gold has long been a symbol of wealth and stability, often serving as a hedge against inflation and economic uncertainty. In recent years, the digital transformation of precious metals has opened up new avenues for trading and investment. With the integration of data analytics and market insights, traders can make informed decisions based on real-time data. The Metals-API empowers developers to harness this data, enabling them to create innovative applications that facilitate trading and investment in gold and other precious metals.
As technology continues to evolve, the integration of advanced analytics and machine learning algorithms into trading platforms is becoming more prevalent. This allows for enhanced price discovery and better forecasting of market trends. Furthermore, digital asset solutions are emerging, allowing investors to hold and trade gold in a more accessible and efficient manner.
API Description
The Metals-API is a powerful tool designed to provide real-time and historical data on various metals, including gold, silver, platinum, and palladium. It offers a range of endpoints that allow developers to access the latest rates, historical data, and even perform conversions between different metals and currencies. The API is built with innovation in mind, enabling developers to create next-generation applications that leverage real-time metals data.
For more detailed information on how to use the API, developers can refer to the Metals-API Documentation, which provides comprehensive guidance on the various endpoints and their functionalities.
Key Features and Endpoints
The Metals-API offers a plethora of features that cater to the needs of developers and traders. Here are some of the key endpoints and their potential applications:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for various metals, updated every 60 minutes, 10 minutes, or even more frequently depending on the subscription plan. This feature is essential for traders who need to make quick decisions based on the latest market conditions.
- Historical Rates Endpoint: Access historical rates dating back to 2019 for most currencies. This endpoint allows users to analyze past trends and make informed predictions about future movements in the market.
- Bid And Ask Endpoint: Retrieve real-time bid and ask prices for metals. This feature is particularly useful for traders looking to execute buy or sell orders at the best possible prices.
- Convert Endpoint: This endpoint allows users to convert any amount from one metal to another or to/from USD. This is particularly useful for traders who operate in multiple currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This feature is beneficial for analyzing trends over specific periods.
- Fluctuation Endpoint: Retrieve information about how currencies fluctuate on a day-to-day basis. This can help traders understand market volatility and make better trading decisions.
- Carat Endpoint: Get information about gold rates by carat. This is particularly useful for jewelers and consumers looking to understand the value of gold in different forms.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest price for a specified date. This feature can help traders identify potential entry and exit points.
- Open/High/Low/Close (OHLC) Price Endpoint: Access open, high, low, and close prices for a specific time period. This data is crucial for technical analysis and trading strategies.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008. This endpoint is valuable for those trading metals on the London Metal Exchange.
- API Key: Each user is provided with a unique API key that must be included in requests to authenticate and authorize access to the API.
- API Response: The API delivers exchange rates relative to USD by default, with all data returned in a structured JSON format.
- Available Endpoints: The Metals-API comes with multiple endpoints, each providing different functionalities to cater to various user needs.
- Supported Symbols Endpoint: This endpoint returns all available currencies and metal symbols, allowing users to stay updated on the latest offerings.
- Gold Price India Endpoint: Retrieve the latest gold price in India using this dedicated endpoint, which is particularly useful for local traders.
- News Endpoint: Get the latest news articles related to various metals, keeping users 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
Understanding the API responses is crucial for effective implementation. Below are examples of various endpoints along with their JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1751943619,
"base": "USD",
"date": "2025-07-08",
"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": 1751857219,
"base": "USD",
"date": "2025-07-07",
"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-07-01",
"end_date": "2025-07-08",
"base": "USD",
"rates": {
"2025-07-01": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-07-03": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-07-08": {
"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": 1751943619,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2025-07-01",
"end_date": "2025-07-08",
"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": 1751943619,
"base": "USD",
"date": "2025-07-08",
"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": 1751943619,
"base": "USD",
"date": "2025-07-08",
"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 robust solution for developers looking to integrate real-time and historical data on precious metals into their applications. With features like the latest rates, historical data, and conversion capabilities, it empowers users to make informed trading decisions. By leveraging the API's extensive endpoints, developers can create innovative solutions that enhance the trading experience.
For those interested in exploring the full capabilities of the Metals-API, I encourage you to visit the Metals-API Website and dive into the Metals-API Documentation for comprehensive guidance. Understanding the various symbols and their applications is also crucial, so be sure to check out the Metals-API Supported Symbols page.
In a world where data-driven decisions are paramount, the Metals-API stands out as a transformative tool for traders and developers alike, enabling them to navigate the complexities of the precious metals market with ease and precision.