Access Maldivian Rufiyaa (MVR) Historical Prices via this API
Access Maldivian Rufiyaa (MVR) Historical Prices via this API
The Maldivian Rufiyaa (MVR) is the official currency of the Maldives, a nation renowned for its stunning beaches and vibrant marine life. As the global economy becomes increasingly interconnected, the need for accurate and real-time currency exchange data has never been more critical. Developers looking to access historical prices of the Maldivian Rufiyaa can leverage the capabilities of the Metals-API. This powerful API provides comprehensive access to historical and real-time exchange rates, enabling developers to create innovative applications that can analyze trends, perform conversions, and much more.
About Maldivian Rufiyaa (MVR)
The Maldivian Rufiyaa is subdivided into 100 laari and is issued by the Maldives Monetary Authority. The currency plays a crucial role in the Maldivian economy, which is heavily reliant on tourism and fishing. As the world shifts towards digital transformation, the integration of technology in financial markets is becoming increasingly important. The Metals-API stands at the forefront of this transformation, offering developers a robust platform to access and utilize currency data effectively.
With the rise of data analytics and smart technology integration, the Metals-API empowers developers to harness the power of real-time metals data. This API not only provides exchange rates but also offers insights into market trends, allowing for informed decision-making. As we look to the future, the possibilities for innovation in currency exchange and financial applications are vast, and the Metals-API is a key player in this evolving landscape.
API Description
The Metals-API is designed to provide developers with the tools needed to access and manipulate metals and currency data. It offers a wide range of functionalities, including real-time exchange rates, historical data, and conversion capabilities. By utilizing this API, developers can build next-generation applications that cater to various financial needs.
For detailed information on how to get started, refer to the Metals-API Documentation, which outlines the various endpoints and their functionalities. The API supports a comprehensive list of symbols, which can be found on the Metals-API Supported Symbols page.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data that is updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes or even every 10 minutes, ensuring that you have the most current data available.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. By appending a specific date in the format YYYY-MM-DD, developers can retrieve past exchange rates, which is invaluable for trend analysis and financial forecasting.
- Bid And Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices, providing insights into market conditions and helping traders make informed decisions.
- Convert Endpoint: The conversion endpoint enables users to convert amounts between different currencies, making it easy to handle transactions in various currencies.
- Time-Series Endpoint: This endpoint allows developers to query daily historical rates between two specified dates, facilitating in-depth analysis of currency trends over time.
- Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis, providing insights into market volatility and helping users anticipate changes.
- Carat Endpoint: Retrieve information about gold rates by carat, which is particularly useful for jewelers and investors in precious metals.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified date, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, essential for traders looking to analyze market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is crucial for those involved in the metals market.
- API Key: Each user is provided with a unique API key that must be included in requests to authenticate 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 includes 14 different endpoints, each offering unique functionalities to cater to various user needs.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies, ensuring users have access to the latest information.
API Endpoint Examples and Responses
Understanding the API's response structure is crucial for effective integration. Below are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1785024679,
"base": "USD",
"date": "2026-07-26",
"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"
}
The response indicates a successful request, providing the timestamp, base currency, date, and a list of rates for various metals. Each rate is expressed in terms of troy ounces, which is a standard measurement in the metals market.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1784938279,
"base": "USD",
"date": "2026-07-25",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response shows historical rates for a specific date, allowing developers to analyze past market conditions. The structure remains consistent, making it easy to parse and utilize the data.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-07-19",
"end_date": "2026-07-26",
"base": "USD",
"rates": {
"2026-07-19": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-07-21": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-07-26": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
The time-series response provides rates for multiple dates, allowing for trend analysis over the specified period. This is particularly useful for developers looking to visualize data changes over time.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1785024679,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
The convert endpoint allows users to convert a specified amount from one currency to another. The response includes the conversion rate and the result, making it straightforward for developers to implement currency conversion features in their applications.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-07-19",
"end_date": "2026-07-26",
"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 endpoint provides insights into how rates have fluctuated over a specified period, detailing both the starting and ending rates along with the percentage change. This information is vital for traders and analysts monitoring market volatility.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1785024679,
"base": "USD",
"date": "2026-07-26",
"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"
}
The OHLC endpoint provides a comprehensive view of market performance for a specific date, detailing the opening, highest, lowest, and closing prices. This data is essential for traders looking to make informed decisions based on market trends.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1785024679,
"base": "USD",
"date": "2026-07-26",
"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 endpoint provides current bid and ask prices for metals, along with the spread. Understanding these values is crucial for traders who need to make quick decisions based on market conditions.
Conclusion
Accessing historical prices of the Maldivian Rufiyaa (MVR) through the Metals-API opens up a world of possibilities for developers. With its extensive range of endpoints, the API provides the tools necessary to analyze market trends, perform conversions, and track fluctuations. By leveraging the power of real-time data, developers can create innovative applications that meet the evolving needs of users in the financial sector.
For more information on how to utilize the Metals-API effectively, visit the Metals-API Documentation and explore the Metals-API Supported Symbols for a comprehensive list of available currencies. The future of currency exchange and financial applications is bright, and the Metals-API is at the forefront of this transformation.