Access Brass Shell (BRSH) pricing data using this API
Introduction
Accessing Brass Shell (BRSH) pricing data has never been easier, thanks to the innovative capabilities of the Metals-API. This powerful API allows developers to tap into real-time and historical data for various metals, including brass, facilitating informed decision-making in the metal markets. In this blog post, we will explore the transformative potential of the Metals-API, its key features, and how it can be utilized to enhance applications in the realm of metal trading and analytics.
About Brass (BRASS)
Brass, an alloy primarily composed of copper and zinc, is widely used in various applications, from musical instruments to plumbing fixtures. As the demand for brass continues to grow, driven by digital transformation in metal markets, the need for accurate and timely pricing data becomes paramount. The integration of technological innovation and advancement in data analytics allows stakeholders to gain insights into market trends and make data-driven decisions.
The future of brass pricing is intertwined with smart technology integration, where real-time data can empower businesses to optimize their operations. By leveraging the capabilities of the Metals-API, developers can create applications that provide users with up-to-date information on brass pricing, historical trends, and predictive analytics.
API Description
The Metals-API is a comprehensive solution for accessing metals pricing data, offering a wide array of features designed to meet the needs of developers and businesses alike. With its focus on innovation and technological advancement, the API empowers users to build next-generation applications that harness the power of real-time data. The API supports various endpoints that provide access to the latest rates, historical data, and conversion capabilities, making it an indispensable tool for anyone involved in the metal markets.
For more information on how to get started, refer to the Metals-API Documentation, which provides detailed guidance on implementation and usage.
Key Features and Endpoints
The Metals-API boasts a range of endpoints that cater to different needs, each designed to provide specific functionalities. Here are some of the key features:
Latest Rates Endpoint
The Latest Rates Endpoint provides real-time exchange rate data for metals, updated every 60 minutes or more frequently, depending on your subscription plan. This endpoint is crucial for applications that require up-to-the-minute pricing information. For example, a trading platform can utilize this endpoint to display the current price of brass, allowing users to make informed trading decisions.
{
"success": true,
"timestamp": 1776643948,
"base": "USD",
"date": "2026-04-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 to historical rates is vital for analyzing market trends. The Historical Rates Endpoint allows users to query past pricing data for most currencies dating back to 2019. This feature is particularly useful for businesses looking to understand price fluctuations over time and make strategic decisions based on historical performance.
{
"success": true,
"timestamp": 1776557548,
"base": "USD",
"date": "2026-04-19",
"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 provides real-time bid and ask prices for metals, allowing users to gauge market sentiment and make informed trading decisions. This feature is essential for traders who need to understand the spread between buying and selling prices.
{
"success": true,
"timestamp": 1776643948,
"base": "USD",
"date": "2026-04-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"
}
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 businesses that deal with multiple currencies and need to perform conversions quickly and efficiently.
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1776643948,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Time-Series Endpoint
The Time-Series Endpoint allows users to query the API for daily historical rates between two dates of their choice. This feature is invaluable for conducting in-depth analyses of price trends over specific periods, enabling businesses to make data-driven decisions based on historical performance.
{
"success": true,
"timeseries": true,
"start_date": "2026-04-13",
"end_date": "2026-04-20",
"base": "USD",
"rates": {
"2026-04-13": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-04-15": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-04-20": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Fluctuation Endpoint
The Fluctuation Endpoint provides information about how currencies fluctuate on a day-to-day basis. This feature is essential for traders and analysts who need to understand market volatility and make informed decisions based on price movements.
{
"success": true,
"fluctuation": true,
"start_date": "2026-04-13",
"end_date": "2026-04-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"
}
Open/High/Low/Close (OHLC) Price Endpoint
The OHLC Price Endpoint allows users to query the API for the open, high, low, and close prices for a specific time period. This data is crucial for traders who need to analyze price movements and make informed decisions based on market trends.
{
"success": true,
"timestamp": 1776643948,
"base": "USD",
"date": "2026-04-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"
}
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 businesses involved in trading metals on the London Metal Exchange, allowing them to analyze historical performance and make informed trading decisions.
API Key and Response
To access the Metals-API, users must obtain an API Key, which is passed into the API base URL's access_key parameter. This key is essential for authentication and authorization, ensuring that only authorized users can access the data.
Exchange rates delivered by the Metals-API are by default relative to USD, and all data is returned in a structured JSON format, making it easy to integrate into applications. For a complete list of supported symbols, refer to the Metals-API Supported Symbols page.
Conclusion
The Metals-API represents a significant advancement in accessing and utilizing metals pricing data, particularly for brass and other metals. With its comprehensive range of endpoints, developers can create powerful applications that provide real-time insights, historical analysis, and conversion capabilities. By leveraging the API's features, businesses can optimize their operations, enhance decision-making processes, and stay ahead in the competitive metal markets.
For further exploration of the API's capabilities, visit the Metals-API Website and dive into the extensive documentation available to help you get started. The future of metal trading is here, and with the right tools, you can harness the power of data to drive your success.