placedb

Countries

🇹🇿 Tanzania 31 administrative divisions

31 first-level administrative divisions — states, provinces, regions or counties, depending on the country — and 598 cities and towns, each with latitude and longitude. Public domain, free to download, no API key.

The country

ISO 3166-1
TZ · TZA · 834
Capital
Dodoma
Continent
Africa
Currency
TZS — Tanzanian shilling
Calling code
+255
Internet domain
.tz
Divisions
31
Cities and towns
598

Divisions

The 31 divisions of Tanzania

31 of them carry an ISO 3166-2 code. Counts are cities and towns inside each division.

Division ISO 3166-2 Cities and towns Population
Dodoma Region TZ-03 59 3,085,625
Singida Region TZ-23 38 1,370,637
Mbeya Region TZ-14 36 1,708,548
Ruvuma Region TZ-21 34 1,376,891
Arusha Region TZ-01 28 1,694,310
Pwani Region TZ-19 27 1,098,668
Kigoma Region TZ-08 25 2,127,930
Kagera Region TZ-05 24 2,458,023
Kilimanjaro Region TZ-09 22 1,640,087
Mara Region TZ-13 22 1,743,830
Mtwara Region TZ-17 22 1,270,854
Tanga Region TZ-25 21 2,045,205
Morogoro Region TZ-16 20 2,218,492
Dar es Salaam Region TZ-02 19 4,364,541
Iringa Region TZ-04 18 941,238
Manyara Region TZ-26 18 1,425,131
Unguja South Region TZ-11 18 115,588
Tabora Region TZ-24 16 2,291,623
Njombe Region TZ-29 14 702,097
Lindi Region TZ-12 13 864,652
Mwanza Region TZ-18 12 2,772,509
Geita Region TZ-27 11 1,739,530
Mjini Magharibi Region TZ-15 11 593,678
Shinyanga Region TZ-22 11 1,534,808
Simiyu Region TZ-30 11 1,584,157
Unguja North Region TZ-07 9 187,455
Rukwa Region TZ-20 8 1,004,539
North Pemba Region TZ-06 7 211,732
Songwe Region TZ-31 7 998,862
Katavi Region TZ-28 5 564,604
South Pemba Region TZ-10 5 195,116

A further 7 places could not be matched to a division and are listed separately in the API as "unassigned": true.

Get it

Both files, in one request each

# every division of Tanzania
curl -s https://api.placedb.org/v1/regions/TZ.json

# the cities and towns of one division (id from the file above)
curl -s https://api.placedb.org/v1/cities/TZ/<id>.json

No key, no account, no rate limit. The endpoints · try it live.