🇧🇷 Cities in Brazil — API & JSON data

Looking for a JSON API covering cities in Brazil? Geomelon has 3,171 of them, organized into 28 regions and searchable in 42 languages. São Paulo tops the list by population (11,904,961).

Data updated: 2026-07-14

Live demo

Type to search Brazil cities…

Top 10 cities by population

CityRegionPopulation
São PauloSão Paulo11,904,961
Greater Rio de JaneiroRio de Janeiro11,900,000
Rio de JaneiroRio de Janeiro6,730,729
BrasíliaFederal District2,996,899
Fortaleza—2,578,483
SalvadorBahia2,564,204
Belo HorizonteMinas Gerais2,415,872
ManausAmazonas2,303,732
CuritibaParaná1,830,795
RecifePernambuco1,588,376

Sample API response

GET /cities/search?countryCode=br&sort=population_desc&limit=3

[
  {
    "id": "f82e4275-4dd0-4ef6-88c3-b09c4d10b615",
    "name": "São Paulo",
    "population": 11904961,
    "countryName": "Brazil",
    "countryCode": "BR",
    "countryEmoji": "🇧🇷",
    "regionName": "São Paulo"
  },
  {
    "id": "32969d9a-9525-4443-8dc9-f693ddaf7a86",
    "name": "Greater Rio de Janeiro",
    "population": 11900000,
    "countryName": "Brazil",
    "countryCode": "BR",
    "countryEmoji": "🇧🇷",
    "regionName": "Rio de Janeiro"
  },
  {
    "id": "4f4eacd5-064e-442d-a92f-4cde92bbbcb6",
    "name": "Rio de Janeiro",
    "population": 6730729,
    "countryName": "Brazil",
    "countryCode": "BR",
    "countryEmoji": "🇧🇷",
    "regionName": "Rio de Janeiro"
  }
]

Try it

curl --request GET \
  --url 'https://geomelon.p.rapidapi.com/cities/search?countryCode=br&sort=population_desc&limit=10' \
  --header 'x-rapidapi-host: geomelon.p.rapidapi.com' \
  --header 'x-rapidapi-key: YOUR_API_KEY'

Multilingual city names

City names in Brazil are available in 42 languages.

Data package

Want the data offline? npm install @geomelon/brazil ships 6,810 Brazil cities, 27 regions and multilingual names, no API key. See the Brazil data package.

FAQ

How many cities in Brazil does the API return?

Geomelon currently has 3,171 cities in Brazil across 28 regions. Results are paginated, up to 100 per request.

Is there a free tier?

Yes. RapidAPI's free tier covers a fixed number of requests per month with no credit card required. There is also a free, no-key city-autocomplete endpoint (the demo above) for prefix search.

Can I get Brazil city names in other languages?

Yes — city names in Brazil are available in 42 languages. Pass the languages you want via the preferredLanguages parameter, most-preferred first.

Do I need an API key?

The main search and lookup endpoints require a free RapidAPI key. The prefix-search autocomplete endpoint used in the demo above is public and does not require a key.

Try free on RapidAPI

Related