get https://{host}/li/geocode/18.1/postalCode
Returns postcode-level data for locations matching the specified query parameters.
Query parameters enable you to define the scope of the query or sort and paginate the data returned. If no query parameter is specified, the service returns postcode-level data for all countries.
- The
countryFipsparameter identifies a country using its Federal Information Processing Standard (FIPS) country code. The FIPS country code is a two-character code that uniquely identifies a geopolitical entity. For example, the FIPS country code for the United States is US. - The
admin1Codeparameter is a two-character code that represents a large geographic division within a country such as a prefecture, province, region, or state. For example, theadmin1Codefor the state of California is CA. - The
admin2Codeparameter identifies a geographic division within a country using a three-digit code. Theadmin2Codeidentifies entities that are smaller than the entities represented byadmin1Code. For example, in the United Statesadmin1Codeidentifies a state and theadmin2Codeidentifies a county. - The
postalCodeparameter identifies locations by postal codes.
A successful response returns not only postcode-level data, but also all Admin3-level, Admin2-level, Admin1-level, and country-level geolocation data for the United States.
