How to Get Bismuth (BMTH) Historical Prices with a Simple API Call
Introduction
Bismuth (BMTH) is an intriguing metal that has gained attention in recent years due to its unique properties and applications. As the digital transformation continues to reshape the metal markets, the ability to access historical prices and real-time data has become essential for developers and businesses alike. In this blog post, we will explore how to get Bismuth historical prices using the Metals-API, a powerful tool that provides comprehensive data on various metals, including Bismuth.
About Bismuth (BMTH)
Bismuth is a post-transition metal known for its low toxicity and high density. It is primarily used in pharmaceuticals, cosmetics, and as a replacement for lead in various applications. The digital transformation in metal markets has opened up new avenues for Bismuth trading and investment. With the rise of technological innovation and advancement, data analytics has become a crucial component in understanding market trends and making informed decisions.
As industries increasingly integrate smart technology, the demand for accurate and real-time data has surged. The Metals-API provides developers with the tools necessary to harness this data, enabling them to build next-generation applications that can analyze market trends, track price fluctuations, and provide insights into Bismuth's performance over time.
Metals-API Information
The Metals-API is a robust platform that offers a wide range of features for accessing metal prices and historical data. With its user-friendly interface and comprehensive documentation, developers can easily integrate the API into their applications. The API supports various endpoints that cater to different needs, from retrieving the latest rates to accessing historical data dating back to 2019.
Key Features and Endpoints
The Metals-API provides several key features that empower developers to access and utilize metal price data effectively:
- 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 feature is essential for applications that require up-to-the-minute pricing information.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. By appending a specific date to the API request, developers can retrieve past prices for Bismuth, allowing for detailed market analysis.
- Bid And Ask Endpoint: This powerful feature enables users to retrieve real-time Bid and Ask prices for Bismuth and other metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The conversion endpoint allows users to convert any amount from one metal to another or to/from USD, facilitating seamless transactions and calculations.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice, enabling developers to analyze trends over specific periods.
- Fluctuation Endpoint: This endpoint provides information about how metal prices fluctuate on a day-to-day basis, helping users understand market volatility.
- Carat Endpoint: Retrieve information about Gold rates by Carat, which can be useful for applications focused on precious metals.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest prices for Bismuth over a specified period, aiding in investment decisions.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint allows users to get the open, high, low, and close prices for Bismuth, providing a comprehensive view of market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is particularly useful for traders focused on exchange-traded metals.
- 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 API delivers exchange rates relative to USD, ensuring consistency and ease of use for developers.
- Available Endpoints: The Metals-API offers 14 endpoints, each providing different functionalities to cater to various user needs.
- Supported Symbols Endpoint: This endpoint returns all available currencies, allowing developers to stay updated on the latest symbols.
- News Endpoint: Retrieve 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 effective integration. 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": 1766199622,
"base": "USD",
"date": "2025-12-20",
"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": 1766113222,
"base": "USD",
"date": "2025-12-19",
"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-12-13",
"end_date": "2025-12-20",
"base": "USD",
"rates": {
"2025-12-13": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-12-15": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-12-20": {
"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": 1766199622,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2025-12-13",
"end_date": "2025-12-20",
"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": 1766199622,
"base": "USD",
"date": "2025-12-20",
"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": 1766199622,
"base": "USD",
"date": "2025-12-20",
"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, accessing historical prices for Bismuth (BMTH) through the Metals-API is a straightforward process that empowers developers to leverage real-time data for informed decision-making. The API's extensive features, including the Latest Rates, Historical Rates, and various conversion endpoints, provide a comprehensive toolkit for analyzing metal prices and market trends.
As the metal markets continue to evolve with technological advancements, the importance of data analytics and insights cannot be overstated. By utilizing the Metals-API Documentation, developers can explore the full potential of the API and integrate it into their applications seamlessly. For a complete list of supported symbols, including Bismuth, refer to the Metals-API Supported Symbols page.
With the right tools and knowledge, developers can harness the power of real-time metals data to create innovative applications that drive the future of the metal markets.