Obtain Brass (BRASS) Historical Prices from this API

Introduction
In the rapidly evolving landscape of digital finance, obtaining accurate historical prices for metals like Brass (BRASS) has become increasingly important for developers and analysts alike. The Metals-API provides a robust solution for accessing real-time and historical data on various metals, including Brass. This blog post will delve into the capabilities of the Metals-API, focusing on how to obtain historical prices and the transformative potential of real-time metals data.
Metals-API Information
About Brass (BRASS)
Brass, an alloy primarily composed of copper and zinc, has significant applications across various industries, including construction, electronics, and musical instruments. As the demand for Brass continues to grow, the need for accurate pricing data becomes paramount. The digital transformation in metal markets has led to the integration of advanced technologies that facilitate real-time data access, enabling developers to create innovative applications that leverage this information.
Technological innovation in the metals market has paved the way for data analytics and insights that were previously unattainable. By utilizing smart technology integration, businesses can now analyze market trends, forecast prices, and make informed decisions based on real-time data. The future of metal pricing, including Brass, is poised for further advancements, with possibilities for enhanced predictive analytics and machine learning applications.
API Description
The Metals-API is designed to empower developers by providing access to a wide range of functionalities related to metal pricing. This API allows users to retrieve real-time and historical data, enabling the development of next-generation applications that can respond to market changes instantaneously. With its user-friendly interface and comprehensive documentation, the Metals-API stands out as a leading resource for developers seeking to integrate metal pricing data into their applications.
Key Features and Endpoints
The Metals-API offers several key features that cater to the diverse needs of developers. Below are some of the most notable endpoints and their potential applications:
- 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 feature is essential for applications that require up-to-the-minute pricing information.
- Historical Rates Endpoint: Historical rates for Brass and other metals are available dating back to 2019. Developers can query the API for historical rates by appending a specific date, allowing for in-depth analysis of price trends over time.
- Bid And Ask Endpoint: This powerful feature enables users to retrieve real-time bid and ask prices for Brass, providing critical information for traders and investors looking to make informed decisions.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint that allows users to convert amounts from one metal to another or to/from USD. This functionality is particularly useful for applications that require multi-currency support.
- Time-Series Endpoint: This endpoint allows developers to query the API for daily historical rates between two dates of their choice, facilitating comprehensive analysis of price movements over specified periods.
- Fluctuation Endpoint: By using this endpoint, developers can track how Brass prices fluctuate on a day-to-day basis, providing valuable insights into market volatility.
- Carat Endpoint: This feature allows users to retrieve information about Gold rates by Carat, which can be useful for applications focused on precious metals.
- Lowest/Highest Price Endpoint: This endpoint enables users to query the API to get the lowest and highest prices for Brass over a specified period, aiding in market analysis.
- Open/High/Low/Close (OHLC) Price Endpoint: Developers can use this endpoint to obtain the open, high, low, and close prices for Brass, which are crucial for technical analysis.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, allowing for extensive historical analysis.
- API Key: Each user is assigned a unique API key that must be included in the API base URL's access_key parameter, ensuring 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 offers a variety of endpoints, each providing different functionalities tailored to meet the needs of developers.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies and metals, ensuring developers have access to the latest information.
- Gold Price India Endpoint: Users can retrieve the latest gold price in India using this dedicated endpoint, which is particularly useful for regional applications.
- News Endpoint: The Metals-API includes a news endpoint that allows users to retrieve the latest articles related to various metals, keeping developers informed about market trends.
List of Symbols
The Metals-API provides access to a comprehensive range of metal symbols, including Brass. 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 API responses is crucial for effective implementation. Below are examples of various API endpoints along with their JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1754748033,
"base": "USD",
"date": "2025-08-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"
}
Historical Rates Endpoint
Access historical exchange rates for any date since 1999.
{
"success": true,
"timestamp": 1754661633,
"base": "USD",
"date": "2025-08-08",
"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-08-02",
"end_date": "2025-08-09",
"base": "USD",
"rates": {
"2025-08-02": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-08-04": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-08-09": {
"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": 1754748033,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2025-08-02",
"end_date": "2025-08-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"
}
OHLC (Open/High/Low/Close) Endpoint
Get OHLC data for a specific time period.
{
"success": true,
"timestamp": 1754748033,
"base": "USD",
"date": "2025-08-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"
}
Bid/Ask Endpoint
Get current bid and ask prices for metals.
{
"success": true,
"timestamp": 1754748033,
"base": "USD",
"date": "2025-08-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"
}
Conclusion
In conclusion, the Metals-API offers a comprehensive suite of features that empower developers to access real-time and historical pricing data for Brass and other metals. By leveraging the capabilities of this API, developers can create innovative applications that respond to market dynamics, analyze trends, and make informed decisions. The integration of advanced technologies and data analytics in the metals market signifies a transformative shift that will continue to evolve in the coming years.
For further exploration of the API's capabilities, be sure to check out the Metals-API Documentation and the Metals-API Supported Symbols page for a complete list of available symbols. Embrace the future of metal pricing with the Metals-API and unlock the potential of real-time data in your applications.