# Scrape Townhomes for Rent by City

**Use case:** 

Scrape townhomes for rent on Apartments.com: rent price, beds, baths, sqft, address, amenities and management by city. Export to CSV or Excel.

## Input

```json
{
  "locations": [
    "Charlotte, NC"
  ],
  "propertyTypes": [
    "townhomes"
  ],
  "maxResults": 100,
  "maxResultsPerSearch": 120,
  "includeListingDetails": true,
  "petFriendlyOnly": false,
  "enrichContactEmails": false,
  "maxPhotosPerListing": 25,
  "deduplicateListings": true,
  "monitorMode": false,
  "monitorStoreName": "apartments-monitor",
  "debugDump": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

## Output

```json
{
  "propertyName": {
    "label": "Property"
  },
  "city": {
    "label": "City"
  },
  "state": {
    "label": "ST"
  },
  "rentMin": {
    "label": "Rent min"
  },
  "rentMax": {
    "label": "Rent max"
  },
  "bedText": {
    "label": "Beds"
  },
  "rating": {
    "label": "Rating"
  },
  "reviewCount": {
    "label": "# Reviews"
  },
  "phone": {
    "label": "Phone"
  },
  "petFriendly": {
    "label": "Pets"
  },
  "url": {
    "label": "URL"
  }
}
```

## About this Actor

This example demonstrates how to use [Apartments.com Scraper - Rentals, Prices & Leads](https://apify.com/scrapesage/apartments-com-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapesage/apartments-com-scraper) to learn more, explore other use cases, and run it yourself.