Access Brazilian Real (BRL) Historical Prices with this API
Access Brazilian Real (BRL) Historical Prices with this API
The Brazilian Real (BRL) has become an essential currency in the global market, especially for those involved in trading metals and commodities. Accessing historical prices for the BRL can provide valuable insights into market trends and fluctuations. With the Metals-API, developers can easily retrieve real-time and historical exchange rates, including those for the Brazilian Real. This blog post will delve into the capabilities of the Metals-API, exploring how it can empower developers to build innovative applications that leverage real-time metals data.
About Brazilian Real (BRL)
The Brazilian Real is the official currency of Brazil, a country rich in natural resources and a significant player in the global metals market. As the economy continues to evolve, the demand for accurate and timely financial data has never been more critical. The digital transformation in metal markets has led to the integration of advanced technologies, enabling traders and developers to access data analytics and insights that were previously unavailable.
Technological innovation has paved the way for smart technology integration, allowing for real-time data access and analysis. The Metals-API stands at the forefront of this transformation, providing developers with the tools they need to harness the power of data in their applications. By utilizing the API, developers can gain insights into future trends and possibilities, making informed decisions based on historical data and current market conditions.
API Description
The Metals-API is a powerful tool designed for developers looking to access real-time and historical metals data, including exchange rates for the Brazilian Real. This API enables users to build next-generation applications that require accurate and timely financial data. With a focus on innovation and technological advancement, the Metals-API offers a range of features that cater to various use cases.
For more information on how to get started, developers can refer to the Metals-API Documentation, which provides comprehensive guidance on utilizing the API effectively. Additionally, the Metals-API Supported Symbols page lists all available currencies, including the Brazilian Real.
Key Features and Endpoints
The Metals-API offers a variety of endpoints that cater to different needs, providing developers with the flexibility to access the data they require. Below are some of the key features and their potential applications:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for various currencies, including the Brazilian Real. Depending on the subscription plan, the API updates this data every 60 minutes or every 10 minutes, ensuring that users have access to the most current information.
- Historical Rates Endpoint: Developers can access historical rates for most currencies dating back to 2019. By appending a specific date to the API request, users can retrieve historical exchange rates for the Brazilian Real, allowing for in-depth analysis of market trends over time.
- Bid And Ask Endpoint: This feature enables users to retrieve real-time bid and ask prices for metals, including those priced in Brazilian Real. This information is crucial for traders looking to make informed decisions based on current market conditions.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, allowing users to convert amounts between different currencies. This feature is particularly useful for traders who need to quickly assess the value of metals in Brazilian Real.
- Time-Series Endpoint: This endpoint allows users to query the API for daily historical rates between two specified dates. This feature is invaluable for developers looking to analyze trends and fluctuations in the Brazilian Real over specific periods.
- Fluctuation Endpoint: Users can track how currencies fluctuate on a day-to-day basis using this endpoint. By providing information about the changes in exchange rates, developers can gain insights into market volatility and make data-driven decisions.
- Carat Endpoint: This feature allows users to retrieve information about gold rates by carat, which can be particularly useful for jewelers and traders dealing in precious metals.
- Lowest/Highest Price Endpoint: Developers can query the API to get the lowest and highest prices for a specific date, providing insights into market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides open, high, low, and close prices for a specific date, allowing traders to analyze market performance effectively.
- Historical LME Endpoint: This endpoint provides access to historical rates for LME symbols dating back to 2008, offering a comprehensive view of market trends.
- API Key: Each user is assigned a unique API key that must be included in the API requests, ensuring secure access to the data.
- API Response: The Metals-API delivers exchange rates relative to USD by default, with all data returned in a structured JSON format, making it easy for developers to integrate into their applications.
- Available Endpoints: The Metals-API features 14 different endpoints, each providing unique functionality tailored to various user needs.
- Supported Symbols Endpoint: This constantly updated endpoint returns all available currencies, ensuring that developers have access to the latest information.
- Intraday Endpoint: This feature allows users to query intraday exchange rate data for a single symbol, providing insights into short-term market movements.
API Endpoint Examples and Responses
Understanding the API responses is crucial for developers looking to leverage the Metals-API effectively. Below are examples of various endpoints and their corresponding JSON responses:
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
"success": true,
"timestamp": 1787443892,
"base": "USD",
"date": "2026-08-23",
"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": 1787357492,
"base": "USD",
"date": "2026-08-22",
"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": "2026-08-16",
"end_date": "2026-08-23",
"base": "USD",
"rates": {
"2026-08-16": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2026-08-18": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2026-08-23": {
"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": 1787443892,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
Fluctuation Endpoint
Track rate fluctuations between two dates.
{
"success": true,
"fluctuation": true,
"start_date": "2026-08-16",
"end_date": "2026-08-23",
"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": 1787443892,
"base": "USD",
"date": "2026-08-23",
"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": 1787443892,
"base": "USD",
"date": "2026-08-23",
"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
Accessing historical prices for the Brazilian Real (BRL) is essential for developers and traders looking to make informed decisions in the metals market. The Metals-API provides a comprehensive suite of features that empower users to retrieve real-time and historical data efficiently. By leveraging the various endpoints, developers can create applications that analyze trends, track fluctuations, and convert currencies seamlessly.
With the ability to access detailed information about exchange rates, bid and ask prices, and historical data, the Metals-API is a valuable resource for anyone involved in trading metals or commodities. As the market continues to evolve, staying informed with accurate data will be crucial for success. For more information on how to utilize the API, visit the Metals-API Documentation and explore the Metals-API Supported Symbols page to see the full range of currencies available.
In summary, the Metals-API not only simplifies access to crucial financial data but also enhances the ability to analyze and respond to market changes effectively. By integrating this API into your applications, you can unlock the potential of real-time data and drive innovation in the financial technology landscape.