Obtain Bosnia and Herzegovina Convertible Mark (BAM) Historical Prices through this API
Obtain Bosnia and Herzegovina Convertible Mark (BAM) Historical Prices through this API
The Bosnia and Herzegovina Convertible Mark (BAM) is the official currency of Bosnia and Herzegovina, and understanding its historical prices is crucial for financial analysts, traders, and developers working in the financial technology sector. One of the most effective ways to access historical pricing data for BAM is through the Metals-API. This powerful API provides real-time and historical data for various metals and currencies, enabling developers to create applications that require accurate financial data.
Metals-API Information
About Neodymium (ND)
Neodymium is a rare earth metal that has gained significant attention in recent years due to its applications in various high-tech industries, including electronics, renewable energy, and automotive sectors. The digital transformation in metal markets has led to technological innovations that allow for better data analytics and insights. The integration of smart technology in the trading of metals, including neodymium, has opened up new possibilities for developers and businesses alike.
As the demand for neodymium continues to rise, understanding its market dynamics through data analytics becomes essential. The Metals-API can provide valuable insights into neodymium pricing trends, helping developers create applications that can predict future price movements based on historical data.
API Description
The Metals-API is a comprehensive solution for accessing real-time and historical metals data. It empowers developers to build next-generation applications that require accurate and timely information. With its robust capabilities, the API allows users to retrieve data on various metals and currencies, including the Bosnia and Herzegovina Convertible Mark (BAM).
By leveraging the power of the Metals-API, developers can create applications that provide insights into market trends, perform currency conversions, and analyze historical price movements. The API's innovative features and endpoints make it an essential tool for anyone looking to work with metals and currencies in a digital environment.
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 for BAM and other currencies, updated every 60 minutes, every 10 minutes, or even more frequently, depending on your subscription plan.
- Historical Rates Endpoint: Users can access historical rates for BAM dating back to 2019. By appending a specific date in the format YYYY-MM-DD, developers can query the API for historical data.
- Bid And Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for BAM, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The API includes a currency conversion endpoint that enables users to convert any amount from BAM to other currencies or metals, facilitating seamless transactions.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two dates of their choice, offering a comprehensive view of price movements over time.
- Fluctuation Endpoint: Users can track how BAM fluctuates on a day-to-day basis, providing insights into market volatility.
- Carat Endpoint: This feature allows users to retrieve information about gold rates by carat, which can be particularly useful for jewelers and investors.
- Lowest/Highest Price Endpoint: This endpoint enables users to query the API for the lowest and highest price of BAM over a specified period.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access open, high, low, and close prices for BAM, which are essential for technical analysis.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols, dating back to 2008, allowing for in-depth market analysis.
- API Key: Each user receives a unique API key that must be included in the 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 comprehensive coverage of user needs.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies and metals, making it easy for developers to find the symbols they need.
List of Symbols
The Metals-API provides access to a comprehensive range of metal symbols, including BAM. 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": 1782692180,
"base": "USD",
"date": "2026-06-29",
"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": 1782605780,
"base": "USD",
"date": "2026-06-28",
"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-22",
"end_date": "2026-06-29",
"base": "USD",
"rates": {
"2026-06-22": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-06-24": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-06-29": {
"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": 1782692180,
"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-22",
"end_date": "2026-06-29",
"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": 1782692180,
"base": "USD",
"date": "2026-06-29",
"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": 1782692180,
"base": "USD",
"date": "2026-06-29",
"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, obtaining historical prices for the Bosnia and Herzegovina Convertible Mark (BAM) is made easy through the Metals-API. With its extensive features, including real-time rates, historical data access, and various endpoints tailored for different needs, developers can create powerful applications that leverage this data for financial analysis, trading, and market insights.
By utilizing the API's capabilities, developers can enhance their applications with accurate and timely data, ensuring they stay ahead in the fast-paced financial technology landscape. For more information on how to implement these features, refer to the Metals-API Documentation and explore the Metals-API Supported Symbols for a comprehensive list of available currencies and metals.