Get Accurate Bosnia and Herzegovina Convertible Mark (BAM) Prices in Multiple Currencies with this API
Get Accurate Bosnia and Herzegovina Convertible Mark (BAM) Prices in Multiple Currencies with this API
In today's fast-paced financial landscape, having access to accurate and real-time currency exchange rates is crucial for businesses and developers alike. The Metals-API provides a powerful solution for obtaining precise Bosnia and Herzegovina Convertible Mark (BAM) prices in various currencies, including metals like Gold (XAU), Silver (XAG), and Platinum (XPT). This blog post will explore how Metals-API empowers developers to create innovative applications that leverage real-time metals data, enhancing decision-making and operational efficiency.
About Neodymium (ND)
While this post focuses on the capabilities of the Metals-API, it is essential to acknowledge the broader context of digital transformation in metal markets. The integration of smart technology and data analytics is revolutionizing how businesses operate, particularly in the metals industry. Neodymium (ND), a rare earth metal, exemplifies this transformation. As industries increasingly rely on advanced materials, understanding the market dynamics of metals like Neodymium becomes vital.
Technological innovation is at the forefront of this evolution. The Metals-API stands as a testament to how data-driven insights can reshape market strategies. By providing real-time access to metals prices and exchange rates, developers can create applications that not only track market trends but also predict future movements based on historical data.
API Description
The Metals-API is designed to deliver real-time and historical data on metal prices and currency conversions. With its robust architecture, the API allows developers to build next-generation applications that can analyze market trends, perform currency conversions, and access comprehensive historical data. The API's capabilities are particularly beneficial for businesses involved in trading, investment, and financial analysis.
One of the key features of the Metals-API is its ability to provide accurate exchange rates for various metals. This includes not only the current prices but also historical data dating back to 2019. The API supports a wide range of endpoints, each tailored to specific functionalities, enabling developers to retrieve the exact data they need for their applications.
Key Features and Endpoints
The Metals-API offers a variety of endpoints, each serving a unique purpose. Here are some of the most notable features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data, updated every 60 minutes, 10 minutes, or even more frequently, depending on your subscription plan. For instance, if you want to get the latest prices for Gold (XAU), Silver (XAG), and other metals, you can easily access this data.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. By appending a specific date to your query, you can retrieve past exchange rates, which is invaluable for trend analysis and forecasting.
- Bid And Ask Endpoint: This powerful feature allows you to retrieve real-time Bid and Ask prices for metals, providing insights into market liquidity and pricing strategies.
- Convert Endpoint: The API includes a dedicated currency conversion endpoint, enabling you to convert any amount from one currency to another seamlessly. This is particularly useful for businesses operating in multiple currencies.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice. This endpoint is essential for analyzing trends over specific periods.
- Fluctuation Endpoint: Retrieve information about how currencies fluctuate on a day-to-day basis, allowing you to monitor market volatility and make informed decisions.
- Carat Endpoint: This unique feature provides information about Gold rates by Carat, which is crucial for jewelers and traders in the luxury market.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for a specified period, helping you identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint allows you to get the open, high, low, and close prices for a specific time period, which is vital for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a comprehensive view of market trends.
- API Key: Your unique API Key is essential for accessing the API's features securely.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API offers 14 different endpoints, each providing distinct functionalities tailored to various user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, ensuring you have access to the latest symbols.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping you informed about market developments.
API Endpoint Examples and Responses
To illustrate the capabilities of the Metals-API, let's explore some example responses from key endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1771547035,
"base": "USD",
"date": "2026-02-20",
"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 provides real-time exchange rates for various metals, allowing developers to integrate this data into their applications for real-time pricing updates.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1771460635,
"base": "USD",
"date": "2026-02-19",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows how to access historical rates, which can be crucial for businesses analyzing past performance to inform future strategies.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-02-13",
"end_date": "2026-02-20",
"base": "USD",
"rates": {
"2026-02-13": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-02-15": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-02-20": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
The time-series endpoint allows users to analyze trends over specific periods, making it easier to identify patterns in metal prices.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1771547035,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response demonstrates how to convert an amount from one currency to another, which is essential for businesses dealing in multiple currencies.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-02-13",
"end_date": "2026-02-20",
"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 endpoint allows users to track fluctuations in metal prices, providing insights into market volatility.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1771547035,
"base": "USD",
"date": "2026-02-20",
"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"
}
The OHLC endpoint is crucial for traders and analysts who rely on historical price data to make informed decisions.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1771547035,
"base": "USD",
"date": "2026-02-20",
"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 current bid and ask prices, which are essential for traders looking to execute orders at optimal prices.
Conclusion
The Metals-API is a powerful tool for developers seeking to integrate accurate and real-time metals data into their applications. By providing access to a wide range of endpoints, including the latest rates, historical data, and conversion capabilities, the API empowers businesses to make informed decisions based on reliable data. Whether you are analyzing market trends, performing currency conversions, or tracking price fluctuations, the Metals-API offers the necessary tools to enhance your operations.
For more information on how to utilize these features, refer to the Metals-API Documentation and explore the comprehensive list of supported symbols at the Metals-API Supported Symbols page. By leveraging the capabilities of the Metals-API, you can stay ahead in the competitive landscape of the metals market.