Skip to content

cosmunsoftwares/brazilian-banks-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brazilian Banks API

Query banks names and codes in Brazil.

Example

Request

GET /?q=itau&compact=yes HTTP/1.1
Host: brazilian-banks-api.herokuapp.com
Accept: */*

Response

HTTP/1.1 200 OK
Access-Control-Allow-Origin: : *
Content-Type: application/json; charset=utf-8
Etag: 0ee55f76a1ec068837b939821e96d3de
Content-Length: 382

[
  {
    "name": "Banco Itaú BBA S.A.",
    "code": "184",
    "url": "http://www.itaubba.com.br/"
  },
  { "name": "Banco Itaú Consignado S.A.", "code": "029", "url": "" },
  {
    "name": "Banco ItauBank S.A",
    "code": "479",
    "url": "http://www.itaubank.com.br/"
  },
  {
    "name": "Itaú Unibanco Holding S.A.",
    "code": "652",
    "url": "http://www.itau.com.br/"
  },
  {
    "name": "Itaú Unibanco S.A.",
    "code": "341",
    "url": "http://www.itau.com.br/"
  }
]

Optionally you can omit the q parameter to get a full list of all banks.

API

The endpoint is https://brazilian-banks-api.herokuapp.com.

GET /
Returns the whole list.
GET /?q=...
Filter the list by partial match, ignoring accents and special characters.
GET /?compact=on|yes|true|1
Exclude banks with blank codes.

Reference

  1. http://www.febraban.org.br/bancos.asp

License

The MIT License © Arthur Corenzan 2017

Releases

No releases published

Packages

No packages published

Languages

  • Go 94.4%
  • Makefile 5.6%