Access Brass Shell (BRSH) Exchange Rates API Response in JSON Format
Access Brass Shell (BRSH) Exchange Rates API Response in JSON Format
In today's rapidly evolving digital landscape, the demand for real-time data has never been higher, especially in the metal markets. The Metals-API provides a robust solution for developers looking to retrieve exchange rates for various metals, including Brass (BRSH), in JSON format. This blog post will guide you through the process of accessing these exchange rates, showcasing sample API responses, and offering integration tips to help you leverage this powerful tool effectively.
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 digital transformation continues to reshape the metal markets, the integration of advanced technologies and data analytics is becoming increasingly vital. The Metals-API stands at the forefront of this transformation, providing developers with the tools necessary to access real-time and historical data on metal prices.
Technological innovation in the metal markets is not just about tracking prices; it's about gaining insights that can drive strategic decisions. With the Metals-API, developers can build applications that utilize real-time data to forecast trends, analyze market fluctuations, and optimize trading strategies. The future of metal trading lies in smart technology integration, where data-driven insights empower stakeholders to make informed decisions.
API Description
The Metals-API is designed to provide developers with comprehensive access to metal prices and currency conversion data in a straightforward JSON format. This API empowers users to create next-generation applications that can analyze and visualize metal market trends. With a variety of endpoints available, developers can retrieve the latest rates, historical data, and even perform conversions between different metals and currencies.
For a complete overview of the API's capabilities, you can refer to the Metals-API Documentation, which details each endpoint's functionality and usage.
Key Features and Endpoints
The Metals-API offers a range of endpoints, each designed to provide specific functionalities that cater to various use cases. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data, updated every 60 minutes, 10 minutes, or even more frequently, depending on your subscription plan. This feature is crucial for applications that require up-to-the-minute pricing information.
- Historical Rates Endpoint: Access historical exchange rates dating back to 2019. By appending a specific date to your request, you can retrieve past rates, enabling trend analysis and market research.
- Bid And Ask Endpoint: This powerful feature allows you to retrieve real-time bid and ask prices for metals, helping traders make informed decisions based on current market conditions.
- Convert Endpoint: Easily convert any amount from one metal to another or to/from USD. This endpoint simplifies the process of currency conversion, making it easier for developers to integrate into their applications.
- Time-Series Endpoint: Query the API for daily historical rates between two dates of your choice, allowing for detailed analysis of price movements over time.
- Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis, providing insights into market volatility and trends.
- Carat Endpoint: Retrieve information about Gold rates by Carat, which is essential for jewelers and traders dealing in precious metals.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest price for a specified date, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Get detailed OHLC data for a specific time period, which is crucial for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, providing a long-term view of market trends.
- API Key: Your unique API Key is required to access the API, ensuring secure and authorized usage.
- API Response: All exchange rates are delivered relative to USD by default, with comprehensive data returned in a structured format.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, ensuring you have the latest information at your fingertips.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping you 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.
API Endpoint Examples and Responses
Understanding the structure of API responses is crucial for effective integration. Below are examples of various API responses for different endpoints, showcasing the JSON format and the data returned.
Latest Rates Endpoint
{
"success": true,
"timestamp": 1767942461,
"base": "USD",
"date": "2026-01-09",
"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"
}
This response indicates a successful request, providing the latest exchange rates for various metals relative to USD. The rates object contains the current price per troy ounce for each metal symbol.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1767856061,
"base": "USD",
"date": "2026-01-08",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows a successful retrieval of historical rates for a specific date. The rates object provides the exchange rates for the requested metals.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2026-01-02",
"end_date": "2026-01-09",
"base": "USD",
"rates": {
"2026-01-02": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-01-04": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-01-09": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
The time-series response provides historical rates for the specified date range, allowing developers to analyze trends over time.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1767942461,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
This response illustrates the conversion of an amount from USD to Gold (XAU), providing the conversion rate and the resulting amount in troy ounces.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2026-01-02",
"end_date": "2026-01-09",
"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 example shows the fluctuations in rates for the specified metals over a defined period, providing insights into market volatility.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1767942461,
"base": "USD",
"date": "2026-01-09",
"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"
}
The OHLC response provides a comprehensive view of the price movements for each metal, essential for traders conducting technical analysis.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1767942461,
"base": "USD",
"date": "2026-01-09",
"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 for metals, allowing traders to assess market conditions and make informed decisions.
Conclusion
Accessing Brass Shell (BRSH) exchange rates using the Metals-API is a straightforward process that opens up a world of possibilities for developers. With its comprehensive range of endpoints, the Metals-API allows for real-time data retrieval, historical analysis, and seamless currency conversion. By leveraging these features, developers can create applications that provide valuable insights into 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. The Metals-API stands as a powerful tool in this transformation, enabling developers to harness the potential of real-time data.
For more information on how to get started, visit the Metals-API Documentation and explore the Metals-API Supported Symbols to find the metal symbols you need for your applications. Embrace the future of metal trading with the Metals-API and unlock the potential of real-time data.