IBGE CITY CODES Rest API for IBGE city codes based on the institute's last database. The original files are included on data directory. Information on how to use the API can be found on apiary and a running version can be tested on this link.