Extract Maltese Lira (MTL) Historical Prices using this API
Extract Maltese Lira (MTL) Historical Prices using this API
The Maltese Lira (MTL) has a rich history as the currency of Malta before the country adopted the Euro. For developers and financial analysts interested in historical data related to the Maltese Lira, the Metals-API provides a robust solution. This API allows users to extract historical prices and exchange rates for various metals and currencies, including the MTL. In this blog post, we will explore how to utilize the Metals-API to access historical prices, focusing on its features, capabilities, and practical applications.
Metals-API Information
About Tellurium (TE)
In the context of the evolving metal markets, Tellurium (TE) represents a fascinating case study of digital transformation and technological innovation. The integration of smart technologies and data analytics has revolutionized how metals are traded and valued. As we delve into the capabilities of the Metals-API, it becomes clear that the future of metal trading is not just about the metals themselves but also about the data that drives market decisions.
The Metals-API empowers developers to build next-generation applications that leverage real-time metals data. By providing access to a wide range of endpoints, the API enables users to extract insights, track fluctuations, and analyze trends in the metal markets. This capability is particularly valuable for those looking to understand the historical context of currencies like the Maltese Lira.
API Description
The Metals-API is a comprehensive JSON API that provides real-time and historical data for various metals and currencies. It is designed to facilitate easy integration into applications, enabling developers to access critical financial data with minimal effort. The API supports a variety of endpoints that cater to different needs, from retrieving the latest rates to accessing historical data dating back several years.
For more information, visit the Metals-API Website or check the Metals-API Documentation for detailed usage instructions.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that provide different functionalities, making it a versatile tool for developers. Here are some of the key features:
- Latest Rates Endpoint: This endpoint allows users to retrieve real-time exchange rate data for metals and currencies. Depending on the subscription plan, the data can be updated every 60 minutes or even more frequently. This feature is essential for applications that require up-to-the-minute pricing information.
- Historical Rates Endpoint: Users can access historical rates for most currencies, including the Maltese Lira, dating back to 2019. By appending a specific date to the API request, developers can obtain historical data that is crucial for trend analysis and financial forecasting.
- Bid And Ask Endpoint: This powerful feature enables users to retrieve real-time bid and ask prices for metals. Understanding the bid-ask spread is vital for traders and financial analysts looking to make informed decisions in the market.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint that allows users to convert amounts from one currency to another. This is particularly useful for applications that require multi-currency support.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two specified dates. It is ideal for analyzing trends over time and understanding how prices have fluctuated.
- Fluctuation Endpoint: Users can track how currencies fluctuate on a day-to-day basis using this endpoint. It provides insights into market volatility and helps in making informed trading decisions.
- Carat Endpoint: This feature allows users to retrieve information about gold rates by carat. It is particularly useful for jewelers and investors in the gold market.
- Lowest/Highest Price Endpoint: This endpoint enables users to query the API for the lowest and highest prices of metals over a specified period, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access OHLC data for a specific time period, which is essential for technical analysis and trading strategies.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, allowing users to analyze long-term trends in the metals market.
- API Key: Each user is assigned a unique API key that must be included in the API requests to authenticate and authorize access to the data.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API features 14 different endpoints, each designed to provide specific functionalities tailored to user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies and metals, 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 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 how to interpret the API responses is crucial for effective data utilization. Below are examples of various API endpoints and their corresponding JSON responses:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1777681072,
"base": "USD",
"date": "2026-05-02",
"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"
}
This response indicates a successful request, providing the latest rates for various metals relative to USD. The "rates" object contains the exchange rates for each metal, which can be used for financial analysis or application development.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1777594672,
"base": "USD",
"date": "2026-05-01",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows a successful response for a historical rate request, indicating the exchange rates for a specific date. Developers can use this data to analyze trends over time.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-04-25",
"end_date": "2026-05-02",
"base": "USD",
"rates": {
"2026-04-25": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-04-27": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-05-02": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides a time-series of exchange rates between two specified dates. Developers can visualize this data to identify trends and patterns in the market.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1777681072,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
The Convert Endpoint allows users to convert a specified amount from one currency to another. In this case, it shows the conversion of 1000 USD to gold (XAU), providing the result in troy ounces.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-04-25",
"end_date": "2026-05-02",
"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"
}
This response provides insights into how the rates of various metals have fluctuated over a specified period. Understanding these fluctuations is crucial for traders and analysts.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1777681072,
"base": "USD",
"date": "2026-05-02",
"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"
}
This endpoint provides the open, high, low, and close prices for metals, which are essential for technical analysis and trading strategies.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1777681072,
"base": "USD",
"date": "2026-05-02",
"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"
}
This response provides the current bid and ask prices for metals, along with the spread. Understanding these values is crucial for traders looking to execute orders effectively.
Conclusion
In conclusion, the Metals-API offers a powerful suite of tools for developers and analysts interested in extracting historical prices and real-time data for the Maltese Lira and various metals. By leveraging the API's extensive features, users can gain valuable insights into market trends, fluctuations, and pricing dynamics. Whether you are building a financial application, conducting market analysis, or simply exploring historical data, the Metals-API provides the necessary resources to achieve your goals.
For further exploration, refer to the Metals-API Documentation for detailed instructions on implementation, and check the Metals-API Supported Symbols page for a comprehensive list of available currencies and metals. The future of metal trading is here, and with the right tools, you can navigate it effectively.