Access Yemeni Rial (YER) prices using this API
Access Yemeni Rial (YER) Prices Using Metals-API
The Yemeni Rial (YER) is a crucial currency in the Middle Eastern financial landscape, and understanding its market dynamics is essential for traders, investors, and developers alike. With the rise of digital transformation in financial markets, accessing real-time data on the Yemeni Rial and other currencies has never been more critical. This is where the Metals-API comes into play, providing developers with the tools needed to integrate comprehensive metals and currency data into their applications.
About Nickel (NI)
Nickel, a vital metal in various industries, is experiencing a surge in interest due to technological innovations and advancements in metal markets. The integration of smart technology and data analytics is transforming how traders and investors interact with nickel markets. As we delve into the capabilities of the Metals-API, we will explore how it empowers developers to harness real-time data for nickel and other metals, paving the way for future trends and possibilities.
API Description
The Metals-API is a powerful tool that provides real-time and historical data for various metals and currencies, including the Yemeni Rial. This API allows developers to build next-generation applications that require accurate and timely data. With its innovative features, the Metals-API enables users to access a wealth of information, from the latest exchange rates to historical trends, all designed to enhance decision-making processes.
For more detailed information, you can refer to the Metals-API Documentation, which outlines the various functionalities and endpoints available to users.
Key Features and Endpoints
The Metals-API offers a range of endpoints that cater to different data needs. Each endpoint serves a unique purpose, allowing developers to access the information they require efficiently. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals and currencies, updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes or every 10 minutes, ensuring that users have access to the most current information.
- Historical Rates Endpoint: Users can access historical rates dating back to 2019 by appending a specific date to the API request. This feature is invaluable for analyzing trends and making informed decisions based on past performance.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for various metals, providing insights into market conditions and helping traders make timely decisions.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, enabling users to convert amounts from one currency to another seamlessly. This is particularly useful for traders dealing with multiple currencies.
- Time-Series Endpoint: Users can query the API for daily historical rates between two chosen dates, allowing for in-depth analysis of price movements over time.
- Fluctuation Endpoint: This endpoint provides information on how currencies fluctuate on a day-to-day basis, helping users understand market volatility.
- Carat Endpoint: Users can retrieve information about gold rates by carat, which is essential for jewelers and investors in precious metals.
- Lowest/Highest Price Endpoint: This endpoint allows users to query the API for the lowest and highest prices of metals over a specified period, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access open, high, low, and close prices for metals, providing a comprehensive view of market performance.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, allowing users to analyze long-term trends.
- API Key: Each user is assigned a unique API key, which must be included in API requests to authenticate and authorize access.
- API Response: The Metals-API delivers exchange rates relative to USD by default, ensuring consistency in data presentation.
- Available Endpoints: The API includes 14 endpoints, each designed to provide specific functionalities, ensuring that users have access to a comprehensive range of data.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, allowing users to stay informed about the latest symbols supported by the API.
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
Understanding how to interact with the Metals-API is crucial for developers. Below are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1781395866,
"base": "USD",
"date": "2026-06-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": 1781309466,
"base": "USD",
"date": "2026-06-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-06-07",
"end_date": "2026-06-14",
"base": "USD",
"rates": {
"2026-06-07": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-06-09": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-06-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": 1781395866,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-06-07",
"end_date": "2026-06-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": 1781395866,
"base": "USD",
"date": "2026-06-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": 1781395866,
"base": "USD",
"date": "2026-06-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
In conclusion, the Metals-API is an invaluable resource for developers looking to access real-time and historical data for the Yemeni Rial and other metals. By leveraging the various endpoints, developers can create applications that provide insights into market trends, facilitate currency conversions, and analyze historical data. The comprehensive documentation and support for a wide range of symbols make it easier for developers to integrate this API into their projects.
For those interested in exploring the capabilities of the Metals-API further, I encourage you to visit the Metals-API Website and check out the Metals-API Documentation for detailed information on how to get started. Understanding the intricacies of this API will empower you to harness the full potential of real-time metals data in your applications.