# Zillow Listings Scraper — Homes for Sale, Rent & Sold (`buff_pineapple/zillow-listings-scraper`) Actor

Scrape Zillow listings by location or search URL: price, beds, baths, sqft, lot size, home type, status, days on market, tax value, broker, coordinates and photos — with optional full details (year built, description, price/tax history, schools, Zestimate).

- **URL**: https://apify.com/buff\_pineapple/zillow-listings-scraper.md
- **Developed by:** [yossef Nagy](https://apify.com/buff_pineapple) (community)
- **Categories:** Real estate, Business, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Zillow Listings Scraper

Scrape **Zillow property listings** in bulk — for sale, for rent, or recently sold — by location or search URL. No login, no API key.

### What it does

Give it a Zillow search URL (or a location) and it paginates the whole search, returning structured data for every listing:

- **Price** (numeric + formatted), currency, listing **status** (for sale / for rent / sold)
- **Home type**, **beds**, **baths**, **living area (sqft)**, **lot size** + unit
- **Full address** — street, city, state, ZIP — plus **latitude / longitude**
- **Days on Zillow**, **tax-assessed value**, **broker name**
- **Photos** (full-resolution URLs), main image, 3D-model / video flags
- **Detail page URL** and **zpid**

With **Include full property details** enabled, it also opens each listing's detail page and adds: **year built**, full **description**, **price history**, **tax history**, **schools** (name, rating, level, distance), **Zestimate** & rent Zestimate, **monthly HOA fee**, **property tax rate**, **MLS ID**, **parcel ID** and **county**.

### How it works

Zillow is protected by PerimeterX bot defense, so the actor drives a real browser (Playwright) to pass the challenge, then reads Zillow's own server-rendered `__NEXT_DATA__` JSON — no fragile DOM scraping. Images, media, fonts and stylesheets are blocked so each page is lean and cheap. It uses a **residential proxy** (required — datacenter IPs are blocked) with a sticky session per search, and automatically rotates the session if a block is detected.

### Use cases

- **Market research** — pull every active listing in a city/ZIP to analyze price per sqft, inventory and trends.
- **Real-estate investing** — find properties by area, filter to recently sold for comps, pull tax-assessed value and price history.
- **Lead generation** — collect listing agent / broker names across a market.
- **Rental analysis** — scrape for-rent listings with rent Zestimates.
- **Proptech / data pipelines** — feed structured listing data (coordinates, facts, photos) into your own app or model.
- **Comps & valuation** — combine sold listings + tax history + Zestimate for valuation models.

### Input

| Field | Type | Description |
|---|---|---|
| `searchUrls` | array | Full Zillow search-results URLs (most reliable — pick your filters on Zillow, paste the URL). |
| `location` | string | Alternative: a city + state or ZIP (e.g. `Austin, TX`). Used only if no `searchUrls`. |
| `listingStatus` | string | `for_sale`, `for_rent` or `sold` — used with `location`. |
| `maxItems` | integer | Max listings across all searches. `0` = no limit (Zillow caps a search at ~800 results). |
| `includePropertyDetails` | boolean | Open each detail page for year built, description, price/tax history, schools, Zestimate. |
| `proxyConfiguration` | object | Proxy. Defaults to Apify **RESIDENTIAL** (required to pass PerimeterX). |
| `maxConcurrency` | integer | Search URLs processed in parallel. Default `1`. |

Filters (price, beds, baths, home type, sort, etc.) are taken straight from the Zillow search URL you provide, so results match exactly what you see on the site.

### Output

One dataset item per listing:

```json
{
  "_kind": "listing",
  "zpid": "145656008",
  "detail_url": "https://www.zillow.com/homedetails/4619-Inicio-Ln-Austin-TX-78725/145656008_zpid/",
  "status": "FOR_SALE",
  "status_text": "Active",
  "home_type": "SINGLE_FAMILY",
  "price": 250000,
  "price_formatted": "$250,000",
  "currency": "USD",
  "beds": 3,
  "baths": 3,
  "area_sqft": 1321,
  "lot_area_value": 6194.232,
  "lot_area_unit": "sqft",
  "address": "4619 Inicio Ln, Austin, TX 78725",
  "street": "4619 Inicio Ln",
  "city": "Austin",
  "state": "TX",
  "zipcode": "78725",
  "latitude": 30.239851,
  "longitude": -97.57366,
  "days_on_zillow": 14,
  "tax_assessed_value": 266535,
  "broker_name": "LPT Realty, LLC",
  "image_url": "https://photos.zillowstatic.com/fp/...-p_e.jpg",
  "photos": ["https://photos.zillowstatic.com/fp/...-p_e.jpg"],
  "year_built": 2015,
  "description": "Charming 3-Bedroom Home in East Austin...",
  "price_history": [{ "date": "...", "price": 250000, "event": "Listed for sale" }],
  "tax_history": [{ "year": 2024, "tax_paid": 5200, "assessed_value": 266535 }],
  "schools": [{ "name": "...", "rating": 7, "level": "Elementary", "distance": 0.4 }],
  "scrapedAt": "2026-05-14T22:00:00.000Z"
}
````

Detail-only fields (`year_built`, `description`, `price_history`, `tax_history`, `schools`, `zestimate`, `monthly_hoa_fee`, `mls_id`, `parcel_id`, `county`, `listing_agent`) are populated only when **Include full property details** is enabled; otherwise they are `null`.

### Pricing

Pay per result:

- **$0.005** per listing scraped
- **$0.006** per property when **Include full property details** is enabled (extra detail-page load)

You only pay for listings actually returned.

### Notes

- A **residential proxy is required** — Zillow's PerimeterX protection blocks datacenter IPs. It's the default; keep it on.
- Zillow limits any single search to ~800 results. To get more, split your area into smaller searches (by ZIP, neighborhood or price band) and pass multiple `searchUrls`.

# Actor input Schema

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

Full Zillow search-results URLs, e.g. "https://www.zillow.com/austin-tx/houses/". This is the most reliable input — set up your search (location, filters, price, beds, sort) on Zillow and paste the URL. Each URL is paginated automatically.

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

Alternative to search URLs — a city + state or ZIP code, e.g. "Austin, TX" or "90210". Combined with the Listing status below to build a search. Ignored if Zillow search URLs are provided.

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

Which listings to scrape when using the Location field.

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

Maximum number of listings to scrape across all searches. Set 0 for no limit (Zillow caps search results at ~800 per search).

## `includePropertyDetails` (type: `boolean`):

If enabled, the actor opens each listing's detail page to add year built, full description, price history, tax history, schools, Zestimate, HOA fee, MLS ID and parcel ID. Slower and charged separately.

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

Required. Zillow uses PerimeterX bot protection, so the actor defaults to RESIDENTIAL proxy — datacenter IPs are blocked. The actor also rotates the proxy session if a block is detected.

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

Number of search URLs processed in parallel. Each uses its own browser.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.zillow.com/austin-tx/houses/"
  ],
  "location": "",
  "listingStatus": "for_sale",
  "maxItems": 200,
  "includePropertyDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxConcurrency": 1
}
```

# 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/austin-tx/houses/"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("buff_pineapple/zillow-listings-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/austin-tx/houses/"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("buff_pineapple/zillow-listings-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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/austin-tx/houses/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call buff_pineapple/zillow-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=buff_pineapple/zillow-listings-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Zillow Listings Scraper — Homes for Sale, Rent & Sold",
        "description": "Scrape Zillow listings by location or search URL: price, beds, baths, sqft, lot size, home type, status, days on market, tax value, broker, coordinates and photos — with optional full details (year built, description, price/tax history, schools, Zestimate).",
        "version": "0.1",
        "x-build-id": "nVbqEcSGEQAGbSj9O"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/buff_pineapple~zillow-listings-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-buff_pineapple-zillow-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/buff_pineapple~zillow-listings-scraper/runs": {
            "post": {
                "operationId": "runs-sync-buff_pineapple-zillow-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/buff_pineapple~zillow-listings-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-buff_pineapple-zillow-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchUrls": {
                        "title": "Zillow search URLs",
                        "type": "array",
                        "description": "Full Zillow search-results URLs, e.g. \"https://www.zillow.com/austin-tx/houses/\". This is the most reliable input — set up your search (location, filters, price, beds, sort) on Zillow and paste the URL. Each URL is paginated automatically.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "Alternative to search URLs — a city + state or ZIP code, e.g. \"Austin, TX\" or \"90210\". Combined with the Listing status below to build a search. Ignored if Zillow search URLs are provided.",
                        "default": ""
                    },
                    "listingStatus": {
                        "title": "Listing status",
                        "enum": [
                            "for_sale",
                            "for_rent",
                            "sold"
                        ],
                        "type": "string",
                        "description": "Which listings to scrape when using the Location field.",
                        "default": "for_sale"
                    },
                    "maxItems": {
                        "title": "Max listings",
                        "minimum": 0,
                        "maximum": 100000,
                        "type": "integer",
                        "description": "Maximum number of listings to scrape across all searches. Set 0 for no limit (Zillow caps search results at ~800 per search).",
                        "default": 200
                    },
                    "includePropertyDetails": {
                        "title": "Include full property details",
                        "type": "boolean",
                        "description": "If enabled, the actor opens each listing's detail page to add year built, full description, price history, tax history, schools, Zestimate, HOA fee, MLS ID and parcel ID. Slower and charged separately.",
                        "default": false
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Required. Zillow uses PerimeterX bot protection, so the actor defaults to RESIDENTIAL proxy — datacenter IPs are blocked. The actor also rotates the proxy session if a block is detected."
                    },
                    "maxConcurrency": {
                        "title": "Max concurrency",
                        "minimum": 1,
                        "maximum": 5,
                        "type": "integer",
                        "description": "Number of search URLs processed in parallel. Each uses its own browser.",
                        "default": 1
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
