Get Bismuth (BMTH) Historical Prices through API endpoints
Introduction
In the rapidly evolving landscape of metal markets, the ability to access and analyze historical prices is crucial for developers and businesses alike. One such metal that has garnered attention is Bismuth (BMTH). With the advent of APIs like Metals-API, obtaining historical prices and real-time data has never been easier. This blog post will delve into the capabilities of the Metals-API, focusing on how to retrieve historical prices for Bismuth and other metals, while exploring the broader implications of digital transformation in metal markets.
Metals-API Information
About Bismuth (BMTH)
Bismuth, represented by the symbol BMTH, is a metal that has seen increasing demand due to its unique properties and applications in pharmaceuticals, cosmetics, and electronics. As the metal market undergoes digital transformation, the integration of smart technology and data analytics is becoming essential. The Metals-API serves as a bridge between traditional metal trading and modern technological advancements, allowing developers to harness real-time data for innovative applications.
Technological innovation in the metal markets is reshaping how businesses operate. With the rise of data analytics, companies can gain insights into market trends, price fluctuations, and consumer behavior. This data-driven approach enables businesses to make informed decisions, optimize their operations, and enhance customer experiences. The future of metal trading is poised for further transformation as smart technologies continue to integrate into the industry, paving the way for more efficient and transparent transactions.
API Description
The Metals-API is a powerful tool that provides developers with access to real-time and historical metal prices. With its robust capabilities, the API empowers users to build next-generation applications that can analyze market trends, track price changes, and perform currency conversions seamlessly. The API's design focuses on innovation and technological advancement, making it an essential resource for developers looking to leverage real-time metals data.
One of the key features of the Metals-API is its ability to deliver accurate and timely data. The API supports various endpoints that cater to different needs, including the latest rates, historical rates, and conversion functionalities. This flexibility allows developers to create applications that can respond to market changes in real-time, providing users with the information they need to make informed decisions.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that serve different purposes, each designed to enhance the user experience and provide valuable insights. Here are some of the most notable features:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rate data for metals, updated based on the user's subscription plan. Depending on the plan, users can receive updates every 60 minutes, every 10 minutes, or even more frequently. This endpoint is crucial for applications that require up-to-the-minute pricing information.
{
"success": true,
"timestamp": 1774052255,
"base": "USD",
"date": "2026-03-21",
"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
For developers interested in analyzing trends over time, the Historical Rates Endpoint allows access to historical rates dating back to 2019. Users can query the API by appending a specific date in the format YYYY-MM-DD to retrieve past prices. This feature is invaluable for conducting market analysis and forecasting future trends.
{
"success": true,
"timestamp": 1773965855,
"base": "USD",
"date": "2026-03-20",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Bid And Ask Endpoint
The Bid and Ask Endpoint is a powerful feature that enables users to retrieve real-time bid and ask prices for metals. This information is essential for traders who need to make quick decisions based on market conditions. The bid price represents the highest price a buyer is willing to pay, while the ask price is the lowest price a seller is willing to accept.
{
"success": true,
"timestamp": 1774052255,
"base": "USD",
"date": "2026-03-21",
"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"
}
Convert Endpoint
The Convert Endpoint allows users to convert any amount from one metal to another or to/from USD. This feature is particularly useful for applications that require currency conversion for pricing or trading purposes. Users can specify the amount and the metals involved in the conversion.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1774052255,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series Endpoint enables users to query the API for daily historical rates between two specified dates. This feature is ideal for developers looking to analyze price movements over a defined period, allowing for comprehensive market analysis.
{
"success": true,
"timeseries": true,
"start_date": "2026-03-14",
"end_date": "2026-03-21",
"base": "USD",
"rates": {
"2026-03-14": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-03-16": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-03-21": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation Endpoint allows users to track how metal prices fluctuate between two dates. This feature is essential for understanding market volatility and making informed trading decisions. By analyzing fluctuations, developers can build applications that alert users to significant price changes.
{
"success": true,
"fluctuation": true,
"start_date": "2026-03-14",
"end_date": "2026-03-21",
"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"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC Price Endpoint provides users with the open, high, low, and close prices for a specific time period. This data is crucial for traders who analyze price movements to make strategic decisions. Understanding the OHLC data can help identify trends and potential market reversals.
{
"success": true,
"timestamp": 1774052255,
"base": "USD",
"date": "2026-03-21",
"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"
}
Historical LME Endpoint
The Historical LME Endpoint provides access to historical rates for LME symbols dating back to 2008. This endpoint is particularly useful for developers interested in analyzing long-term trends in metal prices, especially for metals traded on the London Metal Exchange.
{
"success": true,
"timestamp": 1773965855,
"base": "USD",
"date": "2026-03-20",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
API Key and Response
To access the Metals-API, users must obtain an API Key, which is a unique identifier passed into the API base URL's access_key parameter. This key is essential for authentication and ensures that only authorized users can access the data.
The API response is structured to deliver exchange rates relative to USD by default. All data is returned in a JSON format, making it easy for developers to integrate into their applications. The response includes fields such as success status, timestamp, base currency, date, rates, and unit of measurement.
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 various metals into their applications.
Conclusion
In conclusion, the Metals-API offers a robust and versatile solution for developers seeking to access historical prices and real-time data for metals like Bismuth (BMTH). With its comprehensive range of endpoints, the API empowers users to build innovative applications that can analyze market trends, track price fluctuations, and perform currency conversions seamlessly. As the metal market continues to evolve, leveraging such advanced tools will be essential for staying competitive and making informed decisions.
For more information on how to utilize the Metals-API, explore the Metals-API Documentation and start integrating these powerful features into your applications today. Embrace the future of metal trading with the transformative potential of real-time data at your fingertips.