Get Brass Shell (BRSH) Historical Prices with Metals-API

In the ever-evolving landscape of metal markets, the demand for accurate and timely data is paramount. This is where the Metals-API comes into play, offering developers a powerful tool to access historical prices and real-time data for various metals, including Brass (BRSH). In this blog post, we will explore how to retrieve historical prices for Brass using the Metals-API, along with an in-depth look at the API's capabilities, features, and practical applications.
Metals-API Information
About Brass (BRSH)
Brass, an alloy primarily composed of copper and zinc, has been a staple in various industries due to its durability and resistance to corrosion. As the metal markets undergo digital transformation, the integration of smart technology and data analytics is becoming increasingly vital. The Metals-API provides developers with the tools necessary to harness this data, enabling them to create innovative applications that can analyze market trends, optimize pricing strategies, and enhance decision-making processes.
Technological advancements have paved the way for real-time data integration, allowing businesses to respond swiftly to market fluctuations. The ability to access historical prices for Brass and other metals empowers developers to build applications that can forecast trends, analyze historical performance, and provide insights into market dynamics. With the Metals-API, users can tap into a wealth of information that can drive strategic decisions and foster innovation in the metal markets.
API Description
The Metals-API is a robust platform that provides real-time and historical data for various metals, including Brass. This API is designed to empower developers to build next-generation applications that leverage metals data for various purposes, such as financial analysis, market research, and investment strategies. With its user-friendly interface and comprehensive documentation, the Metals-API simplifies the process of integrating metals data into applications.
One of the key features of the Metals-API is its ability to deliver real-time exchange rate data, updated frequently based on the user's subscription plan. This ensures that developers have access to the most current information, which is crucial for making informed decisions in a fast-paced market. Additionally, the API offers a range of endpoints that cater to different data needs, from historical rates to currency conversion, making it a versatile tool for any developer working in the metals space.
Key Features and Endpoints
The Metals-API boasts a variety of endpoints that provide developers with the flexibility to access the data they need. Here are some of the key features:
- 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 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 historical pricing data for Brass, enabling them to analyze trends over time.
- Bid and Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for Brass and other metals, providing insights into market liquidity and pricing dynamics.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, allowing users to convert any amount from one metal to another or to/from USD. This is particularly useful for applications that require multi-currency support.
- Time-Series Endpoint: Developers can query the API for daily historical rates between two dates of their choice, facilitating in-depth analysis of price movements over specific periods.
- Fluctuation Endpoint: This endpoint provides information about how metal prices fluctuate on a day-to-day basis, helping developers understand market volatility.
- Carat Endpoint: Retrieve information about Gold rates by Carat, which is essential for applications focused on jewelry and precious metals.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest price for Brass over a specified period, aiding in market analysis and investment decisions.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint allows users to get the open, high, low, and close prices for Brass, which is crucial for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a comprehensive view of market trends.
- API Key: Each user is assigned a unique API key, which is required to authenticate requests and ensure secure access to the API.
- API Response: The Metals-API delivers exchange rates relative to USD by default, with all data returned in a structured JSON format.
- Available Endpoints: The API comes with multiple endpoints, each providing different functionalities tailored to various data needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies and metals, ensuring developers have access to the latest symbols.
- Gold Price India Endpoint: Retrieve the latest gold price in India using the dedicated endpoint, which is particularly useful for regional market analysis.
- News Endpoint: Stay updated with the latest news articles related to various metals, providing context and insights into market movements.
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 specific metals data into their applications.
API Endpoint Examples and Responses
To illustrate the functionality of the Metals-API, let's explore some example responses from various endpoints:
Latest Rates Endpoint
Get real-time exchange rates for all available metals:
{
"success": true,
"timestamp": 1743908523,
"base": "USD",
"date": "2025-04-06",
"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": 1743822123,
"base": "USD",
"date": "2025-04-05",
"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-03-30",
"end_date": "2025-04-06",
"base": "USD",
"rates": {
"2025-03-30": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-04-01": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-04-06": {
"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": 1743908523,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates:
{
"success": true,
"fluctuation": true,
"start_date": "2025-03-30",
"end_date": "2025-04-06",
"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": 1743908523,
"base": "USD",
"date": "2025-04-06",
"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": 1743908523,
"base": "USD",
"date": "2025-04-06",
"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
The Metals-API is an invaluable resource for developers seeking to access historical prices and real-time data for Brass and other metals. By leveraging the API's extensive features, including the latest rates, historical rates, and various conversion options, developers can create powerful applications that provide insights into market trends and pricing dynamics.
As the metal markets continue to evolve, the integration of smart technology and data analytics will play a crucial role in shaping the future of this industry. The Metals-API stands at the forefront of this transformation, offering developers the tools they need to innovate and excel in a competitive landscape.
For more information on how to get started with the Metals-API, refer to the Metals-API Documentation and explore the Metals-API Supported Symbols page for a comprehensive list of available metals. With the right tools and insights, developers can unlock the full potential of metals data and drive meaningful change in their applications.