# Zillow Property Listings Scraper (`seemuapps/zillow-scraper`) Actor

Scrape for-sale, for-rent, recently sold, and foreclosure property listings from Zillow for any US city or zip code.

- **URL**: https://apify.com/seemuapps/zillow-scraper.md
- **Developed by:** [Andrew](https://apify.com/seemuapps) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$6.00 / 1,000 property listing results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 Property Listings Scraper

Extract for-sale, for-rent, recently sold, and foreclosure property listings from Zillow for any US city or zip code — no API key or login required.

### What you get

- Price, beds, baths, living area, home type, and days-on-market for every listing
- Address, latitude/longitude, listing photo, and the direct listing URL
- Four listing categories: active for-sale, for-rent, recently sold, and foreclosure/pre-foreclosure
- Automatic pagination — the actor pages through search results internally to fulfill your requested item count

### Use cases

- Real estate market research and comparable-sales analysis
- Investor lead generation — foreclosure and pre-foreclosure deal sourcing
- Rental market analysis — track asking rents across a metro or zip code
- Property listing aggregation for real estate portals and dashboards
- Tracking recently sold homes for appraisal and pricing research

### How to use

1. Enter a **Location** — a city and state (e.g. `Austin, TX`) or a 5-digit zip code
2. Choose a **Listing status**: For sale, For rent, Recently sold, or Foreclosure / pre-foreclosure
3. Set **Max items** (default 100; set 0 for unlimited — all available result pages for that location)
4. Run the actor — results appear in the **Dataset** tab

### Output format

Each dataset record:

```json
{
  "zpid": "29369311",
  "address": "6305 Leatherwood Cv, Austin, TX 78759",
  "price": 750000,
  "beds": 4,
  "baths": 3,
  "livingAreaSqft": 2164,
  "homeType": "SINGLE_FAMILY",
  "homeStatus": "FOR_SALE",
  "daysOnZillow": 4,
  "url": "https://www.zillow.com/homedetails/6305-Leatherwood-Cv-Austin-TX-78759/29369311_zpid/",
  "latitude": 30.422058,
  "longitude": -97.75903,
  "imgSrc": "https://photos.zillowstatic.com/fp/df9519af671f04d375949143abee6447-p_e.jpg"
}
```

**Field notes:**

- `price` for **Recently sold** listings falls back to the site's own price estimate when the actual closing price isn't publicly disclosed for that record.
- `zpid`, `beds`, `baths`, `livingAreaSqft`, `homeType`, and `daysOnZillow` can be `null` for **For rent** results that represent an apartment building with multiple unit types rather than a single unit — in that case `price` reflects the building's lowest listed rent.

### Known limitations

- The target site runs aggressive bot-detection (PerimeterX) that can block automated requests, including from datacenter IP ranges. This actor was built and verified against real, live responses from a residential development connection; requests made from Apify's shared datacenter IPs may be blocked more often. If you see runs failing with a generic "blocking automated requests" error, that's this protection at work — retrying, or running less frequently, is the best mitigation.
- Search results for a single location/status combination are capped by the site's own pagination limits (typically a few hundred listings). This is a source-side limit, not an actor bug.
- Location matching relies on the site's own city/zip resolution. Unusual or ambiguous city names may not resolve — a 5-digit zip code is the most reliable input.

# Actor input Schema

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

City and state (e.g. 'Austin, TX') or a 5-digit US zip code to search.

## `statusType` (type: `string`):

Which category of listings to scrape for the given location.

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

Maximum number of listings to return. The actor pages through search results internally to fulfill this. 0 = unlimited (all available result pages).

## Actor input object example

```json
{
  "location": "Austin, TX",
  "statusType": "forSale",
  "maxItems": 100
}
```

# Actor output Schema

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

One listing per record. Fields: zpid, address, price, beds, baths, livingAreaSqft, homeType, homeStatus, daysOnZillow, url, latitude, longitude, imgSrc.

# 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 = {
    "location": "Austin, TX"
};

// Run the Actor and wait for it to finish
const run = await client.actor("seemuapps/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 = { "location": "Austin, TX" }

# Run the Actor and wait for it to finish
run = client.actor("seemuapps/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 '{
  "location": "Austin, TX"
}' |
apify call seemuapps/zillow-scraper --silent --output-dataset

```

## MCP server setup

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