Get Mauritanian Ouguiya (MRO) prices using this API
Get Mauritanian Ouguiya (MRO) Prices Using This API
In today's fast-paced financial landscape, the ability to access real-time data is crucial for developers and businesses alike. The Metals-API provides a powerful solution for obtaining up-to-date prices of various metals, including the Mauritanian Ouguiya (MRO). This blog post will delve into the capabilities of the Metals-API, focusing on its innovative features, endpoints, and how it can transform the way developers interact with metal market data.
Metals-API Information
About Nickel (NI)
Nickel, represented by the symbol NI, is a critical metal in various industries, particularly in the production of stainless steel and batteries. As the world moves towards digital transformation, the metal markets are also evolving. The integration of technological innovations and advancements has paved the way for enhanced data analytics and insights. The Metals-API stands at the forefront of this transformation, offering developers the tools they need to harness real-time data effectively.
With the rise of smart technology integration, the future of metal markets looks promising. Developers can leverage the Metals-API to create applications that provide users with instant access to metal prices, historical data, and conversion capabilities. This not only enhances user experience but also empowers businesses to make informed decisions based on accurate and timely information.
API Description
The Metals-API is designed to provide developers with comprehensive access to real-time metals data. It empowers users to build next-generation applications that can analyze market trends, perform currency conversions, and track historical rates. The API's capabilities are extensive, allowing for a wide range of applications in financial services, e-commerce, and investment platforms.
For more information, visit the Metals-API Website or explore the Metals-API Documentation for detailed guidance on implementation.
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: Depending on your subscription plan, this endpoint provides real-time exchange rate data updated every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for applications that require the most current pricing information.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. By appending a specific date to your query, you can retrieve past data, which is invaluable for trend analysis and market research.
- Bid And Ask Endpoint: This powerful feature allows you to retrieve real-time Bid and Ask prices, giving developers insights into market dynamics and helping users make informed trading decisions.
- Convert Endpoint: The API includes a currency conversion endpoint, enabling users to convert any amount from one currency to another. This is particularly useful for businesses operating in multiple currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This feature is ideal for analyzing trends over specific periods.
- Fluctuation Endpoint: Retrieve information about how currencies fluctuate on a day-to-day basis, providing insights into market volatility.
- Carat Endpoint: This endpoint allows you to retrieve information about Gold rates by Carat, which is essential for jewelers and investors in precious metals.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest price for a specified date, aiding in market analysis and decision-making.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific time period, crucial for traders looking to analyze market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, allowing for extensive market research and analysis.
- API Key: Your unique API key is essential for accessing the API. It must be included in the base URL's access_key parameter to authenticate your requests.
- API Response: The Metals-API delivers exchange rates relative to USD by default, ensuring consistency and ease of use.
- Available Endpoints: With 14 API endpoints, the Metals-API provides diverse functionalities to meet various user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, ensuring developers have access to the latest information.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping users informed about market trends and developments.
For a complete list of supported symbols, refer to the Metals-API Supported Symbols.
API Endpoint Examples and Responses
Understanding the API responses is crucial for effective implementation. Here are some examples of how the API responds to different requests:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1770336645,
"base": "USD",
"date": "2026-02-06",
"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, including Gold (XAU), Silver (XAG), and others.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1770250245,
"base": "USD",
"date": "2026-02-05",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows historical rates for a specific date, allowing developers to analyze past market performance.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-01-30",
"end_date": "2026-02-06",
"base": "USD",
"rates": {
"2026-01-30": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-02-01": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-02-06": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides a time series of rates, enabling developers to visualize trends over time.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1770336645,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
The Convert Endpoint allows users to convert amounts between currencies, providing a straightforward way to handle financial transactions.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-01-30",
"end_date": "2026-02-06",
"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 tracks fluctuations, providing insights into market volatility and helping users make informed decisions.
OHLC (Open/High/Low/Close) Endpoint
{
"success": true,
"timestamp": 1770336645,
"base": "USD",
"date": "2026-02-06",
"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 response provides OHLC data, which is essential for traders analyzing market performance over specific periods.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1770336645,
"base": "USD",
"date": "2026-02-06",
"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"
}
The Bid/Ask Endpoint provides current market prices, essential for traders looking to execute orders effectively.
Conclusion
The Metals-API is a powerful tool for developers seeking to access real-time metal prices, including the Mauritanian Ouguiya (MRO). Its extensive features, including various endpoints for retrieving latest rates, historical data, and conversion capabilities, make it an invaluable resource for businesses and financial applications. By leveraging the API, developers can create innovative solutions that enhance user experience and provide critical insights into the metal markets.
For further exploration, refer to the Metals-API Documentation for detailed implementation guidance, and check the Metals-API Supported Symbols for a comprehensive list of available metal symbols. Embrace the future of metal market data with the Metals-API and unlock the potential of real-time analytics.