Retrieve Iraqi Dinar (IQD) Historical Prices with this API
Retrieve Iraqi Dinar (IQD) Historical Prices with this API
The Iraqi Dinar (IQD) has seen significant fluctuations in its value over the years, influenced by various economic and geopolitical factors. For developers and financial analysts looking to retrieve historical prices of the Iraqi Dinar, the Metals-API offers a robust solution. This API provides real-time and historical data on various metals and currencies, including the IQD, enabling users to analyze trends and make informed decisions.
About Iraqi Dinar (IQD)
The Iraqi Dinar is the official currency of Iraq and has undergone several changes since its introduction. As the country continues to stabilize and grow economically, understanding the historical prices of the IQD becomes crucial for investors and businesses operating in the region. The digital transformation in metal markets has paved the way for technological innovations that allow for real-time data analytics and insights. By leveraging smart technology integration, developers can create applications that provide users with up-to-date information about currency fluctuations, including the IQD.
As the financial landscape evolves, the future trends and possibilities for the Iraqi Dinar are promising. With the right tools and data, stakeholders can navigate the complexities of the market, making the Metals-API an essential resource for anyone interested in the IQD.
API Description
The Metals-API is designed to empower developers by providing access to real-time metals data and currency exchange rates. This API is particularly beneficial for those looking to build next-generation applications that require accurate and timely financial information. With its innovative capabilities, the Metals-API allows users to retrieve historical prices, track fluctuations, and convert currencies seamlessly.
For more information, you can visit the Metals-API Website or check 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, making it a versatile tool for developers. 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, updates can occur every 60 minutes or every 10 minutes, ensuring that you have the most current information at your fingertips.
- Historical Rates Endpoint: Users can access historical rates for most currencies, including the IQD, dating back to 2019. By appending a specific date in the format YYYY-MM-DD, you can query the Metals-API for past exchange rates, which is invaluable for trend analysis.
- Bid And Ask Endpoint: This powerful feature allows you to retrieve real-time Bid and Ask prices for various metals and currencies. Understanding these prices is crucial for traders and investors looking to make informed decisions.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, enabling users to convert amounts from one currency to another. This feature is particularly useful for businesses operating in multiple currencies.
- Time-Series Endpoint: This endpoint allows you to query daily historical rates between two dates of your choice, providing a comprehensive view of how the IQD has performed over time.
- Fluctuation Endpoint: With this feature, you can track how currencies fluctuate on a day-to-day basis, offering insights into market volatility.
- Carat Endpoint: This endpoint provides information about gold rates by carat, which can be useful for jewelers and investors in precious metals.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specified date, helping to identify market trends.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, which is essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, allowing for extensive market analysis.
- API Key: Your unique API key is required to access the API, ensuring secure and authorized usage.
- API Response: The exchange rates delivered by the Metals-API are relative to USD by default, and all data is returned in a structured JSON format.
- Available Endpoints: The Metals-API features 14 different endpoints, each providing unique functionalities tailored to various user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, ensuring that you have access to the latest information.
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 or currencies into their applications.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1779409039,
"base": "USD",
"date": "2026-05-22",
"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": 1779322639,
"base": "USD",
"date": "2026-05-21",
"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-05-15",
"end_date": "2026-05-22",
"base": "USD",
"rates": {
"2026-05-15": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-05-17": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-05-22": {
"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": 1779409039,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2026-05-15",
"end_date": "2026-05-22",
"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": 1779409039,
"base": "USD",
"date": "2026-05-22",
"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": 1779409039,
"base": "USD",
"date": "2026-05-22",
"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 provides a comprehensive and innovative solution for retrieving historical prices of the Iraqi Dinar (IQD) and other currencies. By utilizing the various endpoints offered by the API, developers can access real-time data, analyze historical trends, and make informed decisions based on accurate financial information. The integration of advanced technology and data analytics into the financial sector is transforming how stakeholders interact with currency markets.
For those looking to delve deeper into the capabilities of the Metals-API, the Metals-API Documentation is an invaluable resource. Additionally, the Metals-API Supported Symbols page offers a complete list of available currencies and metals, ensuring that developers have access to the latest information.
As the financial landscape continues to evolve, leveraging tools like the Metals-API will be essential for those looking to stay ahead in the market. Whether you are a developer, analyst, or investor, understanding the historical prices of the IQD and other currencies will empower you to make strategic decisions that drive success.