# US Homes for Sale Scraper - Zillow and Redfin (`scrapercompany/us-homes-for-sale-scraper`) Actor

Scrape US homes for sale from Zillow and Redfin: address, price, beds, baths, square feet, lot size, year built, HOA, days on market, MLS id, coordinates, photos and link for any city, ZIP or neighborhood, plus full property details with description and agent. Made by ScraperCompany.

- **URL**: https://apify.com/scrapercompany/us-homes-for-sale-scraper.md
- **Developed by:** [ScraperCompany](https://apify.com/scrapercompany) (community)
- **Categories:** Real estate, Lead generation
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 zillow results pages

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## US Homes for Sale Scraper - Zillow and Redfin

**US Homes for Sale Scraper** by ScraperCompany reads **Zillow** and **Redfin**. Search **for-sale homes** in any city, ZIP or neighborhood and get each home's **address, price, beds, baths, square feet, lot size, year built, days on market, status, coordinates, photo and link** (Redfin adds HOA and MLS id). Open any home for **full details**: description or agent remarks, MLS id, HOA, the listing agent and every photo. Pricing is pay-per-event: **$0.006 per Zillow results page, $0.004 per Redfin results page, $0.004 per Zillow home and $0.008 per Redfin home**; empty pages and failed requests are free.

**Nothing to set up:** no code, no login and no keys. Start a run, then export JSON, CSV or Excel, or pull the results through the Apify API. You pay only for results; failed and empty requests are free.

### What can this Zillow and Redfin scraper do?

- **Zillow and Redfin** in one Actor: search pages and property details.
- **Up to 200 (Zillow) or 350 (Redfin) homes per search** for one charge.
- **Price, beds, baths, sqft, lot, year built, days on market** and coordinates on every listing.
- **Property details**: description or remarks, MLS id, HOA, listing agent and all photos.
- Batch many places or URLs per run.

#### Modes

| Mode | What it returns | Price per request |
| --- | --- | --- |
| `zillow_search` | For-sale homes for a city, ZIP or neighborhood (or a Zillow search URL): address, price, beds, baths, sqft, lot, year built, days on market, coordinates, photo, link | $0.006 |
| `zillow_property` | One home from its Zillow URL: facts, description, MLS id, HOA, days on market and every photo | $0.004 |
| `redfin_search` | For-sale homes from a Redfin city, ZIP or neighborhood URL: address, price, beds, baths, sqft, HOA, MLS id, coordinates, link | $0.004 |
| `redfin_property` | One home from its Redfin URL: facts, remarks, listing agent and every photo | $0.008 |

### What makes it different?

| | **US Homes for Sale Scraper** | Many alternatives |
| --- | --- | --- |
| Setup | Nothing to configure: no login, no keys | Often your own accounts, cookies or network setup |
| You pay for | Successful results; failed and empty requests are free | Often run time, or every attempt |
| When a site pushes back | Retried and handled for you | Often an empty or failed run |

### Who uses Zillow and Redfin data?

- **Real estate investors**: Screen for-sale stock and asking prices by city or ZIP and spot new listings early.
- **Agents and proptech**: Feed listing data with coordinates and photos into CRMs, maps and valuation models.
- **Analysts**: Track inventory, days on market and price levels across US markets.

### What Zillow and Redfin data can you extract?

| Field | Description |
| --- | --- |
| `listings[].address / city / state / postal_code` | Location |
| `listings[].price / price_text / currency` | Asking price |
| `listings[].beds / baths / sqft / lot_size / year_built` | Size and age |
| `listings[].property_type / status / days_on_market` | Type and market status |
| `listings[].latitude / longitude / photo / url` | Coordinates, photo and link |
| `description / photos[] / agents[] / mls_id / hoa (details)` | Full property details |

Every dataset item also carries `input` (the options used for that request), `request_id` (quote it to support), `billed` and `scraped_at`.

### How to scrape US homes for sale

1. Open US Homes for Sale Scraper in Apify Console and go to the **Input** tab.
2. Pick a **site and task**. For Zillow search enter places (`Chicago, IL`, `60618`); for Redfin search enter Redfin city or ZIP URLs; for details enter home URLs. Set **Homes per search**.
3. Adjust the options if needed.
4. Click **Start** and wait for the run to finish.
5. Download the results from the **Output** tab as JSON, CSV, Excel or HTML, or fetch them with the Apify API.

### Input

| Input | Name | What it does |
| --- | --- | --- |
| `mode` | Site and task | Search for-sale homes or read one home's details, on Zillow or Redfin. |
| `targets` | Locations or URLs | One per line. Zillow homes for sale: a city, ZIP or neighborhood (`Chicago, IL`, `60618`) or a Zillow search URL. |
| `limit` | Homes per search | Most homes to return per search: up to 200 on Zillow, 350 on Redfin. One search is one charge whatever the number. |

### Input example

This is the default input; running the Actor without changes uses it.

```json
{
  "mode": "zillow_search",
  "targets": [
    "Chicago, IL"
  ],
  "limit": 40,
  "includeErrors": true,
  "maxConcurrency": 3,
  "maxRetries": 2
}
```

### Output example

One dataset item per request (trimmed here; real items contain all the fields):

```json
{
  "mode": "zillow_search",
  "input": {
    "location": "Chicago, IL",
    "limit": 40
  },
  "listings": [
    {
      "address": "3923 N Mozart St, Chicago, IL 60618",
      "baths": 2,
      "beds": 3,
      "city": "Chicago",
      "currency": "USD",
      "days_on_market": -1,
      "id": "3667694",
      "latitude": 41.952847,
      "longitude": -87.69912,
      "lot_size": null,
      "photo": "https://photos.zillowstatic.com/fp/example.jpg",
      "postal_code": "60618",
      "price": 625000,
      "price_text": "$625,000",
      "property_type": "SINGLE_FAMILY",
      "sqft": 2200,
      "state": "IL",
      "status": "For Sale by Agent",
      "url": "https://www.zillow.com/homedetails/3923-N-Mozart-St-Chicago-IL-60618/3667694_zpid/",
      "year_built": 1995
    }
  ],
  "search_parameters": {
    "limit": 40,
    "location": "Chicago, IL"
  },
  "total": 1,
  "url": "https://www.zillow.com/homes/Chicago-IL_rb/",
  "request_id": "req_3f9c0d6e2b8a4c1f9e7d5b3a1c0e8f6d",
  "billed": true,
  "scraped_at": "2026-10-01T14:03:27.512Z"
}
```

A request that fails is saved with an `error` message instead (turn off **Include failed requests** to skip those). Failed requests are never charged.

### How much does it cost to scrape US homes for sale?

This Actor uses **pay-per-event** pricing: you pay for successful requests, not for compute time.

| Event | Charged when | Price | Per 1,000 |
| --- | --- | --- | --- |
| `zillow-search-page` | One page of Zillow for-sale homes (up to the Homes per search setting). Empty pages are free. | $0.006 | $6.00 |
| `zillow-property` | One Zillow home's facts, description and photos. | $0.004 | $4.00 |
| `redfin-search-page` | One page of Redfin for-sale homes (up to the Homes per search setting). Empty pages are free. | $0.004 | $4.00 |
| `redfin-property` | One Redfin home's facts, remarks, agent and photos. | $0.008 | $8.00 |

Paid Apify plans pay less: `redfin-search-page` up to 6% off (Bronze 5%, more on higher plans). The Pricing tab shows the price on your plan.

**What a real run costs:**

- 100 requests: **$0.60**
- 1,000 requests: **$6.00**
- 10,000 requests: **$60.00**

Apify's $5 of free monthly usage covers about **833** `zillow-search-page` events.

- Failed requests (errors, invalid input, a site refusing after retries) are **free**.
- Requests where the source returns nothing at all (no results, nothing priced) are saved but **not charged**.
- Set **Maximum cost per run** when you start a run and the Actor stops cleanly before going over it.

### Run it on a schedule

Use Apify **Schedules** to repeat a run hourly, daily or weekly and compare results over time, and **webhooks** or the **Integrations** tab to push new results to Make, Zapier, n8n, Google Sheets, Slack or your own warehouse.

### Use it with AI agents

Results are structured JSON, so they are easy to feed to a model. AI agents such as Claude can run this Actor and read its results through the [Apify MCP server](https://mcp.apify.com).

### FAQ

#### Do I need an account on the site, or an API key?

No. The Actor is ready to run as is, and you only pay the per-event prices above.

#### Does it cover rentals or sold homes?

No: homes for sale only.

#### What do I enter for Redfin search?

The URL of a Redfin city, ZIP or neighborhood page, e.g. <code>redfin.com/city/29470/IL/Chicago</code> or <code>redfin.com/zipcode/60618</code>.

#### How many homes per search?

Up to 200 on Zillow and 350 on Redfin, for one charge. Split a big city into ZIPs or neighborhoods to see more of it.

#### Is it legal to scrape US homes for sale?

The Actor collects publicly available information that anyone can see without logging in. You are responsible for how you use the results: respect the source site's terms, copyright and privacy law (such as GDPR) and do not collect personal data without a lawful basis. If in doubt, ask a lawyer.

#### What happens when a request is blocked or rate-limited?

Temporary errors are retried automatically. If a request still fails it is saved with the error message and not charged, and the rest of the batch keeps going. A run only fails when every request failed.

#### Why did a request return an error?

Read the `error` field: it says what was wrong with the input, for example a malformed date or an unknown id. Fix it and run again; failed requests cost nothing.

#### How many requests can I run at once?

Any number per run. The Actor sends up to 3 requests in parallel by default (change it under **Run options**); larger batches simply take longer.

### Use it from your code

Call the Actor from any language through the [Apify API](https://docs.apify.com/api/v2). With the JavaScript client (`npm install apify-client`):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('scrapercompany/us-homes-for-sale-scraper').call({
    "mode": "zillow_search",
    "targets": [
        "Chicago, IL"
    ]
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

With Python (`pip install apify-client`):

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("scrapercompany/us-homes-for-sale-scraper").call(run_input={
    "mode": "zillow_search",
    "targets": ["Chicago, IL"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### Related scrapers

- [Rightmove Property Scraper](https://apify.com/scrapercompany/rightmove-property-scraper): UK homes for sale
- [Domain.com.au Property Scraper](https://apify.com/scrapercompany/domain-property-scraper): Australian homes for sale and rent

### Support

Questions, a field you need, or a site that stopped working? Open an issue on the **Issues** tab. Include the `request_id` from the dataset item so we can trace the request.

# Changelog

This Actor's version history is a separate document: https://apify.com/scrapercompany/us-homes-for-sale-scraper/changelog.md

# Actor input Schema

## `mode` (type: `string`):

Search for-sale homes or read one home's details, on Zillow or Redfin.

## `targets` (type: `array`):

One per line. <b>Zillow homes for sale</b>: a city, ZIP or neighborhood (<code>Chicago, IL</code>, <code>60618</code>) or a Zillow search URL. <b>Redfin homes for sale</b>: a Redfin city, ZIP or neighborhood URL (<code>https://www.redfin.com/city/29470/IL/Chicago</code>). <b>Property details</b>: the home's Zillow or Redfin URL.

## `limit` (type: `integer`):

Most homes to return per search: up to 200 on Zillow, 350 on Redfin. One search is one charge whatever the number.

## `customRequests` (type: `array`):

Optional list of JSON objects, one request each, using the field names shown above. Each object is merged over the options above, so you only need to give what differs. Use <code>"mode"</code> (zillow_search, zillow_property, redfin_search, redfin_property) to pick the task per object. Example: <code>{"mode":"redfin_search","url":"https://www.redfin.com/zipcode/60618","limit":100}</code>

## `includeErrors` (type: `boolean`):

When on, a request that fails (for example an unknown property id) is saved as a dataset item with an <code>error</code> message so you can see what went wrong. Failed requests are never charged.

## `maxConcurrency` (type: `integer`):

How many requests run at the same time (1-8). Parallel runs share one limit, so extra requests wait for a free slot instead of failing.

## `maxRetries` (type: `integer`):

How many times a request that failed for a temporary reason is tried again. Invalid input is never retried.

## Actor input object example

```json
{
  "mode": "zillow_search",
  "targets": [
    "Chicago, IL"
  ],
  "limit": 40,
  "includeErrors": true,
  "maxConcurrency": 3,
  "maxRetries": 2
}
```

# Actor output Schema

## `results` (type: `string`):

One dataset item per request.

## `summary` (type: `string`):

Counts of succeeded, failed, skipped and charged requests.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "targets": [
        "Chicago, IL"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapercompany/us-homes-for-sale-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "targets": ["Chicago, IL"] }

# Run the Actor and wait for it to finish
run = client.actor("scrapercompany/us-homes-for-sale-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "targets": [
    "Chicago, IL"
  ]
}' |
apify call scrapercompany/us-homes-for-sale-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapercompany/us-homes-for-sale-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/PwnD8HsaezIC8nnux/builds/OwzdFmQNaMYoUHsyt/openapi.json
