Get Bismuth (BMTH) Historical Prices using this API

Get Bismuth (BMTH) Historical Prices using 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 emerging as a significant player in this arena, and understanding its historical prices can provide valuable insights for investors, developers, and analysts alike. This blog post will delve into how to obtain historical prices for Bismuth using the Metals-API, a powerful tool that leverages technological innovation and data analytics to transform the way we interact with metal market data.
About Bismuth (BMTH)
Bismuth, represented by the symbol BMTH, is a metal that has gained attention due to its unique properties and applications. As industries increasingly seek sustainable and efficient materials, Bismuth has emerged as a viable alternative to lead in various applications, including pharmaceuticals, cosmetics, and electronics. The digital transformation in metal markets has made it essential for stakeholders to access real-time and historical data to make informed decisions.
The integration of smart technology into metal trading platforms has revolutionized how data is collected, analyzed, and utilized. With the rise of data analytics, developers can now harness insights from historical price trends to forecast future movements. This capability is crucial for creating applications that can adapt to market changes and provide users with actionable insights.
As we look to the future, the possibilities for Bismuth and other metals are vast. The ongoing technological advancements in data collection and analysis will continue to shape the metal markets, enabling more precise forecasting and strategic planning. The Metals-API stands at the forefront of this transformation, providing developers with the tools they need to build next-generation applications.
API Description
The Metals-API is a robust platform that offers real-time and historical data for various metals, including Bismuth. This API empowers developers to create applications that can access and analyze metal prices efficiently. By leveraging the capabilities of the Metals-API, users can gain insights into market trends, perform data analytics, and integrate smart technology into their applications.
One of the key features of the Metals-API is its ability to provide real-time exchange rate data. Depending on your subscription plan, the API can return the latest rates updated every 60 minutes or even every 10 minutes. This feature is invaluable for developers looking to create applications that require up-to-the-minute data.
Moreover, the Metals-API offers a comprehensive range of endpoints that cater to various needs. For instance, the Historical Rates Endpoint allows users to access historical prices dating back to 2019, making it easier to analyze trends over time. By appending a specific date to the API request, developers can retrieve historical data for Bismuth and other metals, enabling them to conduct thorough analyses.
Another powerful feature is the Bid and Ask Endpoint, which provides real-time bid and ask prices for metals. This functionality is essential for traders who need to make quick decisions based on current market conditions. Additionally, the Convert Endpoint allows users to convert amounts between different metals or currencies, further enhancing the API's versatility.
The Time-Series Endpoint is particularly useful for developers looking to analyze price movements over specific periods. By querying the API for daily historical rates between two dates, users can gain insights into market fluctuations and make informed predictions about future trends.
Key Features and Endpoints
The Metals-API offers a variety of endpoints, each designed to provide specific functionalities that cater to the needs of developers and analysts:
- Latest Rates Endpoint: This endpoint returns real-time exchange rate data for all available metals. The response includes the base currency, timestamp, and rates for various metals, allowing users to quickly assess current market conditions.
- Historical Rates Endpoint: Users can access historical exchange rates for any date since 1999. This endpoint is particularly useful for analyzing long-term trends and making data-driven decisions.
- Bid and Ask Endpoint: This feature enables users to retrieve current bid and ask prices for metals, providing essential information for traders looking to make informed decisions.
- Convert Endpoint: The API allows users to convert any amount from one metal to another or to/from USD, facilitating seamless transactions across different currencies.
- Time-Series Endpoint: Users can query the API for daily historical rates between two dates, enabling them to analyze price movements over specific periods.
- Fluctuation Endpoint: This endpoint provides information about how currencies fluctuate on a day-to-day basis, helping users understand market volatility.
- Carat Endpoint: Users can retrieve information about gold rates by carat, which is essential for jewelers and gold traders.
- Lowest/Highest Price Endpoint: This endpoint allows users to query the API to get the lowest and highest price for a specific date, providing valuable insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access OHLC data for a specific time period, which is crucial for technical analysis and trading strategies.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols, dating back to 2008, allowing users to analyze trends in the London Metal Exchange.
- API Key: The API Key is a unique identifier that must be included in API requests to authenticate users and manage access.
- API Response: The Metals-API delivers exchange rates relative to USD by default, ensuring consistency in data presentation.
- Available Endpoints: The API comes with a comprehensive list of endpoints, each providing different functionalities tailored to user needs.
- Supported Symbols Endpoint: This endpoint returns all available currencies, ensuring users have access to the latest metal symbols.
- Gold Price India Endpoint: Users can retrieve the latest gold price in India using this dedicated endpoint, catering to regional market needs.
- News Endpoint: The API allows users to retrieve the latest news articles related to various metals, keeping them informed about market developments.
API Endpoint Examples and Responses
Understanding the API responses is crucial for developers looking to integrate the Metals-API into their applications. Below are examples of various endpoint responses, showcasing the data structure and key fields:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1745989283,
"base": "USD",
"date": "2025-04-30",
"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"
}
The response includes a success flag, timestamp, base currency, date, and rates for various metals. This information is essential for users to understand the current market landscape.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1745902883,
"base": "USD",
"date": "2025-04-29",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This endpoint allows users to access historical exchange rates for specific dates, enabling them to analyze trends over time.
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-04-23",
"end_date": "2025-04-30",
"base": "USD",
"rates": {
"2025-04-23": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-04-25": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-04-30": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
The Time-Series Endpoint response provides daily historical rates between two specified dates, allowing for detailed analysis of price movements.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1745989283,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This endpoint allows users to convert amounts between different metals or currencies, providing flexibility in transactions.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-04-23",
"end_date": "2025-04-30",
"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"
}
The Fluctuation Endpoint provides insights into how prices change over time, which is crucial for understanding market volatility.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1745989283,
"base": "USD",
"date": "2025-04-30",
"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"
}
This endpoint provides critical data for traders and analysts, allowing them to perform technical analysis based on open, high, low, and close prices.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1745989283,
"base": "USD",
"date": "2025-04-30",
"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"
}
The Bid/Ask Endpoint is essential for traders who need to know the current market prices to make informed decisions.
Conclusion
In conclusion, the Metals-API provides a comprehensive suite of tools for accessing historical prices and real-time data for Bismuth (BMTH) and other metals. By leveraging the capabilities of this API, developers can create innovative applications that harness the power of data analytics and smart technology integration. The ability to access historical rates, real-time prices, and various conversion functionalities empowers users to make informed decisions in a rapidly changing market.
As the metal markets continue to evolve, the importance of accurate and timely data will only increase. The Metals-API stands as a vital resource for developers and analysts looking to navigate this complex landscape. For more information on how to get started, refer to the Metals-API Documentation and explore the Metals-API Supported Symbols for a complete list of available metals.
By embracing the transformative potential of real-time metals data, stakeholders can position themselves for success in the future of metal markets.