Get Brunei Dollar (BND) Historical Prices with currency conversion using this API
Get Brunei Dollar (BND) Historical Prices with Currency Conversion Using Metals-API
In today's rapidly evolving financial landscape, the ability to access historical prices and perform currency conversions is crucial for developers and businesses alike. The Metals-API provides a robust solution for obtaining real-time and historical data on various metals, including the ability to convert currencies such as the Brunei Dollar (BND). This blog post will explore the capabilities of the Metals-API, focusing on how to retrieve historical prices and perform conversions effectively.
About Neodymium (ND)
Neodymium, represented by the symbol ND, is a rare earth metal that plays a significant role in modern technology. As industries continue to embrace digital transformation, the demand for neodymium has surged due to its applications in high-strength magnets, lasers, and various electronic devices. The integration of smart technology and data analytics in metal markets has revolutionized how businesses operate, providing insights that were previously unattainable.
Technological innovations have paved the way for advanced data analytics, enabling companies to make informed decisions based on real-time data. The future of neodymium and other metals lies in the seamless integration of these technologies, allowing for predictive analytics and enhanced market forecasting. As we move forward, the potential for neodymium in emerging technologies, such as electric vehicles and renewable energy solutions, will only continue to grow.
API Description
The Metals-API is a powerful tool that provides developers with access to real-time and historical data on various metals, including gold, silver, platinum, and palladium. This API empowers developers to build next-generation applications by offering comprehensive data that can be utilized for analytics, reporting, and decision-making processes.
With the Metals-API, users can access a wide range of features, including the ability to retrieve the latest rates, historical prices, and perform currency conversions. The API is designed to be user-friendly, with extensive documentation available at the Metals-API Documentation. This resource provides detailed information on how to implement the API effectively, ensuring that developers can maximize its potential.
Key Features and Endpoints
The Metals-API offers several key features that enhance its usability and functionality. Here are some of the most notable endpoints:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for various metals. Depending on your subscription plan, the API can return updates every 60 minutes, every 10 minutes, or even more frequently. This feature is essential for applications that require up-to-the-minute pricing information.
- Historical Rates Endpoint: Users can access historical rates dating back to 2019. By appending a specific date to the API request, developers can retrieve historical pricing data for metals, which is invaluable for trend analysis and market research.
- Bid and Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing strategies.
- Convert Endpoint: The Metals-API includes a dedicated currency conversion endpoint, enabling users to convert amounts from one currency to another seamlessly. This is particularly useful for businesses operating in multiple currencies.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two specified dates. This feature is ideal for analyzing price movements over time.
- Fluctuation Endpoint: Users can track how currencies fluctuate on a day-to-day basis, providing valuable insights into market volatility.
- Carat Endpoint: This endpoint retrieves information about gold rates by carat, allowing jewelers and gold traders to access precise pricing information.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specific date, which is essential for understanding market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This feature provides open, high, low, and close prices for a specific date, which is crucial for technical analysis.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, allowing users to analyze long-term trends.
- API Key: Each user is assigned a unique API key that must be included in requests to authenticate access to the API.
- API Response: The Metals-API delivers exchange rates relative to USD by default, ensuring consistency in data presentation.
- Available Endpoints: The API features 14 different endpoints, each offering unique functionalities to cater to various user needs.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies and metals, ensuring users have access to the latest information.
- 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. This resource is invaluable for developers looking to integrate specific metals into their applications.
API Endpoint Examples and Responses
Understanding how to interact with the Metals-API is crucial for effective implementation. Below are examples of various API endpoints and their corresponding JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1771892273,
"base": "USD",
"date": "2026-02-24",
"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": 1771805873,
"base": "USD",
"date": "2026-02-23",
"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-02-17",
"end_date": "2026-02-24",
"base": "USD",
"rates": {
"2026-02-17": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-02-19": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-02-24": {
"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": 1771892273,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-02-17",
"end_date": "2026-02-24",
"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": 1771892273,
"base": "USD",
"date": "2026-02-24",
"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": 1771892273,
"base": "USD",
"date": "2026-02-24",
"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
The Metals-API is an invaluable resource for developers seeking to access real-time and historical data on metals, including the ability to convert currencies like the Brunei Dollar (BND). By leveraging the various endpoints offered by the API, developers can create powerful applications that provide insights into market trends and pricing strategies.
As industries continue to evolve, the integration of advanced technologies and data analytics will play a crucial role in shaping the future of metal markets. The Metals-API stands at the forefront of this transformation, offering developers the tools they need to succeed in a competitive landscape.
For more information on how to implement the Metals-API in your projects, visit the Metals-API Documentation and explore the extensive features available. Additionally, check out the Metals-API Supported Symbols page for a comprehensive list of available metals and currencies.
In summary, the Metals-API not only provides essential data for developers but also empowers them to innovate and create applications that can adapt to the ever-changing financial landscape.