# logos-bancos-br > Dataset + official logos of Brazil's financial and payment institutions (banks, fintechs, > payment institutions, credit unions), rebuilt automatically every week from official sources > only: the Central Bank of Brazil (BCB) STR participants list, the BCB active Pix participants > list, and the Open Finance Brasil participants directory. npm package: `logos-bancos-br`. > Code and dataset are MIT; the logos are trademarks of their respective institutions, > redistributed for nominative use (see DISCLAIMER.md). Key facts: - The **institution list is auto-updated and split in two datasets**: `data/bancos.json` is the MAIN list (the ~470 institutions with a COMPE code, from the BCB STR participants list); `data/instituicoes-pix.json` is the separate Pix-only set (~643 institutions without COMPE — fintechs, payment institutions, cooperative affiliates — from the BCB active Pix participants list, each with a 14-digit `cnpj`). Both carry `ispb`, official names, `pix` participation attributes (verbatim from the BCB list, or null) and `logo` (or null). API: `banks()` = main list, `pixInstitutions()` = Pix-only, `allInstitutions()` = both, `byIspb()` resolves across the two, `byCompe()` only over the main list. - The **logos are auto-updated and deduplicated**: ~473 institutions with a logo backed by ~160 distinct files, as normalized transparent 256×256 PNGs (`logos/png/.png`) plus sanitized original SVGs when available. Assets are keyed by **ISPB**. `source.type` states the origin: `openfinance`, `direct-uri` (institution's own official website, hand-reviewed), `override`, or `brand` — a logo inherited from the institution's cooperative system (Sicoob, Sicredi, Cresol, Unicred) via a curated whole-word rule; brand affiliates all reference ONE shared file per system and carry `source.brand` with the system token. - **Update cadence**: a GitHub Action (`.github/workflows/update-logos.yml`) runs every Monday (and on demand), rebuilds the list and the logos from the official sources, and opens a pull request with a report and the visual diff. Nothing is hand-curated. - **Per-logo provenance**: each logo records the source URI, the SHA-256 of the original artwork and the last-change date in `data/bancos.json`. - **Matching safety**: a logo is assigned automatically only when the institution's ISPB equals the first 8 digits of the Open Finance organisation's CNPJ. Name similarity never assigns a logo — it only produces suggestions that a human reviews and promotes to `forcedMatches` in `pipeline/config.json`. Official-site icons (and AI-scouted domain suggestions) also pass human visual curation before being promoted to `forcedUris` — nothing ships unreviewed. - **JavaScript API** (`logos-bancos-br`): `banks()`, `byCompe('341' | 341 | '0341')`, `byIspb('60701190')`, `findBank(code)`, `logoCdnUrl(code, { format: 'png' | 'svg' })`. Node-only paths: `logoPngPath()` / `logoSvgPath()` from `logos-bancos-br/node`. React Native static require() map: `logos-bancos-br/react-native` (keys: 4-digit COMPE and 8-digit ISPB). - **CLI for any stack** (Flutter, Kotlin, Swift, .NET, PHP…): `npx logos-bancos-br copy --dest [--by compe|ispb] [--format png|svg|both] [--only 341,001]` and `npx logos-bancos-br list [--json]`. - **CDN, no install**: `https://cdn.jsdelivr.net/npm/logos-bancos-br@0/logos/{png|svg}/.{png|svg}` (`@0` tracks the latest 0.x release; pin an exact version for immutability). The compact index `data/cdn-index.min.json` (~60 KB) maps `{ispb: [compe, name, flags]}` with flags 0 = no logo, 1 = PNG only, 3 = PNG+SVG — resolve COMPE→ISPB and logo availability without installing anything. Cooperative affiliates share their system's file: those entries carry a 4th element with the asset ISPB to use in the URL. For a ready logo URL per ISPB (all cases pre-resolved), `data/logo-urls.min.json` is a `{ISPB: url}` map (SVG when available else PNG, logos only): `logoUrl = map[ispb]`. - **Interactive gallery** (search + copy CDN URL): https://rzmt.github.io/logos-bancos-br/ ## Docs - [README (português)](README.md) - [README (English)](README.en.md) - [Gallery of all shipped logos](PREVIEW.md) - [Trademark notice and takedown policy](DISCLAIMER.md) - [Maintenance and pipeline guide](CONTRIBUTING.md) ## Official sources - [BCB STR participants CSV](https://www.bcb.gov.br/content/estabilidadefinanceira/str1/ParticipantesSTR.csv) ([page](https://www.bcb.gov.br/estabilidadefinanceira/participantesstr)) - [BCB active Pix participants page](https://www.bcb.gov.br/estabilidadefinanceira/participantespix) (daily dated CSV linked there) - [Open Finance Brasil participants directory](https://data.directory.openbankingbrasil.org.br/participants)