geoip.postal_code

STRING, read-only.

Available in all subroutines.

The postal code associated with the IP address. These are available for some IP addresses in Australia, Canada, France, Germany, Italy, Spain, Switzerland, United Kingdom, and the US.

We return the first three characters for Canadian postal codes. We return the first two to four characters (outward code) for postal codes in the United Kingdom.