Access Iraqi Dinar (IQD) Historical Prices through this API
Access Iraqi Dinar (IQD) Historical Prices through this API
The Iraqi Dinar (IQD) has seen significant fluctuations over the years, influenced by various economic and geopolitical factors. For developers and financial analysts looking to access historical prices of the Iraqi Dinar, the Metals-API offers a robust solution. This API provides real-time and historical exchange rate data, empowering users to analyze trends, perform data analytics, and integrate insights into their applications. In this blog post, we will explore the capabilities of the Metals-API, focusing on how it can be utilized to access historical prices of the Iraqi Dinar and other metals.
Metals-API Information
About Iraqi Dinar (IQD)
The Iraqi Dinar has undergone a digital transformation in recent years, reflecting the broader trends in the global financial markets. As technological innovations continue to reshape how we interact with currencies, the integration of smart technology and data analytics has become essential for understanding market dynamics. The Metals-API stands at the forefront of this transformation, offering developers the tools needed to harness real-time data for the Iraqi Dinar and other currencies.
By leveraging the Metals-API, developers can create applications that provide insights into currency fluctuations, historical trends, and market predictions. The API's capabilities allow for a deeper understanding of the Iraqi Dinar's performance against other currencies, enabling users to make informed decisions based on accurate data.
API Description
The Metals-API is designed to provide developers with access to real-time and historical metals data, including exchange rates for various currencies. This API empowers users to build next-generation applications that require accurate and timely data. With a focus on innovation and technological advancement, the Metals-API offers a range of features that facilitate seamless integration into existing systems.
For more information, you can visit the Metals-API Website or refer to the Metals-API Documentation for detailed guidance on implementation.
Key Features and Endpoints
The Metals-API provides a variety of endpoints that cater to different needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint returns real-time exchange rate data updated at intervals depending on your subscription plan. Users can access the latest rates for the Iraqi Dinar against other currencies, allowing for quick decision-making.
- Historical Rates Endpoint: Users can query historical rates for the Iraqi Dinar dating back to 2019. By appending a specific date to the API request, developers can retrieve historical exchange rates, enabling comprehensive analysis of trends over time.
- Bid And Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for the Iraqi Dinar. This information is crucial for traders looking to make informed decisions based on current market conditions.
- Convert Endpoint: The Metals-API includes a currency conversion feature that allows users to convert amounts between different currencies, including the Iraqi Dinar. This is particularly useful for applications that require multi-currency support.
- Time-Series Endpoint: Users can query the API for daily historical rates between two specified dates. This feature is essential for analyzing trends and fluctuations over time.
- Fluctuation Endpoint: This endpoint provides information about how the Iraqi Dinar fluctuates on a day-to-day basis, offering insights into market volatility.
- Carat Endpoint: Users can retrieve information about gold rates by carat, which is useful for applications focused on precious metals.
- Lowest/Highest Price Endpoint: This feature allows users to query the API to get the lowest and highest prices for the Iraqi Dinar over a specified period.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for the Iraqi Dinar, which is essential for traders and analysts.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a broader context for market analysis.
- API Key: Users must pass their unique API key in the request to authenticate and access the data.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data presentation.
- Available Endpoints: The Metals-API includes 14 endpoints, each offering distinct functionalities tailored to various user needs.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies, including the Iraqi Dinar.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them informed about market developments.
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.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1776039648,
"base": "USD",
"date": "2026-04-13",
"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": 1775953248,
"base": "USD",
"date": "2026-04-12",
"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-04-06",
"end_date": "2026-04-13",
"base": "USD",
"rates": {
"2026-04-06": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-04-08": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-04-13": {
"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": 1776039648,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-04-06",
"end_date": "2026-04-13",
"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": 1776039648,
"base": "USD",
"date": "2026-04-13",
"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": 1776039648,
"base": "USD",
"date": "2026-04-13",
"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
Accessing historical prices of the Iraqi Dinar through the Metals-API provides developers with a powerful tool for financial analysis and application development. The API's extensive features, including real-time rates, historical data, and various endpoints, enable users to gain insights into currency trends and fluctuations. By utilizing the Metals-API, developers can create applications that not only track the performance of the Iraqi Dinar but also integrate valuable data analytics capabilities.
For further exploration of the API's capabilities, developers are encouraged to refer to the Metals-API Documentation and the Metals-API Supported Symbols page. With the right tools and data, the potential for innovation in the financial sector is limitless.