Retrieve Bismuth (BMTH) Historical Prices with this API

Retrieve Bismuth (BMTH) Historical Prices with this API
In the rapidly evolving landscape of metal markets, the demand for accurate and timely data has never been more critical. Bismuth (BMTH) is a lesser-known yet fascinating metal that has gained traction in various industries, from pharmaceuticals to electronics. To effectively track and analyze the historical prices of Bismuth, developers can leverage the powerful capabilities of the Metals-API. This blog post delves into the innovative features of the Metals-API, focusing on how to retrieve historical prices and the transformative potential of real-time metals data.
About Bismuth (BMTH)
Bismuth is a post-transition metal known for its low toxicity and unique properties, making it an attractive alternative to lead in various applications. As industries undergo digital transformation, the integration of smart technologies and data analytics becomes essential. The Bismuth market is no exception; technological advancements are paving the way for enhanced tracking, trading, and utilization of this metal.
With the rise of data analytics, stakeholders can gain valuable insights into market trends, price fluctuations, and demand forecasts. The future of Bismuth in the metal markets is promising, with potential applications expanding as industries seek sustainable and efficient alternatives. By utilizing the Metals-API, developers can harness the power of data to build applications that provide real-time insights and historical analysis of Bismuth prices.
Metals-API Overview
The Metals-API is a robust platform that provides developers with access to real-time and historical metal prices, including Bismuth. This API is designed for seamless integration into applications, enabling users to retrieve essential data effortlessly. With its focus on innovation and technological advancement, the Metals-API empowers developers to create next-generation applications that can analyze and visualize metal price trends.
One of the standout features of the Metals-API is its ability to deliver real-time exchange rate data, updated frequently based on the user's subscription plan. This ensures that developers have access to the most accurate and timely information, which is crucial for making informed decisions in the fast-paced metal markets.
Key Features of Metals-API
The Metals-API offers a variety of endpoints that cater to different data needs. Hereβs a closer look at some of the key features:
- Latest Rates Endpoint: Depending on your subscription plan, this endpoint returns real-time exchange rate data updated every 60 minutes, every 10 minutes, or even more frequently. This allows developers to access the latest market prices for Bismuth and other metals.
- Historical Rates Endpoint: Historical rates are available for most currencies dating back to 2019. Developers can query the Metals-API for historical rates by appending a specific date to the endpoint. This feature is particularly useful for analyzing price trends over time.
- Bid and Ask Endpoint: This powerful feature enables users to retrieve real-time Bid and Ask prices for Bismuth, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, allowing users to convert any amount from one metal to another or to/from USD. This is essential for applications that require multi-metal transactions.
- Time-Series Endpoint: This endpoint allows developers to query the API for daily historical rates between two dates of their choice. It is particularly useful for trend analysis and forecasting.
- Fluctuation Endpoint: Users can retrieve information about how metal prices 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 can be useful for applications focused on precious metals.
- Lowest/Highest Price Endpoint: Developers can query the API to get the lowest and highest price for Bismuth over a specified period, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides detailed price data, including the open, high, low, and close prices for Bismuth, which is essential for traders and analysts.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, allowing for comprehensive analysis of market trends.
- API Key: Each user is provided with a unique API key that 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.
- Supported Symbols Endpoint: This endpoint returns all available currencies and metal symbols, allowing developers to stay updated on the latest offerings.
- Gold Price India Endpoint: Retrieve the latest gold price in India using the dedicated endpoint, which can be useful for regional market analysis.
- News Endpoint: The Metals-API provides access to the latest news articles related to various metals, keeping users informed about market developments.
API Endpoint Examples and Responses
Understanding the API responses is crucial for developers looking to implement the Metals-API effectively. Below are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1746770430,
"base": "USD",
"date": "2025-05-09",
"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": 1746684030,
"base": "USD",
"date": "2025-05-08",
"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": "2025-05-02",
"end_date": "2025-05-09",
"base": "USD",
"rates": {
"2025-05-02": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-05-04": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-05-09": {
"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": 1746770430,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2025-05-02",
"end_date": "2025-05-09",
"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) Price Endpoint
Get OHLC data for a specific time period:
{
"success": true,
"timestamp": 1746770430,
"base": "USD",
"date": "2025-05-09",
"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": 1746770430,
"base": "USD",
"date": "2025-05-09",
"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 comprehensive suite of features that empower developers to retrieve and analyze historical prices for Bismuth (BMTH) and other metals. By leveraging the API's capabilities, developers can create innovative applications that provide valuable insights into market trends and price fluctuations. The integration of smart technology and data analytics in the metal markets is transforming how stakeholders interact with these commodities.
As industries continue to evolve, the demand for accurate and real-time data will only increase. The Metals-API stands at the forefront of this transformation, providing the tools necessary for developers to build applications that meet the needs of a dynamic market. For more information on how to get started, visit the Metals-API Documentation and explore the Metals-API Supported Symbols for a complete list of available metals.
By harnessing the power of the Metals-API, developers can unlock the potential of Bismuth and other metals, paving the way for a more data-driven future in the metal markets.