IBGE Scraper: Brazilian Municipalities & Regions
Pricing
Pay per usage
Go to Apify Store

IBGE Scraper: Brazilian Municipalities & Regions
Pull Brazilian municipalities and their full administrative hierarchy from the IBGE public API: state, mesoregion, microregion. No login, no proxy, no browser.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Naimur Hasan
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
20 days ago
Last modified
Categories
Share
IBGE Scraper
Pulls Brazilian municipalities and their full administrative hierarchy from the IBGE public API. No login, no proxy, no browser.
Input
| Field | Type | Notes |
|---|---|---|
stateCode | string | Required. Two-letter UF, e.g. SP, RJ, BA. Default SP. |
nameContains | string | Accent-insensitive name filter. Omit for all. |
maxItems | integer | Cap on municipalities. Default 100. |
Output
One row per municipality: id, name, stateCode, stateName, region,
mesoregion, microregion, immediateRegion, intermediateRegion.
Notes
- Search is accent-insensitive. Brazilian place names are full of
diacritics —
São Paulo,Ribeirão Preto,Vitória— so a plain-ASCII filter would silently miss them. Names are normalised before comparison. - IBGE nests the state inside
microrregiao.mesorregiao.UF, and separately under the newerregiao-imediatahierarchy. Both are read, with the older path preferred and the newer one as fallback, so the state is never blank. idis the official 7-digit IBGE municipality code, which is the key other Brazilian datasets join on.- Brazil has 5,570 municipalities; São Paulo state alone has 645, which is why
maxItemsexists.