client.geo.postal_code

STRING, read-only.

Available inall subroutines.

The postal code associated with the IP address. These are available for some IP addresses in Australia, Canada, France, Germany, Italy, Spain, Switzerland, the United Kingdom, and the United States. We return the first 2-4 characters (outward code) for postal codes in the United Kingdom. For countries with alphanumeric postal codes, this field is a lowercase transliteration.

User contributed notes

BETA

Do you see an error in this page? Do you have an interesting use case, example or edge case people should know about? Share your knowledge and help people who are reading this page! (Comments are moderated; for support, please contact Fastly support)