# Scrape townhomes for sale in a city

**Use case:** 

Pull townhouse listings with prices, HOA fees, and Zestimates for a target city. Built for townhome investors and agents.

## Input

```json
{
  "zipCodes": [
    "10001",
    "90210"
  ],
  "startUrls": [
    {
      "url": "https://www.zillow.com/raleigh-nc/"
    }
  ],
  "listingType": "for_sale",
  "includeSingleFamily": false,
  "includeCondo": false,
  "includeTownhouse": true,
  "includeMultiFamily": false,
  "includeApartment": false,
  "includeManufactured": false,
  "includeLand": false,
  "dataDepth": "summary",
  "maxResults": 300,
  "proxyConfig": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "imgSrc": {
    "label": "Photo",
    "format": "image"
  },
  "address": {
    "label": "Address",
    "format": "text"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "beds": {
    "label": "Beds",
    "format": "number"
  },
  "baths": {
    "label": "Baths",
    "format": "number"
  },
  "sqft": {
    "label": "Sqft",
    "format": "number"
  },
  "propertyType": {
    "label": "Type",
    "format": "text"
  },
  "listingStatus": {
    "label": "Status",
    "format": "text"
  },
  "daysOnMarket": {
    "label": "Days on market",
    "format": "number"
  },
  "zestimate": {
    "label": "Zestimate",
    "format": "number"
  },
  "rentZestimate": {
    "label": "Rent Zestimate",
    "format": "number"
  },
  "url": {
    "label": "Listing",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Zillow Scraper Pro](https://apify.com/stackrelay/zillow-scraper-pro) with a specific input configuration. Visit the [Actor detail page](https://apify.com/stackrelay/zillow-scraper-pro) to learn more, explore other use cases, and run it yourself.