Finance — entry 005 of 47
Banco do Brasil
Banco do Brasil's Portal Developers exposes the bank's own APIs — Pix instant payments, Cobrança (boleto/invoice billing and collections), and PJ account/statement data — behind OAuth 2.0 client credentials issued after registering an application with a CPF or CNPJ and promoting it through sandbox, homologação (staging), and production environments. Registration and the sandbox are free; production Cobrança/Pix usage carries Banco do Brasil's standard banking transaction fees rather than a separate per-call API charge, and going live requires an approved CNPJ-linked business account, so it isn't instantly self-serve for an individual developer. The developer portal still blocks bots, but this sandbox reached the real API gateway at api.bb.com.br directly. A GET request with an Origin header returned a 403 error from the bank's own system, not a bot page. An OPTIONS preflight request to the Pix endpoint returned 204. Neither response carried an Access-Control-Allow-Origin header, so `cors` resolves to `no`.
GreatAPIs Score
Auth quickstart
- Register an app / run the OAuth flow to obtain a bearer token.
- Send it as an Authorization header
Authorization: Bearer <token>
Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.