# Zillow Scraper (Sale, Rent, Sold, Zestimate, Price Changes) (`locaihost/zillow-scraper`) Actor

Zillow homes for sale, for rent and recently sold in one schema: price, Zestimate, rent Zestimate, beds, baths, area, price per sq ft, days on Zillow, brokerage and photos, plus each home's page on request. Tracks price changes between runs. No login.

- **URL**: https://apify.com/locaihost/zillow-scraper.md
- **Developed by:** [locaihost data](https://apify.com/locaihost) (community)
- **Categories:** Real estate, Lead generation, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.24 / 1,000 homes

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 Scraper (Sale, Rent, Sold, Zestimate, Price Changes)

Search Zillow like a home buyer and get one row per home: price, address, beds, baths, living and lot area, home type, price per square foot, Zestimate and rent Zestimate, how far the price sits above or below the Zestimate, days on Zillow, the listing brokerage and the main photo. Homes for sale, for rent and recently sold all come in the same shape, so several cities stack in one sheet. Turn on one switch to read each home's own page for year built, HOA fee, tax rate, last sale, views and saves, the MLS id and the listing contact. Every run remembers prices, so each row says what the home cost at your last run of the same search, and a switch returns only new homes and price changes. No login. The prefill (San Francisco, 40 homes for sale) finishes in well under a minute.

### How do I start?

Paste this into the input (JSON tab) and press Start:

```json
{
    "locations": ["San Francisco, CA"]
}
```

That reads the first 40 homes for sale in San Francisco in Zillow's own order. Want three-bedroom houses for rent in Austin under $3,500 a month, with each home's page read?

```json
{
    "locations": ["Austin, TX"],
    "status": "forRent",
    "priceMax": 3500,
    "bedsMin": 3,
    "homeType": "houses",
    "includeDetails": true,
    "maxHomes": 100
}
```

Locations can be cities, zip codes, counties or neighbourhoods, as you would type them on Zillow. A Zillow search link keeps its own filters and map area, and a property link returns that one home, read in full:

```json
{
    "locations": ["https://www.zillow.com/homedetails/15151265_zpid/"]
}
```

### What does each row contain?

One row per home, always the same shape. Fields marked (detail) are filled when the home's own page was read (`includeDetails`, a property link or a zpid) and are `null` otherwise.

| Field | What it holds |
|---|---|
| `type` | `home` for these rows, `summary` for the free rows |
| `zpid` | Zillow's property id. Put it under `zpids` to track the same home |
| `url` | The home's page on Zillow |
| `status` | `forSale`, `forRent` or `sold`: the listing type you searched |
| `homeStatus` | Zillow's own status: `FOR_SALE`, `FOR_RENT`, `RECENTLY_SOLD`, `PENDING`, `COMING_SOON`, ... |
| `statusText` | The status as Zillow words it, e.g. "House for sale" |
| `currency` | Always `USD` |
| `price` | Sale price, sold price, or monthly rent for rentals |
| `address` | Street address |
| `city` | City |
| `state` | State code |
| `zip` | Zip code |
| `lat` | Latitude |
| `lng` | Longitude |
| `beds` | Bedrooms |
| `baths` | Bathrooms |
| `livingArea` | Living area in square feet |
| `lotAreaSqft` | Lot area in square feet (acres are converted) |
| `homeType` | `SINGLE_FAMILY`, `CONDO`, `TOWNHOUSE`, `MULTI_FAMILY`, `LOT`, `MANUFACTURED`, `APARTMENT`, or `APARTMENT_BUILDING` for a rental building |
| `pricePerSqft` | Price per square foot (sale and sold) |
| `zestimate` | Zillow's estimated value |
| `rentZestimate` | Zillow's estimated monthly rent |
| `priceVsZestimate` | Asking price minus Zestimate for homes for sale: positive means listed above Zillow's estimate |
| `taxAssessedValue` | Tax-assessed value |
| `daysOnZillow` | Days on Zillow |
| `dateSold` | Sold date, for sold homes |
| `openHouse` | The next open house as Zillow shows it |
| `listingBrokerage` | The brokerage or property manager named on the listing |
| `forSaleByOwner` | Listed by the owner rather than an agent |
| `isBuilding` | A rental building with several units rather than one home |
| `buildingName` | The rental building's name |
| `units` | A rental building's unit types: beds, price from, room for rent |
| `photo` | Main photo |
| `detailed` | `true` when the home's own page was read |
| `yearBuilt` | Year built (detail) |
| `datePosted` | When the listing went up (detail) |
| `monthlyHoaFee` | Monthly HOA fee (detail) |
| `propertyTaxRate` | Property tax rate in percent (detail) |
| `lastSoldPrice` | Last sold price (detail) |
| `lastSoldDate` | Last sold date (detail) |
| `zillowPriceChange` | Zillow's latest price change on the listing, negative for a cut |
| `zillowPriceChangeDate` | When that price change happened (detail) |
| `parkingSpaces` | Parking spaces (detail) |
| `views` | Page views on Zillow (detail) |
| `saves` | Times saved on Zillow (detail) |
| `mlsId` | MLS listing id (detail) |
| `mlsName` | The MLS that supplied the listing (detail) |
| `brokeragePhone` | The brokerage's or property manager's published phone (detail) |
| `listingAgentName` | The listing agent of an agent-listed home for sale (detail) |
| `listingAgentPhone` | That agent's work phone as the listing publishes it (detail) |
| `description` | Listing description (detail) |
| `photos` | All listing photos (detail) |
| `isNew` | `true` the first time this saved search returns the home |
| `previousPrice` | Price at your last run of the same search |
| `priceChange` | Price minus `previousPrice` |
| `priceChangePct` | `priceChange` as a percent of `previousPrice` |
| `firstSeenAt` | When this search first returned the home |
| `lastSeenAt` | When this search last returned it before this run |
| `location` | The location or link the row came from |
| `rank` | Position in Zillow's results for that location |
| `scrapedAt` | When the row was read |
| `region` | Summary rows: what Zillow matched the location to |
| `totalOnZillow` | Summary rows: Zillow's own count of matching homes |
| `homes` | Summary rows: homes read for the location |
| `minPrice` | Summary rows: lowest price |
| `medianPrice` | Summary rows: median price |
| `maxPrice` | Summary rows: highest price |
| `medianPricePerSqft` | Summary rows: median price per square foot |
| `medianDaysOnZillow` | Summary rows: median days on Zillow |
| `error` | Summary rows: why the location returned nothing or stopped early |
| `message` | Summary rows: what happened, in one line |

Only listing data comes back. A listing agent's name and work phone appear only for agent-listed homes for sale, as the listing itself publishes them. Rentals show the property manager, never a person. Homes listed by their owners return no seller details at all, and nothing about owners, tenants or residents is ever returned.

### What do the free rows give me?

Every location adds one free row with `type` `summary`: the `region` Zillow matched it to, `totalOnZillow` (how many homes Zillow has for your search), how many were read, the lowest, median and highest price, the median price per square foot and median days on Zillow, plus a plain `message`. A location Zillow does not recognise, or a search with no homes, gets a free row saying so, never a failed run.

### What makes it different?

- **Price change since your last run.** The Actor remembers each search's prices between runs, so every row carries `previousPrice`, `priceChange`, `priceChangePct`, `firstSeenAt` and `isNew`. A daily schedule turns any search into a price tracker with no spreadsheet.
- **Only new homes and price changes.** Turn `onlyPriceChanges` on and each scheduled run returns just the homes that are new or whose price moved. Everything else is skipped and not charged.
- **Price against the Zestimate on every row.** `priceVsZestimate` shows at a glance which homes are listed above or below Zillow's own estimate.
- **A typo never sells you the wrong city.** When Zillow does not recognise a place it quietly shows homes near the visitor instead. The Actor checks the region Zillow matched against what you typed and returns a clear message instead of somebody else's town.
- **Free market snapshot per location.** Zillow's total count plus the lowest, median and highest price and median price per square foot, free, every run.
- **Each home once per run.** Overlapping locations (a city and its zip codes) never return or charge a home twice.
- **Sale, rent and sold in one shape.** Rental buildings come as one row with their unit types and lowest rent.

### How much does it cost?

You pay per home row, at two prices:

- **$2.25 per 1,000 homes** from search results, on Free and Starter plans. Scale plans pay $1.69 and Business plans $1.24.
- **$3.50 per 1,000 homes** when the home's own page was read (`includeDetails`, property links and zpids). Scale plans pay $2.63 and Business plans $1.93.

Each home is returned and charged once per run, even when several of your locations list it. Summary rows are never charged, and a location that is unknown, empty or could not be read costs nothing. Homes skipped by `onlyNew` or `onlyPriceChanges` cost nothing.

The default input (40 homes) costs about $0.09.

**Free Apify plan:** up to 100 homes per run. Any paid Apify plan removes the limit.

### Which inputs can I use?

| Input | What it does |
|---|---|
| `locations` | Cities, zip codes, counties or neighbourhoods. Zillow search links and property links work here too. Up to 100 per run. |
| `status` | `forSale` (default), `forRent` or `sold`. A pasted search link keeps its own type. |
| `maxHomes` | Homes per location, 1 to 820 (default 40). Zillow shows at most 820 homes for one search, so split a big city into zip codes for more. |
| `includeDetails` | Read each home's own page for the (detail) fields. Slower, and charged at the detailed price. |
| `priceMin`, `priceMax` | Price range in USD; monthly rent for rentals. |
| `bedsMin` | At least this many bedrooms. |
| `homeType` | `houses`, `condos`, `townhouses`, `apartments`, `multi-family`, `lots-land` or `manufactured`. |
| `listedWithinDays` | Only homes listed within 1, 7, 14, 30 or 90 days, or 6, 12, 24 or 36 months (365 days = 12 months). For sold homes, sold within that window. |
| `sort` | `relevance` (Zillow's own order, default), `newest`, `priceHigh`, `priceLow`, `beds` or `size`. It decides which homes fill `maxHomes`. |
| `startUrls` | Zillow search or property links. |
| `zpids` | Zillow property ids, each returned as one home read in full. |
| `onlyPriceChanges` | Return only homes that are new or whose price changed since the last run of the same search. |
| `onlyNew` | Return only homes the same search has never returned. |

Filters apply to typed locations. A pasted search link is read exactly as it is. Home type, sort and the listed-within window cost one extra Zillow request per location, which you do not pay for.

Coming from another Zillow tool? These input names are read as ours:

| Their name | Ours |
|---|---|
| `searchUrls`, `urls`, `location`, `search`, `searchTerms` | `locations` |
| `maxItems` | `maxHomes` |
| `listingType`, `operation` (`buy`, `rent`, `sold`) | `status` |

### How do I track prices over time?

1. Save your input as a task.
2. Add a daily or weekly schedule to the task.
3. Each run compares against the last run of the same task: `previousPrice` and `priceChange` do the tracking, and with `onlyPriceChanges` on you pay only for homes that are new or moved.

### What happens when something goes wrong?

- Bad input (nothing to search, a minimum price above the maximum) ends the run with a message and charges nothing.
- A location Zillow does not recognise gets a free summary row saying so; the other locations carry on.
- A property link that no longer exists is reported the same way.
- If Zillow stops answering, the run keeps what it read, says so in the status message and charges only for the homes returned.
- Near the run's time limit or your maximum charge, it stops early, saves everything and says which locations were not finished.

### Can I call it from an agent or my own code?

Yes. It works through the Apify API, the Apify MCP server and the Apify client libraries, with the same input as above. The prefill returns in well under a minute.

### Is it legal to collect Zillow data?

The Actor reads listing pages anyone can see on Zillow without signing in, and only listing data. It never returns owner names, tenant or resident names, or anything that ties a private person to a home. You are responsible for how you use the data, including Zillow's terms and the laws that apply to you.

### Questions or problems?

Open an issue on the Issues tab and we will answer within a day. If the Actor helped, a rating on the Store helps other people find it.

locaihost data

# Changelog

This Actor's version history is a separate document: https://apify.com/locaihost/zillow-scraper/changelog.md

# Actor input Schema

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

Cities, zip codes, counties or neighbourhoods as you would type them on Zillow, e.g. "Austin, TX", "90210" or "Brooklyn, NY". Add the state when a name is common. Zillow search links and property links work here too.

## `status` (type: `string`):

For sale, for rent (price is the monthly rent) or recently sold (price is the sold price). A pasted search link keeps its own type.

## `maxHomes` (type: `integer`):

Homes returned per location, 1 to 820. Zillow shows at most 820 homes (20 pages) for one search, so split a big city into zip codes or neighbourhoods to get more.

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

Adds year built, HOA fee, property tax rate, last sold price and date, Zillow's own price cut, days listed, views and saves, MLS id, listing brokerage phone, listing agent, description and all photos. One extra request per home, so slower and priced higher per row (see Pricing).

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

Lowest price, or lowest monthly rent for rentals. Applies to typed locations, not to pasted links.

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

Highest price, or highest monthly rent for rentals. Applies to typed locations, not to pasted links.

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

Only homes with at least this many bedrooms. Applies to typed locations.

## `homeType` (type: `string`):

Only one kind of home. Applies to typed locations; costs one extra Zillow request per location.

## `listedWithinDays` (type: `string`):

Only homes listed on Zillow within this window (for sold homes: sold within it). Applies to typed locations.

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

The order Zillow lists the homes in, which decides which homes fill maxHomes. Applies to typed locations.

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

Zillow search links (their filters and map area are kept) or property links (www.zillow.com/homedetails/...\_zpid/). A property link returns that one home, read in full.

## `zpids` (type: `array`):

The number before \_zpid in a property link, e.g. 15151265. Each returns that one home, read in full.

## `onlyPriceChanges` (type: `boolean`):

For scheduled runs: return a home only when it is new to this search or its price moved since the last run. Everything else is skipped and not charged. The first run returns everything as the baseline.

## `onlyNew` (type: `boolean`):

For scheduled runs: return only homes this search has never returned before. The first run returns everything as the baseline.

## Actor input object example

```json
{
  "locations": [
    "San Francisco, CA"
  ],
  "status": "forSale",
  "maxHomes": 40,
  "includeDetails": false,
  "homeType": "any",
  "listedWithinDays": "any",
  "sort": "relevance",
  "onlyPriceChanges": false,
  "onlyNew": false
}
```

# Actor output Schema

## `homes` (type: `string`):

One row per home: price, address, beds, baths, area, home type, price per sq ft, Zestimate, days on Zillow, brokerage, photo.

## `prices` (type: `string`):

The same rows with the price memory in front: previous price, change, first and last seen, and Zillow's own price cut.

## `summaries` (type: `string`):

One free row per location: what Zillow matched it to, its count of matching homes, and the lowest, median and highest price.

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

Locations read, homes returned, homes skipped as unchanged, Zillow requests and cost.

# 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 = {
    "locations": [
        "San Francisco, CA"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("locaihost/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 = { "locations": ["San Francisco, CA"] }

# Run the Actor and wait for it to finish
run = client.actor("locaihost/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 '{
  "locations": [
    "San Francisco, CA"
  ]
}' |
apify call locaihost/zillow-scraper --silent --output-dataset

```

## MCP server setup

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