Brazil Central Bank Open Data API

Free to Use Varies (check documentation)

Overview

The Brazil Central Bank Open Data API provides free access to official financial and economic data from Brazil s central bank (Banco Central do Brasil). You can retrieve exchange rates, interest rates, economic indicators, and financial statistics without authentication. It is ideal for fintech projects or economic research involving Brazil.

💡

Beginner Tip

Use the time-series endpoint with a known series code (like 1 for exchange rates) and date range; the official data catalog at dadosabertos.bcb.gov.br lists all available series codes.

Available Data

Use case: Integrate brazil central bank open data data into web and mobile applications
Brazil Central Bank Open Data data via REST API
JSON-formatted response data
Freely accessible without authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Brazil Central Bank Open Data",
    "description": "Brazil Central Bank Open Data",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

data Date of the data point in dd/mm/yyyy format
valor Numeric value of the economic indicator for that date, returned as a string
serie Internal series identifier code for the data set

Implementation Example

const url = "https://dadosabertos.bcb.gov.br/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

Invalid series code returns empty array The series code in the URL does not exist or is inactive
Look up valid series codes in the official data catalog at dadosabertos.bcb.gov.br before making requests
Date format error Dates must be in dd/mm/yyyy format, not yyyy-mm-dd
Always format dates as dd/mm/yyyy in the query parameters, for example 01/01/2024
Large response size Requesting years of daily data can return thousands of records
Use the dataInicial and dataFinal parameters to narrow down the date range to what you actually need

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 10/20
🔒 Security 15/15
🛠 Developer XP 15/20
✓ Reliability 7/15
Response Time 673ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Government
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →