# Zillow Property Scraper — Agent Emails Phones & Zestimate (`intelscrape/real-estate-listing-scraper`) Actor

Scrape Zillow listings with agent contacts, price history, Zestimate, and 70+ fields. Lead-ready agent phones/emails.

- **URL**: https://apify.com/intelscrape/real-estate-listing-scraper.md
- **Developed by:** [IntelScrape](https://apify.com/intelscrape) (community)
- **Categories:** Real estate, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 dataset items

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## Zillow Property Scraper — Agent Emails Phones & Zestimate

![real-estate-listing-scraper banner](https://api.apify.com/v2/key-value-stores/PyvJzfQg02FD3RYhd/records/real-estate-listing-scraper-banner.png)

Scrape **Zillow** listings with **lead-ready agent contacts** (name, email, phone when published), **Zestimate**, **price history**, status filters, and bulk ZIP/URL input. Optional investor **ROI** metrics stay additive.

Built for lead gen against Store rivals such as agent-contact scrapers — query-first title + fields buyers search: agent emails, phones, Zestimate.

### Features

- **Agent email / phone / name** when present on search or detail pages
- **Zestimate** + rent Zestimate
- **Price history** (from detail enrichment)
- **Status filters**: for sale, for rent, recently sold
- **Bulk ZIP codes** and **Zillow URLs**
- Optional **ROI** (cap rate, gross yield, price-to-rent) — additive
- `demoMode` for a fictional format preview

### Input

| Field | Description |
|-------|-------------|
| `demoMode` | Fictional samples with agent contacts (no live crawl) |
| `location` | City/area or ZIP, e.g. `Austin, TX` / `90210` |
| `zipCodes` | Bulk ZIP list |
| `startUrls` / `searchUrl` | Zillow search or listing URLs |
| `listingType` | `for_sale` / `for_rent` / `recently_sold` |
| `enrichAgentContacts` | Visit detail pages for agent + history (default on) |
| `maxDetailEnrich` | Cap detail enrichments (default 10) |
| `calculateROI` | Add ROI object (default true) |
| `maxResults` | Cap listings pushed |
| `includeListingsAnalytics` | Free batch-summary analytics row (default ON; no extra PPE) |

### Output

Each dataset item includes address, price, beds/baths/sqft, **agentName / agentEmail / agentPhone**, broker fields, Zestimate, optional `priceHistory`, optional `roi`, and listing URL.

### Pricing (pay-per-event)

- `apify-actor-start` — run start
- `apify-default-dataset-item` — each dataset row
- `agent-contact` — when a row includes agent **email or phone** (queued Store notice when newly priced)

Use `demoMode` to preview output shape.

### Requirements

- Apify proxy with **RESIDENTIAL** group for live Zillow pages (datacenter IPs often get HTTP 403).
- Public pages only — no account login bypass.

### Disclaimer

Respect Zillow Terms of Use and applicable law. Agent emails/phones appear only when Zillow publishes them on public HTML. Results depend on page availability.

# Actor input Schema

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

Push fictional sample listings with agent email/phone (format preview). No live Zillow crawl.

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

City/area or ZIP for Zillow search, e.g. Austin, TX or 90210

## `locations` (type: `array`):

Optional list; only the first location is used when zipCodes/startUrls are empty.

## `zipCodes` (type: `array`):

Optional US ZIP list — each ZIP searched separately (capped). Overrides location when set.

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

Optional Zillow search or listing URLs.

## `searchUrl` (type: `string`):

Full https://www.zillow.com/... search URL.

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

For sale, for rent, or recently sold.

## `minPrice` (type: `number`):

Optional minimum list price

## `maxPrice` (type: `number`):

Optional maximum list price

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

Min beds

## `enrichAgentContacts` (type: `boolean`):

Visit listing detail pages to pull agentName/agentEmail/agentPhone and price history when present.

## `maxDetailEnrich` (type: `integer`):

Cap on detail-page enrichments per run (PPE + proxy cost control).

## `calculateROI` (type: `boolean`):

Adds gross yield, cap rate, price-to-rent, investment grade (uses rentZestimate when present).

## `maxResults` (type: `integer`):

Maximum listings to push (PPE billed per dataset item).

## `includeListingsAnalytics` (type: `boolean`):

When true (default ON), push one free real-estate-listing-batch-summary row with city/agent/price-band breakdowns and SoftCTA. No extra PPE charge.

## Actor input object example

```json
{
  "demoMode": false,
  "location": "Austin, TX",
  "zipCodes": [],
  "listingType": "for_sale",
  "enrichAgentContacts": true,
  "maxDetailEnrich": 10,
  "calculateROI": true,
  "maxResults": 25,
  "includeListingsAnalytics": true
}
```

# Actor output Schema

## `listings` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("intelscrape/real-estate-listing-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("intelscrape/real-estate-listing-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 '{}' |
apify call intelscrape/real-estate-listing-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,intelscrape/real-estate-listing-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/0QnxJBH0ghPYMiDCc/builds/3G4hWKSG3RW0N7qjb/openapi.json
