Postal code

Tanzania postal codes

A Tanzania postal code looks like 6090. zipcodestack has 3,919 postal codes for Tanzania.

Format
–
Example
6090
Codes in our database
3,919
Local name
Postal code

Tanzania postal code format

Pattern– (# digit, @ letter)
Examples6090, 34413
Regex^(?:\d{4,5})$

Format and regex from Google's address metadata (libaddressinput). The regex checks the shape of a code, not whether it exists.

Neighbouring countries

Tanzania postal codes: FAQ

What is the postal code format in Tanzania?

Tanzania postal codes have no single published pattern. Examples: 6090, 34413.

What regex validates Tanzania postal codes?

^(?:\d{4,5})$ matches the official format (from Google's address metadata). It checks the shape only; whether a code exists needs a lookup in a postal code database such as the zipcodestack API.

How many postal codes are there in Tanzania?

The zipcodestack database contains 3,919 postal codes for Tanzania, each with place name, region and coordinates.

Postal code API

Look up Tanzania postal codes by API

zipcodestack looks up, validates and searches postal codes in 182 countries: city, state, coordinates, distances and radius search, as JSON.

/v1/search documentation International postal code API All documentation

300 free requests every month. No credit card required.

GET https://api.zipcodestack.com/v1/search?codes=6090&country=tz

{
  "results": {
    "6090": [{
      "postal_code": "6090",
      "country_code": "TZ",
      "city": "…",
      "state": "…",
      "latitude": …,
      "longitude": …
    }]
  }
}

Free postal code tools

Start using our ZIP Code API for free today!

Get 300 requests / month for free