Get Comprehensive Omani Rial (OMR) Historical Prices using this API
Get Comprehensive Omani Rial (OMR) Historical Prices using this API
In today's fast-paced financial landscape, having access to accurate and timely data is crucial for developers and businesses alike. The Omani Rial (OMR) is a significant currency in the Middle East, and understanding its historical prices can provide valuable insights for various applications, from financial analysis to market forecasting. With the Metals-API, developers can easily access comprehensive historical price data for the Omani Rial and other metals, enabling them to build innovative applications that leverage real-time and historical data.
Metals-API Information
About Nickel (NI)
Nickel, a key metal in various industrial applications, has seen significant advancements due to digital transformation in metal markets. The integration of smart technology and data analytics has revolutionized how businesses interact with metal prices. With the rise of technological innovation, developers can now access real-time data, enabling them to make informed decisions based on the latest market trends. The Metals-API stands at the forefront of this transformation, offering a robust platform for accessing metal prices, including Nickel.
As we explore the capabilities of the Metals-API, it is essential to understand how it empowers developers to create next-generation applications. By leveraging data analytics and insights, businesses can gain a competitive edge in the market. The API's ability to provide real-time and historical data opens up possibilities for advanced analytics, predictive modeling, and strategic planning.
API Description
The Metals-API is a powerful tool designed to provide developers with access to real-time and historical metals data. This API is not just a data source; it represents a transformative potential for businesses looking to integrate metals pricing into their applications. With its user-friendly interface and comprehensive documentation, developers can quickly implement the API into their projects.
For detailed information on how to use the API, refer to the Metals-API Documentation. This resource provides in-depth guidance on the various endpoints, including their functionalities and how to effectively utilize them in your applications.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs, allowing developers to access a wealth of information about metals and currencies. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data, updated based on your subscription plan. Depending on the plan, you can receive updates every 60 minutes or even every 10 minutes. This feature is crucial for applications that require up-to-the-minute pricing information.
- 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 query the Metals-API for historical rates, enabling them to analyze trends over time.
- Bid And Ask Endpoint: This powerful feature allows you to retrieve real-time Bid and Ask prices, providing insights into market dynamics and helping traders make informed decisions.
- Convert Endpoint: The API includes a currency conversion endpoint, allowing users to convert any amount from one currency to another. This is particularly useful for applications that require multi-currency support.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This endpoint is essential for developers looking to analyze price movements over specific periods.
- Fluctuation Endpoint: Retrieve information about how currencies fluctuate on a day-to-day basis. This endpoint is valuable for understanding market volatility and making strategic decisions.
- Carat Endpoint: Access information about Gold rates by Carat. This feature is particularly useful for jewelers and investors interested in the gold market.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest price for a specific date, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint allows you to query the API for the open, high, low, and close prices for a specific date, essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, allowing for comprehensive analysis of metal prices over time.
- API Key: Your unique API key is required to access the API's features. This key must be included in the API base URL's access_key parameter.
- API Response: The Metals-API delivers exchange rates relative to USD by default, with all data returned in a structured JSON format.
- Available Endpoints: The API includes 14 endpoints, each providing different functionalities to cater to various needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, ensuring developers have access to the latest information.
- Intraday Endpoint: Query intraday exchange rate data for a single symbol, allowing for real-time analysis.
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 specific metals into their applications.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1787271116,
"base": "USD",
"date": "2026-08-21",
"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": 1787184716,
"base": "USD",
"date": "2026-08-20",
"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-08-14",
"end_date": "2026-08-21",
"base": "USD",
"rates": {
"2026-08-14": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-08-16": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-21": {
"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": 1787271116,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2026-08-14",
"end_date": "2026-08-21",
"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": 1787271116,
"base": "USD",
"date": "2026-08-21",
"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": 1787271116,
"base": "USD",
"date": "2026-08-21",
"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
In conclusion, the Metals-API offers a comprehensive solution for developers seeking to access historical prices of the Omani Rial (OMR) and other metals. With its extensive range of endpoints, real-time data capabilities, and user-friendly documentation, the API empowers developers to create innovative applications that leverage accurate and timely financial data. By utilizing features such as the Latest Rates Endpoint, Historical Rates Endpoint, and the Convert Endpoint, developers can build robust applications that meet the needs of their users.
For more information on how to get started with the Metals-API, visit the Metals-API Documentation and explore the various endpoints available. Whether you are looking to analyze market trends, perform currency conversions, or track fluctuations, the Metals-API provides the tools necessary to succeed in today's dynamic financial environment.
As you embark on your journey to integrate the Metals-API into your applications, remember to explore the Metals-API Supported Symbols page for a complete list of available currencies and metals. With the right tools and resources, you can unlock the full potential of financial data and drive innovation in your projects.