# Scrape Condos And Townhouses

**Use case:** 

Narrows to two of Redfin's eight property types. Lot size is left empty by Redfin for most condos, and a listing with an empty lot passes the lot filter rather than being dropped for it.

## Input

```json
{
  "locations": [
    "60614",
    "98109",
    "10021",
    "02116"
  ],
  "mode": "forSale",
  "maxItems": 500,
  "maxHomesPerLocation": 2000,
  "includeDetails": false,
  "maxDetails": 50,
  "includeMarketStats": false,
  "verifyRegion": true,
  "minPrice": 0,
  "maxPrice": 0,
  "minBeds": 0,
  "maxBeds": 0,
  "minBaths": 0,
  "minSqft": 0,
  "maxSqft": 0,
  "minLotSqft": 0,
  "minYearBuilt": 0,
  "maxYearBuilt": 0,
  "propertyTypes": [
    "Condo",
    "Townhouse"
  ],
  "maxDaysOnMarket": 0,
  "onlyOpenHouses": false,
  "onlyNewConstruction": false,
  "onlyWithPhotos": false,
  "addressContains": "",
  "descriptionContains": "",
  "labelContains": "",
  "minWalkScore": 0,
  "minTransitScore": 0,
  "minPermits": 0,
  "onlyChanged": false,
  "emitUnchanged": false,
  "compactOutput": false,
  "dropEmptyFields": false,
  "includeRawRecord": false,
  "concurrency": 4,
  "timeoutSeconds": 90,
  "inputDatasetId": "",
  "urlField": "url"
}
```

## Output

```json
{
  "address": {
    "label": "Full address",
    "format": "string"
  },
  "price": {
    "label": "Price, USD",
    "format": "integer"
  },
  "beds": {
    "label": "Bedrooms",
    "format": "integer"
  },
  "baths": {
    "label": "Bathrooms",
    "format": "integer"
  },
  "sqft": {
    "label": "Living area, sq ft",
    "format": "integer"
  },
  "price_per_sqft": {
    "label": "Price per sq ft",
    "format": "integer"
  },
  "property_type": {
    "label": "Property type",
    "format": "string"
  },
  "year_built": {
    "label": "Year built",
    "format": "integer"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "days_on_market": {
    "label": "Days on market",
    "format": "integer"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "state": {
    "label": "State",
    "format": "string"
  },
  "zip": {
    "label": "ZIP",
    "format": "string"
  },
  "url": {
    "label": "Listing URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Redfin Scraper - MLS Property Listings, Rentals, Market Stats](https://apify.com/snow_leo_data/redfin-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/snow_leo_data/redfin-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/snow_leo_data/redfin-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
