# US Real Estate Scraper: Zillow & Redfin Listings (`tortuga/us-real-estate-scraper`) Actor

Search Zillow and Redfin in one run and get one clean list of US homes for sale, for rent or sold. Duplicates across both sites are merged by address, keeping both URLs and both estimates. Price, beds, baths, sqft, photos and agent. Works for any US city, ZIP or county.

- **URL**: https://apify.com/tortuga/us-real-estate-scraper.md
- **Developed by:** [Trevor Ortega](https://apify.com/tortuga) (community)
- **Categories:** Real estate
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.28 / 1,000 listings

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Real Estate Scraper: Zillow & Redfin Listings

Search **Zillow** and **Redfin** in one run and get one clean list of US homes **for sale**, **for rent** or **recently sold**. The same home found on both sites is returned once: matched by normalized address, the richest record is kept, with **both URLs** and **both estimates** (Zestimate and Redfin Estimate). Type a city, ZIP code or county, or paste search or property URLs from either site.

No login and no browser. The Actor reads the same data the two sites' own search pages load, normalizes it into one schema (same field names and units for both sites), and charges per listing in the dataset.

### What data does the US Real Estate Scraper extract?

| Field | Example | Notes |
|---|---|---|
| `id`, `sourcePlatforms`, `zpid`, `redfinPropertyId` | `zillow-29421954`, `["zillow","redfin"]`, `31490165` | `id` is the Zillow id when the home is on Zillow, else the Redfin one |
| `url`, `zillowUrl`, `redfinUrl` | links | Both links are kept for homes found on both sites |
| `listingStatus` | `for_sale` | for_sale, pending, coming_soon, for_rent, sold |
| `address`, `unit`, `city`, `state`, `zip`, `latitude`, `longitude` | `6900 William Wallace Way`, `Austin`, `TX`, `78754` | |
| `price`, `soldPrice`, `soldDate`, `pricePerSqft` | `379900`, `99` | Rentals: monthly rent. Sale prices hidden by non-disclosure states (for example Texas) stay empty |
| `beds`, `baths`, `sqft`, `lotSize` (sq ft), `lotSizeAcres`, `yearBuilt` | `4`, `2.5`, `3840`, `13673`, `0.314`, `2001` | `yearBuilt` comes from details when the search card has none |
| `propertyType` | `single_family` | single_family, condo, townhouse, multi_family, land, manufactured, apartment, other |
| `daysOnMarket`, `hoa` (monthly) | `1` | |
| `estimate`, `zestimate`, `redfinEstimate`, `rentZestimate` | `374400`, `374400`, `380324`, `3296` | `estimate` = Zestimate, else Redfin Estimate. Estimates appear only where the site shows one |
| `listingAgent`, `listingOffice`, `listingAgentPhone`, `mlsId` | `Rachael Dahl`, `Stag & Stone Realty LLC` | Broker as the listing shows it |
| `primaryPhoto`, `photos`, `description`, `facts` | | One site's gallery (the richer record's) |
| With details: `priceHistory`, `taxHistory`, `schools`, `yearBuilt`, `hoa`, estimates | | See "What do the details include?" |
| `search`, `scrapedAt`, `detailsFetched` | `Austin, TX` | |

### How to scrape Zillow and Redfin listings together

1. Enter a **Location** (`Austin, TX`, `78704`, `Travis County, TX`) and pick **For sale**, **For rent** or **Sold**.
2. Set **Max listings**, optional filters (price, bedrooms, bathrooms, property types) and which **Platforms** to search.
3. Run it. Optionally add Zillow or Redfin **Start URLs** (search pages with your filters, or single property pages).

The filters apply to both sites. Each site returns its newest listings first; the Actor looks at up to three times Max listings per site, merges the homes both sites list, and keeps homes found on both sites first.

### Input example

```json
{
  "location": "Austin, TX",
  "listingType": "for_sale",
  "platforms": ["zillow", "redfin"],
  "maxItems": 20,
  "minBeds": 3,
  "maxPrice": 600000,
  "propertyTypes": ["single_family", "townhouse"],
  "includeDetails": false
}
```

### Output example

```json
{
  "id": "zillow-29421954",
  "sourcePlatforms": ["zillow", "redfin"],
  "zpid": 29421954,
  "redfinPropertyId": "31490165",
  "zillowUrl": "https://www.zillow.com/homedetails/6900-William-Wallace-Way-Austin-TX-78754/29421954_zpid/",
  "redfinUrl": "https://www.redfin.com/TX/Austin/6900-William-Wallace-Way-78754/home/31490165",
  "listingStatus": "for_sale",
  "address": "6900 William Wallace Way",
  "city": "Austin", "state": "TX", "zip": "78754",
  "latitude": 30.351335, "longitude": -97.609525,
  "price": 379900, "beds": 4, "baths": 2.5, "sqft": 3840, "lotSize": 13673, "lotSizeAcres": 0.314,
  "yearBuilt": 2001, "propertyType": "single_family", "daysOnMarket": 1, "pricePerSqft": 99,
  "estimate": 374400, "zestimate": 374400, "redfinEstimate": 380324, "rentZestimate": 3296,
  "listingAgent": "Rachael Dahl", "listingOffice": "Stag & Stone Realty LLC", "mlsId": "10437640",
  "photos": ["https://ssl.cdn-redfin.com/photo/104/bigphoto/640/10437640_0.jpg"],
  "search": "Austin, TX"
}
```

### How does the deduplication work?

Addresses are normalized (street suffixes, directions, unit numbers, ZIP+4) and compared. Two records match when house number, street, unit and ZIP agree and their coordinates are within about a kilometer. Homes without a house number (new-construction plans, hidden addresses) are never merged. The richer record is the base; gaps are filled from the other site; both URLs, both ids and both estimates are kept; `sourcePlatforms` says where the home was found. In a test on Austin for sale, 150 newest listings per site: 97 homes appeared on both sites (65% overlap). For homes sold in the last 7 days in Phoenix, 163 of 172 Zillow listings were also on Redfin. Rentals overlap much less, because Redfin's rental feed carries many apartment buildings Zillow lists differently.

### What do the details include?

With **Include details** the Actor loads each home's page data on each platform: full description, year built, HOA, agent and phone, price history and tax history, schools, facts and features, Zestimate and Redfin Estimate. It is charged per listing as the `detail` event. Redfin details are not available for rentals. Without details the Actor still looks up the Redfin Estimate for the first 50 Redfin listings (no extra charge).

### How many listings can I get per search?

Zillow returns up to about 800 listings per search and Redfin up to 10,000 per search. Max listings is capped at 5,000. For larger areas, split by ZIP code or use price filters.

### Do I need a proxy? Does it work without login?

No login. Zillow blocks datacenter IPs, so the default is Apify RESIDENTIAL proxy (US); Redfin automatically uses the cheaper datacenter pool when you pick an Apify proxy. Proxy usage is billed with your Apify usage.

### Pricing

Pay per event: **$1.60 per 1,000 listings** plus **$2.50 per 1,000 details** (only with Include details or property URLs). Platform usage, including proxy traffic, is billed to your account at Apify's normal rates: about $0.01 per 1,000 listings and about $0.7 per 1,000 Zillow detail pages.

### Integrations and API

Export to JSON, CSV or Excel, call it through the Apify API or schedule runs to track a market. Works with Make, Zapier, n8n and Google Sheets through Apify integrations.

### Is it legal to scrape Zillow and Redfin?

The Actor collects only data that the two sites show publicly to any visitor, without logging in. Respect each site's terms and local law, and do not use the data to harass or profile private individuals. Agent and brokerage names are exported as the listing shows them.

### Support

Found a bug or need another field? Open an issue on the Actor page and it will be looked at.

### Related scrapers

[Zillow Scraper](https://apify.com/tortuga/zillow-scraper) and [Redfin Scraper](https://apify.com/tortuga/redfin-scraper) cover one site each with more site-specific fields.

# Actor input Schema

## `location` (type: `string`):

City, ZIP code or county, resolved on each site (for example 'Austin, TX', '78704' or 'Travis County, TX'). Leave empty if you use Start URLs.

## `listingType` (type: `string`):

Which listings to search. Applies to Location; search URLs keep the type they were copied with.

## `platforms` (type: `array`):

Sites to search. Both by default; the same home found on both sites is returned once with both URLs and both estimates.

## `startUrls` (type: `array`):

Optional Zillow or Redfin search URLs (copy the address bar after setting filters on the site) or property URLs (Zillow .../homedetails/...\_zpid/, Redfin .../home/12345). Property URLs return that home with full details.

## `maxItems` (type: `integer`):

Maximum number of listings in the dataset after merging duplicates. You pay per listing. Each site returns up to about 800 (Zillow) or 10,000 (Redfin) results per search, so use filters for bigger areas.

## `sort` (type: `string`):

Order used on both sites. Newest gives the most overlap between Zillow and Redfin, so more merged listings.

## `soldWithinDays` (type: `string`):

For listing type 'sold': only homes sold in this period. A short period gives the most overlap between Zillow and Redfin (more merged listings). Ignored for sale and rent.

## `minPrice` (type: `integer`):

Lowest price, or monthly rent for rentals.

## `maxPrice` (type: `integer`):

Highest price, or monthly rent for rentals.

## `minBeds` (type: `integer`):

Fewest bedrooms.

## `minBaths` (type: `number`):

Fewest bathrooms (Redfin rounds down to a whole number).

## `propertyTypes` (type: `array`):

Only these home types. Empty means all types.

## `includeDetails` (type: `boolean`):

Load each home's page on each platform: full description, year built, HOA, agent and phone, price and tax history, schools, facts and the estimates. Charged as the 'detail' event per listing. Slower: add about 5 seconds per 10 listings.

## `includeEstimates` (type: `boolean`):

Without details, look up the Redfin Estimate for the first 50 listings found on Redfin (one small request each, no extra charge; Redfin does not show an estimate for every home). Zillow's Zestimate is included when Zillow's search card shows it. Turn on details for estimates on all listings.

## `proxyConfiguration` (type: `object`):

Zillow blocks datacenter IPs, so the default is Apify RESIDENTIAL (US). Redfin automatically uses the cheaper datacenter pool when you pick an Apify proxy.

## Actor input object example

```json
{
  "location": "Austin, TX",
  "listingType": "for_sale",
  "platforms": [
    "zillow",
    "redfin"
  ],
  "startUrls": [],
  "maxItems": 20,
  "sort": "newest",
  "soldWithinDays": "7",
  "includeDetails": false,
  "includeEstimates": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

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

No description

# 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 = {
    "location": "Austin, TX",
    "startUrls": [],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tortuga/us-real-estate-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 = {
    "location": "Austin, TX",
    "startUrls": [],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("tortuga/us-real-estate-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 '{
  "location": "Austin, TX",
  "startUrls": [],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call tortuga/us-real-estate-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tortuga/us-real-estate-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/gFpvi8YyhtGRgWFcK/builds/Xmu0C9xnl5TprBf2B/openapi.json
