# ZIP Code Lookup by City and State

**Use case:** 

Find postal codes for a city and state or province. Enter city, region, and countryCodes, then choose detailLevel, notFoundPolicy, sortBy, and maxPlacesPerCode.

## Input

```json
{
  "target": "cityStateLookup",
  "postalCodes": [
    "10001"
  ],
  "maxPlacesPerCode": 10,
  "city": "Los Angeles",
  "region": "CA",
  "countryCodes": [
    "US"
  ],
  "detailLevel": "full",
  "notFoundPolicy": "omit",
  "sortBy": "postalCode"
}
```

## Output

```json
{
  "postalCode": {
    "label": "Postal code",
    "format": "string"
  },
  "country": {
    "label": "Country",
    "format": "string"
  },
  "countryCode": {
    "label": "Country code",
    "format": "string"
  },
  "places": {
    "label": "Places",
    "format": "array"
  },
  "found": {
    "label": "Match found",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [ZIP Code Lookup](https://apify.com/maximedupre/zip-code-lookup) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/zip-code-lookup) to learn more, explore other use cases, and run it yourself.