Brasil Hub icon

Brasil Hub

Query Brazilian public data (CNPJ, CEP, CPF, Banks, Câmbio, DDD, Holidays, FIPE, IBGE, NCM, PIX, Taxas) with multi-provider fallback

Actions28

Bank → Query

AI-generated

Summary

Query detailed bank information by its COMPE bank code using selectable primary data providers.

Inputs

  • Bank Code (required) — The COMPE bank code of the bank to query (e.g. 1 for Banco do Brasil, 237 for Bradesco).
  • Primary Provider — Select which data provider to try first for the bank query; options are Auto (BrasilAPI first), BrasilAPI, or BancosBrasileiros.
  • Include Raw Response — Toggle to include the full raw API response alongside the normalized bank data in the output.
  • Timeout (Ms) — Specify the HTTP request timeout in milliseconds to apply for each provider attempt (between 1000 and 60000 ms).

Output shape

a single normalized record containing bank details associated with the provided COMPE bank code

Returns normalized bank information according to the selected provider with optional inclusion of raw response data. The query tries to fetch from the primary provider first and falls back to others if needed, respecting the timeout setting.

Links

Discussion