Get Moldovan Leu (MDL) Historical Prices using this API
Get Moldovan Leu (MDL) Historical Prices using this API
In today's fast-paced financial landscape, accessing accurate and timely data is crucial for developers and businesses alike. One such valuable resource is the Metals-API, which provides comprehensive data on metals and their historical prices, including the Moldovan Leu (MDL). This blog post will delve into the capabilities of the Metals-API, focusing on how to retrieve historical prices and the innovative features that make it an essential tool for developers.
Metals-API Information
The Metals-API is a powerful JSON API that offers real-time and historical data for various metals, including gold, silver, platinum, and palladium. It empowers developers to build next-generation applications by providing access to accurate market data and analytics. With a focus on digital transformation in metal markets, the API integrates advanced data analytics and smart technology, enabling users to gain insights into market trends and fluctuations.
About Molybdenum (MO)
Molybdenum (MO) is a critical metal used in various industrial applications, particularly in steel production and manufacturing. As industries evolve, the demand for accurate data on molybdenum prices becomes increasingly important. The Metals-API facilitates this by providing real-time and historical pricing data, allowing businesses to make informed decisions based on market conditions.
In the context of digital transformation, the Metals-API exemplifies how technological innovation can enhance the metal markets. By leveraging data analytics, developers can create applications that not only track prices but also analyze trends, forecast future movements, and optimize trading strategies. The integration of smart technology further enhances the user experience, making it easier to access and interpret complex data.
API Description
The Metals-API offers a suite of features designed to meet the needs of developers seeking to integrate metal pricing data into their applications. With capabilities ranging from real-time exchange rates to historical data retrieval, the API is a versatile tool for financial analysis and decision-making.
One of the standout features of the Metals-API is its ability to provide real-time data updated at intervals depending on the user's subscription plan. This ensures that developers have access to the most current information, which is vital for applications that require up-to-the-minute pricing.
For those interested in historical data, the Metals-API allows users to query historical rates dating back to 2019. This feature is particularly useful for analyzing trends over time and understanding how various factors influence metal prices. By appending a specific date to the API request, developers can easily access historical pricing data for any metal supported by the API.
Key Features and Endpoints
The Metals-API boasts several key features that enhance its functionality:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated every 60 minutes, 10 minutes, or even more frequently, depending on the subscription plan. This feature is essential for applications that require immediate access to current prices.
- Historical Rates Endpoint: Users can access historical rates for most currencies dating back to 2019. By appending a date to the API request, developers can retrieve historical pricing data, allowing for in-depth analysis of market trends.
- Bid And Ask Endpoint: This powerful feature enables users to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The conversion endpoint allows users to convert amounts from one currency to another, facilitating seamless transactions and financial calculations.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two dates of their choice, making it easier to analyze price movements over specific periods.
- Fluctuation Endpoint: Users can track how currencies fluctuate on a day-to-day basis, providing valuable insights into market volatility.
- Carat Endpoint: This feature retrieves information about gold rates by carat, allowing jewelers and investors to make informed decisions based on precise measurements.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specified date, which is crucial for understanding market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, offering a comprehensive view of market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, enabling users to analyze long-term trends in the metals market.
- API Key: Each user is assigned a unique API key, which is required to access the API's features securely.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API includes 14 different endpoints, each providing unique functionality tailored to various user needs.
- Supported Symbols Endpoint: This endpoint returns all available currencies, ensuring users can easily find the symbols they need for their applications.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping users informed about market developments.
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 interact with the Metals-API is crucial for developers. Below are examples of various API endpoints and their corresponding JSON responses, illustrating how to retrieve and interpret data effectively.
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1771028113,
"base": "USD",
"date": "2026-02-14",
"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": 1770941713,
"base": "USD",
"date": "2026-02-13",
"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": "2026-02-07",
"end_date": "2026-02-14",
"base": "USD",
"rates": {
"2026-02-07": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-02-09": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-02-14": {
"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": 1771028113,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2026-02-07",
"end_date": "2026-02-14",
"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": 1771028113,
"base": "USD",
"date": "2026-02-14",
"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": 1771028113,
"base": "USD",
"date": "2026-02-14",
"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 an invaluable resource for developers looking to integrate metal pricing data into their applications. With its extensive range of features, including real-time rates, historical data, and advanced analytics, it empowers users to make informed decisions based on accurate market information. By leveraging the capabilities of the Metals-API, developers can create innovative applications that enhance financial analysis and trading strategies.
For more information on how to get started with the Metals-API, refer to the Metals-API Documentation. This comprehensive guide provides detailed instructions on how to utilize the API's features effectively. Additionally, explore the Metals-API Supported Symbols page to familiarize yourself with the various metal symbols available for querying.
As the financial landscape continues to evolve, the importance of accurate and timely data cannot be overstated. The Metals-API stands at the forefront of this transformation, offering developers the tools they need to succeed in a competitive market.