The Easiest Way to Get Mozambican Metical (MZN) Historical Rates Using API Endpoints
The Easiest Way to Get Mozambican Metical (MZN) Historical Rates Using API Endpoints
In today's fast-paced digital economy, accessing real-time and historical financial data is crucial for developers and businesses alike. One of the most effective ways to obtain this information is through APIs, specifically the Metals-API. This powerful tool allows users to retrieve historical rates for various metals, including the Mozambican Metical (MZN). In this blog post, we will explore how to get MZN historical prices using the Metals-API, including example endpoints, parameters, and data formats.
About Molybdenum (MO)
Molybdenum (MO) is a critical metal in various industrial applications, known for its high melting point and strength. As we delve into the world of metals, it is essential to recognize the digital transformation occurring in metal markets. The integration of smart technology and data analytics is revolutionizing how we interact with metal prices and market trends.
Technological innovation has paved the way for advanced data analytics, enabling developers to gain insights into market fluctuations and price trends. The Metals-API exemplifies this transformation by providing real-time data that empowers developers to create next-generation applications. With the ability to access historical rates dating back to 2019, developers can analyze trends over time, making informed decisions based on comprehensive data.
API Description
The Metals-API is a robust platform that provides access to real-time and historical metal prices, including currency conversion capabilities. It is designed to empower developers by offering a range of endpoints that cater to various needs. The API's capabilities include:
- Real-time exchange rate data updated frequently based on subscription plans.
- Historical rates for most currencies dating back to 2019.
- Bid and ask prices for metals, allowing users to track market movements.
- Conversion capabilities between different metals and currencies.
- Time-series data for analyzing price trends over specific periods.
- Fluctuation tracking to monitor day-to-day changes in prices.
- Open, high, low, and close (OHLC) price data for comprehensive market analysis.
For more detailed information, you can refer to the Metals-API Documentation.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different data retrieval needs. Here are some key features and their potential applications:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rate data for metals. Depending on your subscription plan, this endpoint can return data updated every 60 minutes or even more frequently. This feature is particularly useful for traders and businesses that require up-to-the-minute pricing information.
{
"success": true,
"timestamp": 1771495667,
"base": "USD",
"date": "2026-02-19",
"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
Accessing historical rates is essential for analyzing market trends. The Historical Rates Endpoint allows users to query historical data for any date since 1999. This endpoint is invaluable for developers looking to build applications that require historical price analysis.
{
"success": true,
"timestamp": 1771409267,
"base": "USD",
"date": "2026-02-18",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-Series Endpoint
The Time-Series Endpoint allows users to retrieve exchange rates for a specific time period. This feature is particularly useful for developers who want to analyze trends over time and visualize data for better decision-making.
{
"success": true,
"timeseries": true,
"start_date": "2026-02-12",
"end_date": "2026-02-19",
"base": "USD",
"rates": {
"2026-02-12": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-02-14": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-02-19": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
The Convert Endpoint is a powerful feature that allows users to convert any amount from one metal to another or to/from USD. This endpoint is particularly useful for businesses that deal with multiple currencies and need to perform conversions regularly.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1771495667,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
The Fluctuation Endpoint provides insights into how metal prices fluctuate between two dates. This feature is essential for traders who want to understand market volatility and make informed trading decisions.
{
"success": true,
"fluctuation": true,
"start_date": "2026-02-12",
"end_date": "2026-02-19",
"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"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC Price Endpoint allows users to retrieve open, high, low, and close prices for a specific time period. This data is crucial for traders who analyze market trends and make decisions based on price movements.
{
"success": true,
"timestamp": 1771495667,
"base": "USD",
"date": "2026-02-19",
"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
The Bid/Ask Endpoint provides current bid and ask prices for metals. This feature is essential for traders who need to know the market's current buying and selling prices.
{
"success": true,
"timestamp": 1771495667,
"base": "USD",
"date": "2026-02-19",
"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"
}
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. This resource is invaluable for developers looking to integrate various metals into their applications.
Conclusion
In conclusion, the Metals-API offers a powerful solution for developers seeking to access historical rates for the Mozambican Metical (MZN) and other metals. With a variety of endpoints designed for different data retrieval needs, this API empowers users to build innovative applications that leverage real-time and historical data. By understanding the capabilities of the Metals-API, developers can create tools that provide valuable insights into market trends, enabling informed decision-making.
For more information on how to get started with the Metals-API, visit the Metals-API Website and explore the extensive documentation available. With the right tools and knowledge, you can unlock the full potential of metal market data.