SmartyStreets

How to Find a County by ZIP Code, City or Address Lookup

Every mailing address is located within a specific county AND a specific ZIP Code. Therefore, if you know what the ZIP Code or city for a specific address, you can find out what county that address is located in. All you need is an address validation service provider. Here is a simple example of how to lookup a county using a ZIP Code. We'll also look at an example of how to perform a county lookup using a mailing address.

In this example, we'll find a ZIP Code's corresponding county designation using the SmartyStreets' address validation demo.

Note: For instructions on doing batch lookups for multiple counties using multiple ZIP Codes, read the "Programmatically Finding County Data by Using ZIP Codes" section of this article.

Using a ZIP Code to find a County:

Step 1. Go to the website of an address validation services provider of your choice.

Go to the SmartyStreets single address demo

Step 2. Look for "Step 2: Choose a lookup type" and choose "city/state or ZIP Code" from the dropdown menu.

choose city state or zip

Step 3. Enter the ZIP Code in the "ZIP Code" form field of "Step 3"

enter zip code

Step 4. Click on "View Results"

Step 5. In the "Output Fields" section of the results, look for "County Name". There you will see the county associated with the ZIP Code you entered.

Look for 'County Name' in the 'Output Fields' section

You can also find county info using this method by submitting the name of a city instead of a ZIP Code. On "Step 3", simply enter the city name instead of the ZIP Code.

Enter the city name instead of the ZIP Code

How to Find A County Using a Mailing Address

The process for finding a county by using a mailing address is very similar to finding a county using a ZIP Code. However, it is not necessary to have the ZIP Code for this process. You can use a mailing address to find a county by using the following steps:

Step 1. Go to the website of an address validation service provider of your choice. For this example, we'll again use the SmartyStreets' address validation demo for Single Addresses.

smartystreets single address demo

Step 2. Look for "Step 2: Choose a lookup type" and choose "address components" from the dropdown menu.

find county by mailing address components

Step 3. Enter the address info into the respective form fields of "Step 3". You can enter a ZIP Code into the "ZIP Code" field if you want to, but it is not necessary.

entering address components

Step 4. Click on "View Results"

Step 5. In the "Metadata" section of the results, look for "County Name". There you will see the county associated with the address that you entered.

Look for 'County Name' in the 'Metadata' section

Programmatically Finding County Data by Using ZIP Codes.

Sometimes, you need to find A LOT of county names for A LOT of different ZIP Codes. Because each individual address is also tied to a specific county, when that address is validated by an address validation service provider, the corresponding county data we be returned to you as well.

By programmatically accessing the SmartyStreets ZIP Code API, you can submit tens of thousands of addresses in seconds. Our servers will process it in under 30 milliseconds on average and return to you a JSON response with up to 45 datapoints about the address, including the address' county name and FIPS code.

SmartyStreets ZIP Code API allows you to lookup a lot of county names of different ZIP Codes

The process is facilitated by sending a simple HTTP request to the SmartyStreets ZIP Code API. Complete instructions on how to call the SmartyStreets ZIP Code API, including URL composition, Request Methods, Input Fields and Headers are found in our ZIP Code API documentation.

The leader in location data intelligence

Ready to get started?