# Zillow Scraper (`husseinelabeedy/zillow-scraper`) Actor

Scrape Zillow homes for sale and rentals across the US. Extract listing prices, addresses, bedrooms, bathrooms, square footage, property types, listing URLs, images, and agent details. Export clean property listings to Apify Dataset.

- **URL**: https://apify.com/husseinelabeedy/zillow-scraper.md
- **Developed by:** [AL-Hussein EL-Abeedy](https://apify.com/husseinelabeedy) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 properties

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

## Zillow Search Scraper – 3,000 Free Listings

### 🏡 What is Zillow Search Scraper?

This Zillow Search Scraper lets you extract property listings from Zillow.com. Search for homes in any location, apply your preferred filters directly on Zillow, and collect structured listing data using the complete search URL.

**Rapid scraper 820 listings (20 pages) full dataset for a link within 26 seconds**

Get up to **3,000 results free** when your available Apify monthly usage credits cover the run. Then continue collecting property data with affordable usage-based pricing configured in the Apify Store.

### 🚪 What can this Zillow Scraper do?

Use the Actor to:

- 📈 Extract Zillow real-estate search results for market research and property analysis.
- 🏡 Collect listing information for homes for sale, sold properties, and rentals when included in your Zillow search.
- 📍 Search by city, ZIP code, neighborhood, map area, and Zillow filters already applied to your search URL.
- 🔎 Run multiple Zillow search URLs in a single Actor run.
- 🎛️ Choose between pagination and map-marker extraction.
- 📦 Set a result limit for each search URL and control the maximum number of pages.
- ⬇️ Export collected property data in Excel, CSV, JSON, HTML, XML, and other formats supported by Apify.
- 🔗 Automate runs through the Apify API, schedules, webhooks, and supported integrations.

### 🌳 What Zillow data can I extract?

The Actor collects fields available in Zillow's search-result response, such as:

| Property information | Available output |
|---|---|
| 🏠 Address | Full address, city, state, ZIP code |
| 💰 Price | Listing price and currency |
| 🛏️ Property size | Bedrooms, bathrooms, living area |
| 🏷️ Listing details | Listing status and property type |
| 🏢 Broker | Broker or listing attribution, when supplied |
| 🆔 Zillow ID | ZPID |
| 📷 Property image | Main listing image URL |
| 🔗 Listing URL | Direct property page URL |
| 📍 Search context | Original search URL, searched location, page number |

The exact fields depend on the information Zillow returns for each listing. This Actor extracts search-result data; it does not currently claim to retrieve every detail from individual property pages, such as agent emails, full descriptions, tax history, or complete photo galleries.

### 📚 How do I scrape Zillow?

1. Create or sign in to your Apify account.
2. Open Zillow and search for the location you want.
3. Apply your filters, such as sale or rent, price, bedrooms, property type, and map area.
4. Copy the complete Zillow search URL. It must contain `searchQueryState`.
5. Paste one or more URLs into the Actor's **Zillow Search URLs** input.
6. Select the extraction method and configure your result/page limits.
7. Click **Start** and wait for the run to finish.
8. Open the **Storage → Dataset** tab and download your data in the format you need.

**Important:** Short Zillow links that do not contain `searchQueryState` are not sufficient. Open the search map, apply your filters, and copy the complete URL from the address bar.

### ⬇️ Input

The Actor accepts one or more Zillow search URLs. Each URL should contain the encoded `searchQueryState` parameter, which preserves Zillow's location, map bounds, filters, and sorting configuration.

#### Extraction methods

- **PAGINATION** — collects listings from Zillow's paginated search results.
- **MAP_MARKERS** — collects listings returned in the map-results response.
- **PAGINATION_WITH_ZOOM_IN** — currently uses the pagination request path. Automatic map subdivision and zoom-in are not implemented yet.

#### Other input options

| Input | Description |
|---|---|
| Results limit | Maximum properties to collect per search URL; leave empty for no separate result cap |
| Maximum pages | Maximum pagination pages to request per URL |
| Page delay | Delay between page batches |
| Retries | Number of attempts for a failed page request |
| Timeout | Request timeout in seconds |

### ⬆️ Output

The scraped properties are saved to the Apify dataset. You can preview the results in the Output and Storage tabs, then export them as JSON, CSV, Excel, HTML, or XML.

Each property is saved as a structured item with fields such as `zpid`, `address`, `city`, `state`, `zipcode`, `price`, `currency`, `beds`, `baths`, `area`, `status`, `broker`, `propertyType`, `listingUrl`, `imageUrl`, `locationSearched`, `page`, `source`, `searchUrl`, and `extractionMethod`.

### 💸 Free usage

You can collect up to **3,000 property results free** when your available Apify monthly usage credits are sufficient. Apify Free-plan credits are shared across your Apify usage and are not a separate, guaranteed 3,000-result allowance reserved only for this Actor. Your actual free result count depends on the Actor's configured event price and any other usage charged to your account.

Check the live Apify Store pricing before running large jobs.

### 🔗 Automation and integrations

Run the Actor manually, call it through the Apify API, schedule recurring runs, or connect it to supported automation and data tools. Results are available through the Apify dataset API after the run completes.

### ❓ Frequently asked questions

#### Does the Actor need an API key from Zillow?

No Zillow API key is entered in the Actor input. It uses the Zillow search URL you provide. Zillow may change its internal endpoints or response format.

#### Why must my URL contain searchQueryState?

The parameter contains the actual search configuration, including the selected area and filters. A short URL without it may not provide enough information to reproduce your search.

#### Does it extract every property detail?

It extracts information available in Zillow's search-result response. Full property-page details such as agent email addresses, complete descriptions, or tax history are outside the current search-results extraction.

#### Can I run it automatically?

Yes. You can use Apify schedules, API calls, webhooks, and supported integrations to automate your workflow.

### ⚠️ Important notes

- Zillow may change its internal endpoints and response structure without notice.
- An HTTP 200 response does not guarantee that Zillow returned listing records.
- The Actor stops on access-denied, challenge, or rate-limit responses; it does not attempt to bypass access controls.
- Use collected data in accordance with Zillow's terms and applicable laws.

# Actor input Schema

## `searchUrls` (type: `array`):

Paste one or more complete Zillow search URLs. Example URL is prefilled below; replace it with your own search. Each URL must contain ?searchQueryState=... .

## `extractionMethod` (type: `string`):

Choose how to collect listings from the supplied Zillow search state.

## `resultsLimit` (type: `integer`):

Maximum number of properties to return per search URL. Leave empty to return all available results.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.zillow.com/homes/for_sale/?category=RECENT_SEARCH&searchQueryState=%7B%22isMapVisible%22%3Atrue%2C%22mapBounds%22%3A%7B%22west%22%3A-98.30229801953125%2C%22east%22%3A-97.33000798046875%2C%22south%22%3A29.961361521797556%2C%22north%22%3A30.625388406220885%7D%2C%22filterState%22%3A%7B%22sort%22%3A%7B%22value%22%3A%22globalrelevanceex%22%7D%7D%2C%22isListVisible%22%3Atrue%7D"
  ],
  "extractionMethod": "PAGINATION_WITH_ZOOM_IN"
}
```

# Actor output Schema

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

Dataset of extracted properties including address, price, beds, baths, area, property type, broker, image and listing URL.

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

Processed search URL count, extraction method, pages with results, and unique listings.

# 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 = {
    "searchUrls": [
        "https://www.zillow.com/homes/for_sale/?category=RECENT_SEARCH&searchQueryState=%7B%22isMapVisible%22%3Atrue%2C%22mapBounds%22%3A%7B%22west%22%3A-98.30229801953125%2C%22east%22%3A-97.33000798046875%2C%22south%22%3A29.961361521797556%2C%22north%22%3A30.625388406220885%7D%2C%22filterState%22%3A%7B%22sort%22%3A%7B%22value%22%3A%22globalrelevanceex%22%7D%7D%2C%22isListVisible%22%3Atrue%7D"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("husseinelabeedy/zillow-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 = { "searchUrls": ["https://www.zillow.com/homes/for_sale/?category=RECENT_SEARCH&searchQueryState=%7B%22isMapVisible%22%3Atrue%2C%22mapBounds%22%3A%7B%22west%22%3A-98.30229801953125%2C%22east%22%3A-97.33000798046875%2C%22south%22%3A29.961361521797556%2C%22north%22%3A30.625388406220885%7D%2C%22filterState%22%3A%7B%22sort%22%3A%7B%22value%22%3A%22globalrelevanceex%22%7D%7D%2C%22isListVisible%22%3Atrue%7D"] }

# Run the Actor and wait for it to finish
run = client.actor("husseinelabeedy/zillow-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 '{
  "searchUrls": [
    "https://www.zillow.com/homes/for_sale/?category=RECENT_SEARCH&searchQueryState=%7B%22isMapVisible%22%3Atrue%2C%22mapBounds%22%3A%7B%22west%22%3A-98.30229801953125%2C%22east%22%3A-97.33000798046875%2C%22south%22%3A29.961361521797556%2C%22north%22%3A30.625388406220885%7D%2C%22filterState%22%3A%7B%22sort%22%3A%7B%22value%22%3A%22globalrelevanceex%22%7D%7D%2C%22isListVisible%22%3Atrue%7D"
  ]
}' |
apify call husseinelabeedy/zillow-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,husseinelabeedy/zillow-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/gd9R1wkz8o03hsy5e/builds/vkBejYsk4uU7Uiub7/openapi.json
