Get Brass Shell (BRSH) prices using this API

Introduction
In the rapidly evolving landscape of metal markets, the ability to access real-time data is crucial for developers and businesses alike. One such opportunity lies in the Brass Shell (BRSH) prices, which can be efficiently retrieved using the Metals-API. This API not only provides current pricing but also offers a suite of features that empower developers to create innovative applications tailored to the needs of the metal industry.
Metals-API Information
About Brass (BRASS)
Brass, an alloy primarily composed of copper and zinc, is a metal that has seen significant digital transformation in its market dynamics. The integration of smart technology and data analytics has revolutionized how stakeholders interact with brass pricing and trading. As industries increasingly rely on technological advancements, the demand for real-time data and insights has surged.
Technological innovation in the metal markets has paved the way for enhanced decision-making processes. With the rise of data analytics, businesses can now forecast trends, analyze market fluctuations, and make informed decisions based on comprehensive insights. The future of brass trading is poised for further evolution, driven by advancements in smart technology integration and the growing importance of data-driven strategies.
API Description
The Metals-API is a powerful tool that provides developers with access to real-time metals data, including brass prices. This API is designed to facilitate the development of next-generation applications that can leverage real-time data for various use cases, from trading platforms to analytical tools. By utilizing the Metals-API Documentation, developers can explore the extensive capabilities of this API and how it can transform their applications.
The API offers a range of endpoints that cater to different needs, including the retrieval of the latest rates, historical data, and conversion functionalities. This flexibility allows developers to build applications that can adapt to the dynamic nature of the metal markets.
Key Features and Endpoints
One of the standout features of the Metals-API is its Latest Rates Endpoint. Depending on your subscription plan, this endpoint provides real-time exchange rate data that is updated every 60 minutes, every 10 minutes, or even more frequently. This ensures that developers have access to the most current pricing information, which is vital for making timely trading decisions.
The Historical Rates Endpoint allows users to access historical rates for most currencies dating back to 2019. By appending a specific date to the API request, developers can retrieve past pricing data, enabling them to analyze trends over time. This feature is particularly useful for businesses looking to understand market behavior and make predictions based on historical performance.
Another powerful feature is the Bid and Ask Endpoint, which provides real-time bid and ask prices for metals. This information is crucial for traders who need to understand the current market conditions and make informed buying or selling decisions. The bid and ask prices reflect the current supply and demand dynamics in the market, offering valuable insights into pricing strategies.
The Convert Endpoint is designed for seamless currency conversion, allowing users to convert any amount from one metal to another or to/from USD. This functionality is essential for businesses operating in multiple currencies, as it simplifies transactions and enhances financial clarity.
For those interested in tracking price fluctuations, the Fluctuation Endpoint provides detailed information about how prices change on a day-to-day basis. This endpoint allows developers to monitor market volatility and adjust their strategies accordingly.
The Time-Series Endpoint enables users to query the API for daily historical rates between two dates of their choice. This feature is particularly useful for conducting in-depth analyses and understanding long-term trends in brass pricing.
Additionally, the Open/High/Low/Close (OHLC) Price Endpoint provides comprehensive pricing data for specific time periods, allowing developers to analyze market performance over time. This endpoint is invaluable for traders looking to assess market trends and make strategic decisions based on historical data.
For those interested in the lowest and highest prices, the Lowest/Highest Price Endpoint allows users to query the API for the lowest and highest prices recorded over a specified period. This information is crucial for understanding market extremes and making informed trading decisions.
The Historical LME Endpoint provides access to historical rates for LME symbols dating back to 2008. This endpoint is particularly useful for businesses that require extensive historical data for compliance or analytical purposes.
Authentication is straightforward with the API Key, which is passed into the API base URL's access_key parameter. This ensures secure access to the API's functionalities while maintaining data integrity.
The API Response from Metals-API is delivered in a structured JSON format, with exchange rates typically relative to USD. This standardization simplifies data handling and integration into various applications.
For a complete list of supported symbols, developers can refer to the Metals-API Supported Symbols page, which provides comprehensive details about available metals and their specifications.
API Endpoint Examples and Responses
Latest Rates Endpoint
The Latest Rates Endpoint allows developers to get real-time exchange rates for all available metals. Here’s an example response:
{
"success": true,
"timestamp": 1745107497,
"base": "USD",
"date": "2025-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"
}
In this response, the rates
object contains the current exchange rates for various metals, with the base currency being USD. Each metal symbol corresponds to its current price per troy ounce.
Historical Rates Endpoint
Accessing historical exchange rates is straightforward with the Historical Rates Endpoint. Here’s an example response:
{
"success": true,
"timestamp": 1745021097,
"base": "USD",
"date": "2025-04-19",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This response provides historical pricing data for the specified date, allowing developers to analyze past market conditions and trends.
Time-series Endpoint
The Time-series Endpoint allows users to retrieve exchange rates for a specific time period. Here’s an example response:
{
"success": true,
"timeseries": true,
"start_date": "2025-04-13",
"end_date": "2025-04-20",
"base": "USD",
"rates": {
"2025-04-13": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-04-15": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-04-20": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response provides daily rates for the specified date range, enabling developers to analyze trends and fluctuations over time.
Convert Endpoint
The Convert Endpoint allows users to convert any amount from one metal to another or to/from USD. Here’s an example response:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1745107497,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response shows the conversion of 1000 USD to gold (XAU), providing the resulting amount in troy ounces.
Fluctuation Endpoint
The Fluctuation Endpoint tracks rate fluctuations between two dates. Here’s an example response:
{
"success": true,
"fluctuation": true,
"start_date": "2025-04-13",
"end_date": "2025-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"
}
This response provides detailed information about how prices have fluctuated over the specified period, including percentage changes.
OHLC (Open/High/Low/Close) Endpoint
The OHLC Endpoint provides open, high, low, and close data for a specific time period. Here’s an example response:
{
"success": true,
"timestamp": 1745107497,
"base": "USD",
"date": "2025-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"
}
This response provides a comprehensive view of market performance for the specified date, allowing developers to assess market trends effectively.
Bid/Ask Endpoint
The Bid/Ask Endpoint provides current bid and ask prices for metals. Here’s an example response:
{
"success": true,
"timestamp": 1745107497,
"base": "USD",
"date": "2025-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"
}
This response provides the current bid and ask prices, along with the spread for each metal, which is essential for traders looking to make informed decisions.
Conclusion
The Metals-API offers a comprehensive suite of features that empower developers to access real-time brass prices and other metal data efficiently. With endpoints designed for various use cases, including real-time rates, historical data, and conversion functionalities, this API is an invaluable resource for anyone involved in the metal markets.
As the industry continues to evolve, the integration of smart technology and data analytics will play a crucial role in shaping the future of metal trading. By leveraging the capabilities of the Metals-API, developers can create innovative applications that not only enhance trading strategies but also provide valuable insights into market dynamics.
For more information on how to implement these features and explore the full potential of the Metals-API, visit the Metals-API Documentation and check out the Metals-API Supported Symbols page for a complete list of available metals. Embrace the future of metal trading with the power of real-time data at your fingertips.