The Easiest Way to Get Brass Shell (BRSH) Historical Rates for API Integration
The Easiest Way to Get Brass Shell (BRSH) Historical Rates for API Integration
In today's fast-paced digital landscape, accessing real-time and historical data for metals is crucial for developers and businesses alike. The Metals-API provides a robust solution for obtaining historical prices for various metals, including Brass Shell (BRSH). This blog post will guide you through the process of retrieving historical prices using the Metals-API, detailing the necessary endpoints, parameters, and data formats. We will also explore the transformative potential of real-time metals data and how it can empower developers to create next-generation applications.
About Brass (BRASS)
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 world embraces digital transformation, the metal markets are experiencing significant technological innovations. The integration of data analytics and smart technology is paving the way for enhanced insights into market trends and pricing. With the rise of data-driven decision-making, understanding the historical prices of metals like Brass is more important than ever.
The Metals-API serves as a bridge between developers and the vast world of metal pricing data. By leveraging this API, developers can access a wealth of information, enabling them to build applications that provide real-time insights and analytics. The API's capabilities extend beyond mere data retrieval; it empowers users to analyze trends, forecast prices, and make informed decisions based on historical data.
API Description
The Metals-API is designed to provide developers with easy access to metal prices and currency conversion data in a structured JSON format. This API supports a variety of endpoints, each tailored to specific functionalities, including retrieving the latest rates, historical prices, and even fluctuations over time. The API is built with innovation in mind, allowing for seamless integration into applications that require real-time data.
For comprehensive documentation, visit the Metals-API Documentation. Here, you will find detailed information on how to utilize the API effectively, including a complete list of supported symbols, such as Brass (BRSH).
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different data retrieval needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated every 60 minutes or more frequently, depending on your subscription plan. It allows developers to access the most current pricing information, which is essential for applications that require up-to-the-minute data.
- Historical Rates Endpoint: Developers can access historical rates for most metals dating back to 2019. By appending a specific date to the endpoint, users can retrieve historical pricing data, which is invaluable for trend analysis and forecasting.
- Bid and Ask Endpoint: This feature enables users to retrieve real-time bid and ask prices for metals, providing insights into market dynamics and helping traders make informed decisions.
- Convert Endpoint: The API includes a currency conversion feature, allowing users to convert amounts between different metals or to/from USD. This is particularly useful for applications that require multi-currency support.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two specified dates, facilitating in-depth analysis of price movements over time.
- Fluctuation Endpoint: Users can track how metal prices fluctuate over a specified period, providing insights into market volatility and trends.
- Carat Endpoint: This feature allows users to retrieve gold rates by carat, which is essential for jewelers and those in the jewelry industry.
- Lowest/Highest Price Endpoint: This endpoint enables users to query the API for the lowest and highest prices of metals over a specified period, aiding in price analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Users can access open, high, low, and close prices for a specific time period, which is crucial for traders looking to analyze market performance.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, offering a rich dataset for analysis.
- API Key: Each user is assigned a unique API key, which must be included in requests to authenticate and authorize access to the API.
- API Response: The API delivers exchange rates relative to USD by default, with all data returned in a structured JSON format.
- Available Endpoints: The Metals-API includes 14 different endpoints, each offering unique functionalities tailored to specific data retrieval needs.
- Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available metal symbols, ensuring users have access to the latest information.
- News Endpoint: Users can retrieve the latest news articles related to various metals, keeping them informed about market developments.
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 metal data into their applications.
API Endpoint Examples and Responses
Latest Rates Endpoint
To get real-time exchange rates for all available metals, you can use the following endpoint:
GET /latest
Example response:
{
"success": true,
"timestamp": 1767593289,
"base": "USD",
"date": "2026-01-05",
"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 by using the following endpoint:
GET /historical/YYYY-MM-DD
Example response:
{
"success": true,
"timestamp": 1767506889,
"base": "USD",
"date": "2026-01-04",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
Time-Series Endpoint
To get exchange rates for a specific time period, use the following endpoint:
GET /timeseries?start_date=YYYY-MM-DD&end_date=YYYY-MM-DD
Example response:
{
"success": true,
"timeseries": true,
"start_date": "2025-12-29",
"end_date": "2026-01-05",
"base": "USD",
"rates": {
"2025-12-29": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-12-31": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-01-05": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
Convert Endpoint
To convert any amount from one metal to another or to/from USD, use the following endpoint:
GET /convert?from=USD&to=XAU&amount=1000
Example response:
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1767593289,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
To track rate fluctuations between two dates, use the following endpoint:
GET /fluctuation?start_date=YYYY-MM-DD&end_date=YYYY-MM-DD
Example response:
{
"success": true,
"fluctuation": true,
"start_date": "2025-12-29",
"end_date": "2026-01-05",
"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) Price Endpoint
To get OHLC data for a specific time period, use the following endpoint:
GET /open-high-low-close/YYYY-MM-DD
Example response:
{
"success": true,
"timestamp": 1767593289,
"base": "USD",
"date": "2026-01-05",
"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
To get current bid and ask prices for metals, use the following endpoint:
GET /bid-ask
Example response:
{
"success": true,
"timestamp": 1767593289,
"base": "USD",
"date": "2026-01-05",
"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, the Metals-API offers a comprehensive solution for developers looking to access historical rates for metals like Brass Shell (BRSH). By utilizing the various endpoints available, developers can retrieve real-time data, historical prices, and fluctuations, enabling them to build powerful applications that leverage this information. The API's structured JSON responses provide clarity and ease of integration, making it an invaluable tool for anyone working in the metal markets.
As the industry continues to evolve with technological advancements, the importance of real-time data and analytics cannot be overstated. By integrating the Metals-API into your applications, you can stay ahead of the curve and provide users with the insights they need to make informed decisions. For more information, refer to the Metals-API Documentation and explore the Metals-API Supported Symbols for a complete list of available metals.
With the right tools and data at your fingertips, the possibilities for innovation and advancement in the metal markets are limitless. Embrace the future of data analytics and smart technology integration with the Metals-API, and unlock the potential of real-time metals data today.