GeoCoder API Fields

GeoCode lookup

This table lists the fields included in the request body for Vertex GeoCoder API requests.

FieldSub-fieldDetailsDescription
cityobjectCity-level search criteria. Includes the following sub-fields:
isCompressed
isPrefix
name
isCompressedbooleanSearch using a compressed city name. Compression logic enables your search to match city names based on phonetic spelling and word concatenations. It helps you to successfully look up tax areas when you do not know the correct spelling of a location.
isPrefixbooleanIf set to true, then the supplied name is a prefix. The search returns any matches with a city name that begins with the supplied text.
namestringCity name.
stateobjectState-level search criteria. Includes the following sub-fields:
isPrefix
name
isPrefixbooleanIf set to true, then the supplied name is a prefix. The search returns any matches with a state name that begins with the supplied text.
namestringState name.
countyobjectCounty-level search criteria. Includes the following sub-fields:
isPrefix
name
isPrefixbooleanIf set to true, then the supplied name is a prefix. The search returns any matches with a county name that begins with the supplied text.
namestringCounty name.
postalCodestringThe postal code value.
geocodeIdstringThe GeoCode, for doing reverse lookups by GeoCode. If geocodeId is included, only a GeoCode lookup is performed. No other search criteria is used.