get_brazil_banks: Get List of Banks in Brazil

View source: R/get_brazil_banks.R

get_brazil_banksR Documentation

Get List of Banks in Brazil

Description

This function retrieves the list of all banks in Brazil from the BrasilAPI endpoint: 'https://brasilapi.com.br/api/banks/v1'. The response includes key details such as bank code, name, and ISPB (identificador do sistema de pagamentos).

Usage

get_brazil_banks()

Value

A tibble (data frame) with the following columns:

  • code: Bank code (integer).

  • name: Short name of the bank.

  • fullName: Full registered name of the bank.

  • ispb: ISPB code (Identificador do Sistema de Pagamentos Brasileiros).

Note

Requires internet connection. The function pulls data in real time from BrasilAPI.

See Also

GET, fromJSON, as_tibble

Examples

## Not run: 
banks <- get_brazil_banks()
head(banks)

## End(Not run)


BrazilDataAPI documentation built on Sept. 15, 2025, 9:09 a.m.