# Real Estate Aggregator - Multi-Platform (`alizarin_refrigerator-owner/real-estate-aggregator`) Actor

Search Zillow, Redfin and Realtor.com in one run and get one deduplicated list: each home's price on every site, Zestimate, Realtor.com estimates, price and tax history, MLS number and listing agent.

- **URL**: https://apify.com/alizarin_refrigerator-owner/real-estate-aggregator.md
- **Developed by:** [The Howlers](https://apify.com/alizarin_refrigerator-owner) (community)
- **Categories:** Real estate, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 21 total users, 0 monthly users, 100.0% runs succeeded, 4 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Real Estate Aggregator - Zillow + Redfin + Realtor

Search Zillow, Redfin and Realtor.com in one run and get one deduplicated list. A home listed on more than one site becomes one row with the price on each platform, the price spread, every source URL, the best photos, and the data only one site has: Zillow's **Zestimate**, **Rent Zestimate** and Zestimate history, Realtor.com's **home value estimates**, neighborhoods, schools and flood score, Redfin's MLS number, days on market and HOA fee, the fullest **price history** and **tax history**, and the listing agent with a phone or email when any site has one.

***

### Quick Start

```json
{
  "zipCode": "78704",
  "maxResultsPerPlatform": 50
}
```

```json
{
  "city": "Austin, TX",
  "priceMin": 400000,
  "priceMax": 900000,
  "bedsMin": 3,
  "propertyTypes": ["house"],
  "listingStatus": "for_sale"
}
```

```json
{
  "address": "606 Josephine St, Austin, TX 78704",
  "searchRadius": 1,
  "listingStatus": "recently_sold"
}
```

***

### How it works

The aggregator runs our scraper for each platform on your Apify account (Zillow Scraper, Redfin Scraper, Realtor.com Scraper), all three by default and all at the same time, then merges the listings.

- **Matching**: each listing gets one address key built the same way for every site (house number and street with standard USPS suffixes and directions, the unit, and the 5-digit ZIP code), so "2404 Euclid Ave Unit 1" on Zillow and "2404 Euclid Avenue #1" on Realtor.com are the same home. The key is on each row as `matchKey`.
- **Merging**: `price` follows `deduplicationStrategy` (by default Zillow's, then Redfin's). Beds, baths, square feet, year built and description come from the first site that has them; a value no site gave stays null, never 0. `pricesByPlatform`, `priceVariance`, `allUrls`, `sources` and `sourceListings` (each site's own short row) show where everything came from.
- **One platform's trouble never hides the others**: if a site is slow, fails or blocks, the listings from the other sites are still merged and returned, and that site gets one row with `resultType: "status"`, its `fetchStatus` and a plain message. `platformStatus` in the `OUTPUT` record has every platform's outcome. A source run that is still going when the wait runs out (3 minutes, plus about 2.5 seconds per requested listing, up to 15 minutes) is stopped and the listings it already found are kept.

Each source scraper reads public listing data the way that site's own web pages do, through Apify residential proxies with a real browser fingerprint (and a Camoufox stealth browser fallback for Zillow and Realtor.com). Nothing logs in.

**Statuses**: for_sale and pending run on all three sites. recently_sold runs on all three (Redfin's sold search). for_rent runs on all three (Redfin's own rental search).

**Address searches**: each platform places the address on the map and returns only homes within `searchRadius` miles of it, with `distanceMiles` on each row (Redfin searches the ZIP code that contains the address). A platform that cannot place the address returns a status row instead of searching somewhere else.

***

### Input Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `platforms` | array | `["zillow","redfin","realtor"]` | Which platforms to search. Empty means all three |
| `city` | string | - | City and state, for example 'Austin, TX' |
| `zipCode` | string | - | 5-digit ZIP code |
| `address` | string | - | Street address to search around |
| `searchRadius` | integer | `5` | Miles around the address |
| `priceMin` / `priceMax` | integer | - | Price range |
| `bedsMin` / `bathsMin` | integer | - | Minimum bedrooms and bathrooms |
| `propertyTypes` | array | `[]` | house, condo, townhouse, multi_family, land |
| `listingStatus` | string | `"for_sale"` | for_sale, pending, recently_sold or for_rent |
| `maxResultsPerPlatform` | integer | `50` | Maximum listings from each platform before merging |
| `deduplicationStrategy` | string | `"keep_all_merged"` | Which platform's price leads a merged row: keep_all_merged (Zillow, then Redfin), keep_zillow, keep_lowest_price or keep_highest_price |
| `webhookUrl` | string | - | URL to POST results to when the run finishes |

***

### Pricing

This actor uses **pay-per-event** billing. Each event is charged after the row is saved to the dataset:

| Event | When it is charged | Price |
|-------|--------------------|-------|
| Actor start | Once when the run starts, one event per GB of memory (minimum one). At the default 1 GB of memory that is $0.10 per run | $0.10 per GB |
| Listing Aggregated | Once per unique property returned (one row per home after merging) | $0.04 |
| Property Enriched | Once per row merged from two or more platforms (`sources` lists them; the row combines each site's price, links, photos and extras such as the Zestimate, Realtor.com estimates, MLS number and HOA fee). A row found on one platform only is not charged | $0.02 |
| Duplicate Detected | Once per extra source listing merged into a row: a home found on 3 sites counts 2. The OUTPUT record's `duplicatesFound` counts every merge; the number actually charged is `eventsCharged.duplicate_detected`, which is lower when a run stops at your maximum charge | $0.001 |
| Result | Each item written to the default dataset | $0.00001 |

The source scraper runs are separate runs on your account and are billed by those actors: their run start, their per-listing event, and their own detail events (Zillow Zestimate and price history, Realtor.com agent and neighborhoods, Redfin market trends) when those rows carry that data. Status rows are never charged. When you set a maximum cost per run, the run stops before any property whose full cost (its events plus the per-item dataset fee) would go over it.

***

### Troubleshooting

#### Only status rows came back

Every selected platform returned no listings. Read each status row's message: a city without its state, filters that exclude every home, or a site that blocked every attempt. Nothing was charged as a listing.

#### A home shows up twice

Two sites gave different street numbers or ZIP codes for it, so the address keys differ. Compare the two rows' `matchKey`.

#### How do I test for free?

Run the actor with the default input (no location) or set demoMode to true. It returns labeled sample aggregated listings in the live output format. Every sample item carries demo: true and a \_notice field, and sample runs charge no task events.

***

**Built by John Rippy | [Actor Arsenal](https://actorarsenal.com)**

# Actor input Schema

## `demoMode` (type: `boolean`):

Return labeled sample rows instead of live data (free, for testing the output format). Leave off for real listings.

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

Which platforms to search. All three by default: each one runs our scraper for that site on your account, and the listings are merged into one row per property. If one platform has trouble, the others still come back and that platform gets a status row.

## `city` (type: `string`):

City and state to search, for example 'Austin, TX'.

## `zipCode` (type: `string`):

5-digit ZIP code to search, for example '78704'.

## `address` (type: `string`):

Street address to search around, for example "606 Josephine St, Austin, TX 78704". Each platform returns only homes within searchRadius of it, with distanceMiles on each row (Redfin searches the ZIP code that contains it).

## `searchRadius` (type: `integer`):

Radius in miles around the address, on every platform.

## `priceMin` (type: `integer`):

Minimum listing price (e.g., 500000)

## `priceMax` (type: `integer`):

Maximum listing price (e.g., 1500000)

## `bedsMin` (type: `integer`):

Minimum number of bedrooms

## `bathsMin` (type: `integer`):

Minimum number of bathrooms

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

Types of properties to include

## `listingStatus` (type: `string`):

Filter by listing status

## `maxResultsPerPlatform` (type: `integer`):

Maximum listings to fetch from each platform before merging.

## `deduplicationStrategy` (type: `string`):

How to handle duplicate listings across platforms

## `webhookUrl` (type: `string`):

URL to POST results when scraping completes (Zapier, Make, n8n, custom endpoint)

## Actor input object example

```json
{
  "demoMode": false,
  "platforms": [
    "zillow",
    "redfin",
    "realtor"
  ],
  "zipCode": "78704",
  "searchRadius": 5,
  "propertyTypes": [],
  "listingStatus": "for_sale",
  "maxResultsPerPlatform": 5,
  "deduplicationStrategy": "keep_all_merged"
}
```

# Actor output Schema

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

Aggregated property listings from multiple platforms (Zillow, Redfin, Realtor.com) with deduplication, price comparison, and cross-platform data merging

# 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 = {
    "demoMode": false,
    "platforms": [
        "zillow",
        "redfin",
        "realtor"
    ],
    "zipCode": "78704",
    "maxResultsPerPlatform": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("alizarin_refrigerator-owner/real-estate-aggregator").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 = {
    "demoMode": False,
    "platforms": [
        "zillow",
        "redfin",
        "realtor",
    ],
    "zipCode": "78704",
    "maxResultsPerPlatform": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("alizarin_refrigerator-owner/real-estate-aggregator").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 '{
  "demoMode": false,
  "platforms": [
    "zillow",
    "redfin",
    "realtor"
  ],
  "zipCode": "78704",
  "maxResultsPerPlatform": 5
}' |
apify call alizarin_refrigerator-owner/real-estate-aggregator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,alizarin_refrigerator-owner/real-estate-aggregator"
        }
    }
}
```

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/WK6cRFgdvcwlofnGp/builds/Onr9hQ4bv7d9FmBi0/openapi.json
