Postal code

South Africa postal codes

South Africa postal codes have the format #### (4 digits), for example 0083. zipcodestack has 4,250 postal codes for South Africa.

Format
####
Example
0083
Codes in our database
4,250
Local name
postal code

South Africa postal code format

Pattern#### (# digit, @ letter)
Examples0083, 1451, 0001
Regex^(?:\d{4})$

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

Postal Codes of the largest cities

Neighbouring countries

South Africa postal codes: FAQ

What is the postal code format in South Africa?

South Africa postal codes follow the pattern #### (# = digit, @ = letter), i.e. 4 digits. Examples: 0083, 1451, 0001.

What regex validates South Africa postal codes?

^(?:\d{4})$ 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.

What is the postal code of Pretoria?

Pretoria has 123 postal codes, starting with 0002. The right one depends on the street; see the full list for Pretoria.

How many postal codes are there in South Africa?

The zipcodestack database contains 4,250 postal codes for South Africa, each with place name, region and coordinates.

Postal code API

Look up South Africa postal codes by API

zipcodestack looks up, validates and searches postal codes in 149 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=0083&country=za

{
  "results": {
    "0083": [{
      "postal_code": "0083",
      "country_code": "ZA",
      "city": "…",
      "state": "…",
      "latitude": …,
      "longitude": …
    }]
  }
}

Free postal code tools

Start using our ZIP Code API for free today!

Get 300 requests / month for free