 <p>Google have a <a href="http://i18napis.appspot.com/address" rel="nofollow">JSON-based API</a> that they use for their <a href="http://code.google.com/p/libaddressinput/" rel="nofollow">Android address input field library</a> that contains this kind of formatting information.</p> <p>The field you'd be interested in is <code>fmt</code>. There doesn't seem to be any formal documentation on the format they use, but a <a href="http://unicode.org/review/pri180/" rel="nofollow">proposal to include this information</a> as part of the Unicode CLDR has matching fields (scroll down to "Detailed Breakdown of elements"); there are also some clues in <a href="http://code.google.com/p/libaddressinput/source/browse/trunk/src/com/android/i18n/addressinput/AddressField.java?r=111" rel="nofollow">Google's libaddressinput source code</a>.</p>