Get Brunei Dollar (BND) Historical Prices using this API
Get Brunei Dollar (BND) Historical Prices using this API
In today's fast-paced financial landscape, the ability to access historical prices for currencies like the Brunei Dollar (BND) is crucial for developers, traders, and analysts alike. With the rise of digital transformation in the financial sector, APIs have become indispensable tools for accessing real-time and historical data. One such powerful tool is the Metals-API, which provides comprehensive access to metals pricing and currency conversion data. This blog post will delve into the capabilities of the Metals-API, focusing on how to retrieve historical prices for the Brunei Dollar and other metals, while also exploring the broader implications of technological advancements in the metal markets.
Metals-API Information
About Neodymium (ND)
Neodymium, a rare earth metal, is a prime example of how digital transformation is reshaping metal markets. The integration of smart technology and data analytics has revolutionized how traders and developers interact with metal pricing data. With the Metals-API, users can harness the power of real-time data to make informed decisions, track market trends, and optimize their trading strategies.
The technological innovations embedded within the Metals-API allow for seamless integration into various applications, enabling developers to create next-generation solutions that leverage historical and real-time data. By utilizing data analytics, users can gain insights into market fluctuations, identify patterns, and forecast future trends, all of which are essential for navigating the complexities of metal trading.
API Description
The Metals-API is designed to empower developers by providing a robust platform for accessing real-time and historical metals data. With a focus on innovation and technological advancement, this API enables users to build applications that can respond to market changes in real-time. The API supports a variety of endpoints that cater to different needs, from retrieving the latest rates to accessing historical data dating back to 2019.
For detailed information on how to utilize the API, developers can refer to the Metals-API Documentation, which provides comprehensive guidance on each endpoint, including parameters, response formats, and usage examples.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that provide different functionalities, each designed to meet specific user needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated based on your subscription plan. Depending on the plan, updates can occur every 60 minutes, every 10 minutes, or even more frequently.
- Historical Rates Endpoint: Users can access historical rates for most currencies dating back to 2019. By appending a specific date to the API call, developers can retrieve historical pricing data for the Brunei Dollar and other metals.
- Bid And Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for metals, providing crucial information for traders looking to make informed decisions.
- Convert Endpoint: The API includes a currency conversion endpoint that enables users to convert amounts from one currency to another, facilitating seamless transactions.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two specified dates, making it easier to analyze trends over time.
- Fluctuation Endpoint: Users can track how currencies fluctuate 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 is essential for jewelers and investors alike.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specified date, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific time period, which is vital for technical analysis.
- Historical LME Endpoint: This endpoint allows access to historical rates for LME symbols dating back to 2008, providing a wealth of data for analysis.
- API Key: Each user is assigned a unique API key that must be included in the API requests to authenticate access.
- API Response: The API delivers exchange rates relative to USD by default, ensuring consistency in data interpretation.
- Available Endpoints: The Metals-API includes 14 different endpoints, each providing unique functionalities tailored to user needs.
- Supported Symbols Endpoint: This endpoint returns all available currencies, allowing users to stay updated on the latest symbols.
- 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 metal data into their applications.
API Endpoint Examples and Responses
Understanding the API responses is crucial for effective integration. Below are examples of various endpoints, showcasing their functionality and response formats:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1769818503,
"base": "USD",
"date": "2026-01-31",
"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": 1769732103,
"base": "USD",
"date": "2026-01-30",
"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-01-24",
"end_date": "2026-01-31",
"base": "USD",
"rates": {
"2026-01-24": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-01-26": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-01-31": {
"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": 1769818503,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-01-24",
"end_date": "2026-01-31",
"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": 1769818503,
"base": "USD",
"date": "2026-01-31",
"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": 1769818503,
"base": "USD",
"date": "2026-01-31",
"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, the Metals-API offers a powerful and flexible solution for accessing historical prices and real-time data for metals, including the Brunei Dollar (BND). By leveraging the various endpoints available, developers can create applications that provide valuable insights into market trends and fluctuations. The API's focus on technological innovation and data analytics positions it as a vital tool for anyone involved in the metal markets.
For further exploration, developers are encouraged to visit the Metals-API Documentation for detailed guidance on implementation, as well as the Metals-API Supported Symbols page to familiarize themselves with the available data. The Metals-API Website serves as a comprehensive resource for understanding the full capabilities of this transformative API.