# Scrape homes for sale by ZIP code on Zillow

**Use case:** 

Pull every for-sale home in any ZIP code with price, beds, baths, square footage, agent contact, and Zestimate as clean structured data.

## Input

```json
{
  "mode": "zip",
  "zipCodes": [
    "90210"
  ],
  "maxPropertiesPerZip": 10,
  "status_type": "ForSale",
  "price_min": 0,
  "price_max": 0,
  "rentMinPrice": 0,
  "rentMaxPrice": 0,
  "beds_min": 0,
  "beds_max": 0,
  "baths_min": 0,
  "baths_max": 0,
  "doz": "any",
  "sort": "Homes_for_You",
  "keywords": "",
  "isSingleFamily": true,
  "isTownhouse": true,
  "isMultiFamily": false,
  "isCondo": true,
  "isLotLand": false,
  "isApartment": true,
  "isManufactured": false,
  "isForSaleByOwner": false,
  "isForSaleByAgent": true,
  "isNewConstruction": "any",
  "isAuction": "any",
  "isForSaleForeclosure": "any",
  "includeForeclosed": false,
  "includePreForeclosure": false,
  "isPendingUnderContract": false,
  "isAcceptingBackupOffers": false,
  "sqft_min": 0,
  "sqft_max": 0,
  "lotSize_min": "",
  "lotSize_max": "",
  "built_min": 0,
  "built_max": 0,
  "parkingSpots_min": 0,
  "hasGarage": false,
  "hoa_max": 0,
  "hasPool": false,
  "hasAirConditioning": false,
  "isWaterfront": false,
  "isBasementFinished": false,
  "isBasementUnfinished": false,
  "isCityView": false,
  "isMountainView": false,
  "isParkView": false,
  "isWaterView": false,
  "isOpenHousesOnly": false,
  "is3dHome": false,
  "largeDogsAllowed": false,
  "smallDogsAllowed": false,
  "catsAllowed": false,
  "noPets": false,
  "inUnitLaundry": false,
  "parkingAvailable": false,
  "furnished": false,
  "hardwoodFloor": false,
  "utilitiesIncluded": false,
  "disabledAccess": false,
  "shortTermLease": false,
  "outdoorSpace": false,
  "controlledAccess": false,
  "highSpeedInternet": false,
  "elevator": false,
  "acceptsApplications": false,
  "incomeRestricted": false,
  "schools": "",
  "schoolsRating": 0,
  "includeUnratedSchools": true,
  "zpids": [],
  "zillowUrl": "",
  "enrichWalkScore": false,
  "enrichPhotos": false
}
```

## Output

```json
{
  "mainPhoto": {
    "label": "Main Photo URL",
    "format": "string"
  },
  "hdpUrl": {
    "label": "Listing URL",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "status": {
    "label": "Listing Status",
    "format": "string"
  },
  "streetAddress": {
    "label": "Street Address",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "agentName": {
    "label": "Agent Name",
    "format": "string"
  },
  "agentEmail": {
    "label": "Agent Email",
    "format": "string"
  },
  "cellPhone": {
    "label": "Agent Phone",
    "format": "string"
  },
  "brokerName": {
    "label": "Brokerage / Listing Company Name",
    "format": "string"
  },
  "zestimate": {
    "label": "Zestimate",
    "format": "number"
  },
  "bedrooms": {
    "label": "Bedrooms",
    "format": "integer"
  },
  "bathrooms": {
    "label": "Bathrooms",
    "format": "integer"
  },
  "livingArea": {
    "label": "Living Area (sqft)",
    "format": "integer"
  },
  "yearBuilt": {
    "label": "Year Built",
    "format": "integer"
  },
  "zpid": {
    "label": "ZPID",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Zillow Property & Agent Data Scraper](https://apify.com/afanasenko/zillow-property-agent-data-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/afanasenko/zillow-property-agent-data-scraper) to learn more, explore other use cases, and run it yourself.