Retrieve Jordanian Dinar (JOD) Historical Prices via this API
Retrieve Jordanian Dinar (JOD) Historical Prices via this API
The ability to retrieve historical prices for the Jordanian Dinar (JOD) is essential for developers and financial analysts looking to analyze trends, perform market analysis, or integrate currency data into applications. The Metals-API provides a robust solution for accessing real-time and historical exchange rates, including those for the Jordanian Dinar. This blog post will delve into the capabilities of the Metals-API, focusing on its innovative features, endpoints, and how developers can leverage this API to access historical prices effectively.
Metals-API Information
About Nickel (NI)
Nickel is a key metal in various industries, particularly in the production of stainless steel and batteries. The digital transformation in metal markets has led to significant technological innovations, enabling real-time data analytics and insights. The integration of smart technology in metal trading has opened up new possibilities for developers and businesses alike. As the market evolves, understanding these trends and the role of APIs like Metals-API becomes crucial for staying competitive.
API Description
The Metals-API is a powerful tool designed to provide developers with real-time and historical data on various metals and currencies. With its focus on innovation and technological advancement, the API empowers users to build next-generation applications that require accurate and timely data. The API's capabilities include retrieving exchange rates, historical prices, and various analytical insights, making it an invaluable resource for financial applications.
For detailed information on how to use the API, developers can refer to the Metals-API Documentation, which outlines the various endpoints, parameters, and response formats.
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: 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 even every 10 minutes, ensuring that you have the most current data available.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. By appending a specific date (in YYYY-MM-DD format) to the endpoint, developers can retrieve historical exchange rates for the Jordanian Dinar and other currencies.
- Bid And Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for metals, providing insights into market conditions and helping traders make informed decisions.
- Convert Endpoint: The conversion endpoint enables users to convert amounts between different currencies, including the Jordanian Dinar, making it easier to handle transactions across various currencies.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two specified dates, providing a comprehensive view of currency fluctuations over time.
- Fluctuation Endpoint: Users can track how currencies fluctuate on a day-to-day basis, which is crucial for understanding market volatility and making strategic decisions.
- Carat Endpoint: This endpoint provides information about gold rates by carat, which can be particularly useful for jewelers and investors in precious metals.
- Lowest/Highest Price Endpoint: Retrieve the lowest and highest prices for a specified date, allowing for quick assessments of market performance.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides 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, which is invaluable for those involved in trading metals on the London Metal Exchange.
- API Key: Each user is assigned a unique API key that must be included in requests to authenticate and authorize access to the API.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data representation.
- Available Endpoints: With 14 different API endpoints, users can access a wide range of functionalities tailored to their specific needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, including the Jordanian Dinar, ensuring users have access to the latest data.
- News Endpoint: Retrieve the latest news articles related to various metals, providing context and insights into market trends.
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 essential for developers looking to integrate specific metals or currencies into their applications.
API Endpoint Examples and Responses
Latest Rates Endpoint
The Latest Rates Endpoint allows users to get real-time exchange rates for all available metals, including the Jordanian Dinar. Here’s an example response:
{
"success": true,
"timestamp": 1778113133,
"base": "USD",
"date": "2026-05-07",
"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 timestamp, base currency (USD), and the exchange rates for various metals.
Historical Rates Endpoint
Accessing historical exchange rates is straightforward with the Historical Rates Endpoint. Here’s an example response:
{
"success": true,
"timestamp": 1778026733,
"base": "USD",
"date": "2026-05-06",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response shows the historical rates for a specific date, allowing developers to analyze past market conditions.
Time-series Endpoint
The Time-series Endpoint provides exchange rates for a specific time period. Here’s an example response:
{
"success": true,
"timeseries": true,
"start_date": "2026-04-30",
"end_date": "2026-05-07",
"base": "USD",
"rates": {
"2026-04-30": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-05-02": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-05-07": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides a detailed view of how exchange rates have changed over the specified period, which is crucial for trend analysis.
Convert Endpoint
The Convert Endpoint allows users to convert any amount from one metal to another or to/from USD. Here’s an example response:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1778113133,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response shows the conversion of 1000 USD to gold (XAU), providing the rate and the result in troy ounces.
Fluctuation Endpoint
The Fluctuation Endpoint tracks rate fluctuations between two dates. Here’s an example response:
{
"success": true,
"fluctuation": true,
"start_date": "2026-04-30",
"end_date": "2026-05-07",
"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 response provides insights into how the rates have changed over the specified period, which is essential for understanding market dynamics.
OHLC (Open/High/Low/Close) Price Endpoint
The OHLC Endpoint provides open, high, low, and close prices for a specific time period. Here’s an example response:
{
"success": true,
"timestamp": 1778113133,
"base": "USD",
"date": "2026-05-07",
"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 is crucial for traders who rely on technical analysis to make informed decisions based on price movements.
Bid/Ask Endpoint
The Bid/Ask Endpoint provides current bid and ask prices for metals. Here’s an example response:
{
"success": true,
"timestamp": 1778113133,
"base": "USD",
"date": "2026-05-07",
"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"
}
This response provides essential information for traders looking to understand market conditions and make informed trading decisions.
Conclusion
In conclusion, the Metals-API is an invaluable resource for developers and financial analysts seeking to retrieve historical prices for the Jordanian Dinar (JOD) and other currencies. With its comprehensive range of endpoints, including the Latest Rates, Historical Rates, and various analytical tools, the API empowers users to access real-time and historical data efficiently. By leveraging the capabilities of the Metals-API, developers can build sophisticated applications that provide insights into market trends, facilitate currency conversion, and enhance trading strategies.
For further exploration of the API's capabilities, developers are encouraged to visit the Metals-API Documentation for detailed guidance on implementation and usage. Additionally, the Metals-API Supported Symbols page offers a comprehensive list of available currencies and metals, ensuring that users can access the data they need for their applications.
As the financial landscape continues to evolve, staying informed and utilizing advanced tools like the Metals-API will be crucial for success in the competitive world of currency trading and market analysis.