# Zillow Property Scraper — For Sale, Rent & Sold (`maged120/zillow-property-scraper`) Actor

Extract property listings from Zillow by search URL or location. Outputs price, beds, baths, area, lot size, Zestimate, days on market, broker, open house dates, and coordinates.

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

## Pricing

from $1.50 / 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.
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

### What does Zillow Property Scraper do?

**Extract property listings from [Zillow](https://www.zillow.com/) — for sale, for rent, or recently sold — with a single run.** Feed it a Zillow search URL or just a location name, and get a clean structured dataset covering price, beds, baths, square footage, lot size, Zestimate, days on market, broker, open house dates, and GPS coordinates.

Schedule it to run weekly to monitor a market, pipe results into a spreadsheet or CRM via Zapier or Make, or pull the data directly via Apify's API for integration into your own tools.

### Why use Zillow Property Scraper?

- **For investors.** Pull every listing in a target ZIP code or city, sort by days on market, and spot underpriced properties before they get offers.
- **For real estate agents.** Build automated comp reports without manual Zillow browsing. Schedule weekly runs for each farm area.
- **For PropTech teams.** Feed fresh listing data into your internal dashboards, valuation models, or lead scoring systems.
- **For market researchers.** Track price trends across neighborhoods over time — median price, inventory levels, days on market — with scheduled runs and CSV exports.
- **Three listing types in one actor.** For-sale, for-rent, and recently sold all use the same workflow.

### How to use Zillow Property Scraper

**Option A — Search URL (most flexible):**

1. Go to [zillow.com](https://www.zillow.com/) and run a search
2. Apply your filters (price range, beds, baths, home type, etc.)
3. Copy the URL from your browser's address bar
4. Paste it into **Zillow search URLs** in the Input tab
5. Set **Max listings** and click **Start**

**Option B — Location string (quickest):**

1. Open the **Input** tab
2. Type a location into **Location** (e.g. `Austin, TX` or `90210`)
3. Choose **Listing type** (For Sale, For Rent, or Recently Sold)
4. Set **Max listings** and click **Start**

Results appear in the **Output** tab as they're collected. Download as JSON, CSV, or Excel when the run finishes.

### Input

| Field | Type | Description | Default |
|---|---|---|---|
| `startUrls` | array | Zillow search page URLs — apply filters on Zillow, then paste the URL | — |
| `location` | string | City, ZIP code, or neighborhood (used when no URLs are provided) | — |
| `listingType` | string | `forSale`, `forRent`, or `sold` — used with the Location field | `forSale` |
| `maxListings` | integer | Max listings to collect per search (Zillow caps at 800 per area) | `200` |

**Example input — by location:**

```json
{
  "location": "Austin, TX",
  "listingType": "forSale",
  "maxListings": 200
}
```

**Example input — by URL:**

```json
{
  "startUrls": [
    { "url": "https://www.zillow.com/austin-tx/sold/?searchQueryState=..." }
  ],
  "maxListings": 500
}
```

### Output

Each listing is one row in the dataset.

```json
[
  {
    "zpid": "87684289",
    "url": "/homedetails/1234-Oak-St-Austin-TX-78701/87684289_zpid/",
    "address": "1234 Oak St, Austin, TX 78701",
    "addressCity": "Austin",
    "addressState": "TX",
    "addressZipcode": "78701",
    "latitude": 30.2672,
    "longitude": -97.7431,
    "price": 485000,
    "priceFormatted": "$485,000",
    "currency": "USD",
    "listingType": "FOR_SALE",
    "homeType": "SINGLE_FAMILY",
    "beds": 3,
    "baths": 2.0,
    "area": 1680,
    "lotAreaValue": 6534.0,
    "lotAreaUnit": "sqft",
    "zestimate": null,
    "rentZestimate": null,
    "taxAssessedValue": 412000,
    "daysOnZillow": 4,
    "brokerName": "Compass RE Texas, LLC",
    "hasOpenHouse": true,
    "openHouseStartDate": "2025-05-18T13:00:00",
    "openHouseEndDate": "2025-05-18T16:00:00",
    "imgSrc": "https://photos.zillowstatic.com/fp/abc123-p_e.jpg"
  }
]
```

You can download the dataset in JSON, HTML, CSV, or Excel from the Output tab or via the Apify API.

### Data fields

| Field | Description |
|---|---|
| `zpid` | Zillow's unique property ID |
| `url` | Zillow listing page path |
| `address` | Full formatted address |
| `addressCity / State / Zipcode` | Address components |
| `latitude / longitude` | GPS coordinates |
| `price` | Listing price in USD (numeric) |
| `priceFormatted` | Listing price as displayed on Zillow |
| `listingType` | `FOR_SALE`, `FOR_RENT`, or `RECENTLY_SOLD` |
| `homeType` | `SINGLE_FAMILY`, `CONDO`, `TOWNHOUSE`, `MULTI_FAMILY`, etc. |
| `beds / baths` | Bedroom and bathroom count |
| `area` | Interior square footage |
| `lotAreaValue / lotAreaUnit` | Lot size and unit (sqft or acres) |
| `zestimate` | Zillow's automated valuation (when available) |
| `rentZestimate` | Zillow's estimated monthly rent |
| `taxAssessedValue` | Most recent tax-assessed value |
| `daysOnZillow` | Days since the listing was posted |
| `brokerName` | Listing broker or agent company |
| `hasOpenHouse` | Whether an open house is scheduled |
| `openHouseStartDate / EndDate` | Open house date and time |
| `imgSrc` | URL of the main listing photo |

### Pricing

Runs are billed per result. Collecting 200 listings typically completes in under 60 seconds. Apify's free tier includes $5/month of usage.

### Tips for getting better results

- **Get the most from Zillow's filters before copying the URL.** Price range, home type, minimum beds/baths, and "new listings" filters all encode into the URL automatically.
- **Zillow caps search results at 800 per query.** For dense markets (Manhattan, San Francisco), split your search by ZIP code or price band and run multiple jobs.
- **Use scheduling for market monitoring.** A weekly run across a target ZIP code gives you a running inventory log — compare week-over-week to spot price drops and new listings.
- **Sold listings for comps.** Switch to `sold` listing type and set a short date range on Zillow before copying the URL to pull recent comparable sales for a specific area.
- **Combine with mapping tools.** The `latitude` and `longitude` fields let you drop results straight into Google Maps, Mapbox, or any GIS tool.

### FAQ

**Does this require a Zillow account?**
No. All data collected is from Zillow's public search results.

**Why does my search show fewer results than Zillow?**
Zillow limits search results to 800 per query regardless of how many listings exist in an area. Use more specific filters or split by ZIP code to get complete coverage.

**The data I need isn't in the output. Can you add it?**
Open an issue in the Issues tab with the specific field you need. For custom integrations or high-volume pipelines, reach out via Discord: `maged03211`.

**Is this legal?**
Collecting publicly visible real estate listing data is standard practice across the industry. Always ensure your downstream use complies with applicable data protection laws.

# Actor input Schema

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

Paste Zillow search result page URLs here. Apply your filters on Zillow first (price, beds, baths, home type), then copy the URL and paste it in. Works with for-sale, for-rent, and sold searches.

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

City, ZIP code, or neighborhood to search. Used when no search URLs are provided. Examples: "Austin, TX", "90210", "Brooklyn, NY".

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

Type of listings to collect when using the Location field. Ignored when search URLs are provided (the URL already encodes the listing type).

## `maxListings` (type: `integer`):

Maximum number of property listings to collect. Zillow returns up to 800 results per search area — use multiple searches or narrow your filters for denser markets.

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

The default uses residential proxies automatically, which Zillow needs.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.zillow.com/austin-tx/?searchQueryState=%7B%22pagination%22%3A%7B%22currentPage%22%3A1%7D%2C%22usersSearchTerm%22%3A%22Austin%2C%20TX%22%2C%22isMapVisible%22%3Atrue%2C%22filterState%22%3A%7B%22sort%22%3A%7B%22value%22%3A%22days%22%7D%7D%2C%22isListVisible%22%3Atrue%7D"
    }
  ],
  "listingType": "forSale",
  "maxListings": 200,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `dataset` (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 = {
    "startUrls": [
        {
            "url": "https://www.zillow.com/austin-tx/?searchQueryState=%7B%22pagination%22%3A%7B%22currentPage%22%3A1%7D%2C%22usersSearchTerm%22%3A%22Austin%2C%20TX%22%2C%22isMapVisible%22%3Atrue%2C%22filterState%22%3A%7B%22sort%22%3A%7B%22value%22%3A%22days%22%7D%7D%2C%22isListVisible%22%3Atrue%7D"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("maged120/zillow-property-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 = {
    "startUrls": [{ "url": "https://www.zillow.com/austin-tx/?searchQueryState=%7B%22pagination%22%3A%7B%22currentPage%22%3A1%7D%2C%22usersSearchTerm%22%3A%22Austin%2C%20TX%22%2C%22isMapVisible%22%3Atrue%2C%22filterState%22%3A%7B%22sort%22%3A%7B%22value%22%3A%22days%22%7D%7D%2C%22isListVisible%22%3Atrue%7D" }],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("maged120/zillow-property-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 '{
  "startUrls": [
    {
      "url": "https://www.zillow.com/austin-tx/?searchQueryState=%7B%22pagination%22%3A%7B%22currentPage%22%3A1%7D%2C%22usersSearchTerm%22%3A%22Austin%2C%20TX%22%2C%22isMapVisible%22%3Atrue%2C%22filterState%22%3A%7B%22sort%22%3A%7B%22value%22%3A%22days%22%7D%7D%2C%22isListVisible%22%3Atrue%7D"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call maged120/zillow-property-scraper --silent --output-dataset

```

## MCP server setup

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