Get Bahamian Dollar (BSD) price data using this API
Get Bahamian Dollar (BSD) Price Data Using Metals-API
The Bahamian Dollar (BSD) is a crucial currency in the Caribbean, particularly for trade and tourism in the Bahamas. As the world increasingly embraces digital transformation, the need for real-time financial data has never been more critical. This is where the Metals-API comes into play, offering developers a powerful tool to access up-to-date exchange rates, including those for the Bahamian Dollar. In this blog post, we will explore the capabilities of the Metals-API, its endpoints, and how it can be utilized to enhance applications that require accurate and timely financial data.
About Bahamian Dollar (BSD)
The Bahamian Dollar (BSD) is pegged to the US Dollar (USD) at par, making it a stable currency for transactions within the Bahamas. As the economy evolves, the integration of smart technology and data analytics is transforming how financial markets operate. The Metals-API provides developers with the tools necessary to harness this transformation, enabling them to build applications that leverage real-time data analytics and insights.
With the rise of technological innovation, the demand for accurate and instantaneous data has surged. Developers can utilize the Metals-API to access a wealth of information, including historical data, current exchange rates, and market fluctuations. This API empowers developers to create applications that not only provide financial insights but also adapt to future trends in the financial landscape.
API Description
The Metals-API is a comprehensive JSON API that provides access to real-time and historical metals prices, including currency conversion capabilities. It is designed to facilitate the integration of metals pricing data into applications, enabling developers to create next-generation financial tools. The API offers a variety of endpoints, each serving a unique purpose, from retrieving the latest exchange rates to accessing historical data dating back to 2019.
For detailed information on how to implement the API, developers can refer to the Metals-API Documentation. This resource provides comprehensive guidance on authentication, endpoint usage, and response handling.
Key Features and Endpoints
The Metals-API offers a range of endpoints that cater to various needs. Here are some of the most significant features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data, updated every 60 minutes, 10 minutes, or even more frequently, depending on the subscription plan. Developers can easily integrate this feature to display the latest Bahamian Dollar rates against other currencies.
- Historical Rates Endpoint: Access to historical rates dating back to 2019 allows developers to analyze trends over time. By appending a specific date in the format YYYY-MM-DD, users can retrieve past exchange rates for the Bahamian Dollar.
- Bid And Ask Endpoint: This powerful feature retrieves real-time bid and ask prices, essential for traders looking to make informed decisions based on current market conditions.
- Convert Endpoint: The conversion endpoint allows users to convert any amount from one currency to another, including conversions involving the Bahamian Dollar. This feature is particularly useful for applications that require currency exchange functionalities.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two dates of their choice, enabling them to analyze price movements over specific periods.
- Fluctuation Endpoint: This endpoint provides insights into how currencies fluctuate on a day-to-day basis, allowing developers to track changes in the Bahamian Dollar's value over time.
- Carat Endpoint: For applications focused on precious metals, this endpoint retrieves information about gold rates by carat, which can be particularly useful for jewelers and investors.
- Lowest/Highest Price Endpoint: This feature allows users to query the API to get the lowest and highest prices for a specified date, providing valuable insights into market volatility.
- Open/High/Low/Close (OHLC) Price Endpoint: Developers can access detailed OHLC data for a specific time period, which is essential for technical analysis and trading strategies.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, offering a wealth of data for market analysts.
- API Key: Each user is assigned a unique API key, which must be included in requests to authenticate and authorize access to the API.
- API Response: The Metals-API delivers exchange rates relative to USD by default, ensuring consistency in data representation.
- Available Endpoints: The API includes 14 endpoints, each designed to provide specific functionalities, ensuring comprehensive coverage of user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, including the Bahamian Dollar, allowing developers to stay informed about supported symbols.
- News Endpoint: The API also provides access to the latest news articles related to various metals, keeping users updated on market trends and 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 pricing data into their applications.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1774915845,
"base": "USD",
"date": "2026-03-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": 1774829445,
"base": "USD",
"date": "2026-03-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-03-24",
"end_date": "2026-03-31",
"base": "USD",
"rates": {
"2026-03-24": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-03-26": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-03-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": 1774915845,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2026-03-24",
"end_date": "2026-03-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": 1774915845,
"base": "USD",
"date": "2026-03-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": 1774915845,
"base": "USD",
"date": "2026-03-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 is a powerful tool for developers looking to integrate real-time financial data into their applications, particularly for currencies like the Bahamian Dollar (BSD). With its extensive range of endpoints, developers can access the latest rates, historical data, and fluctuations, enabling them to create innovative financial solutions. By leveraging the capabilities of the Metals-API, developers can stay ahead of market trends and provide users with accurate and timely information.
For more information on how to get started with the Metals-API, visit the Metals-API Website and explore the Metals-API Documentation for detailed guidance on implementation. Don't forget to check the Metals-API Supported Symbols page for a complete list of available currencies and metals.