# Zillow Listings Scraper (`velvety_bedbug/zillow-listings-scraper`) Actor

- **URL**: https://apify.com/velvety\_bedbug/zillow-listings-scraper.md
- **Developed by:** [Peters Bugs](https://apify.com/velvety_bedbug) (community)
- **Categories:** Real estate, Business, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 listings

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 Scraper — For Sale, For Rent & Sold, with the full filter set

Scrape Zillow listings the way the site's own search works: pick a city, ZIP or neighborhood,
apply the filters you'd click in the app, and get clean structured records back. No cookies, no
login, no API key.

### What makes this one different

Most Zillow scrapers give you a location and a price range. This one exposes **the filters the
site actually has** — home type, sale status (FSBO, foreclosure, coming soon, pending, auction),
lot size, year built, HOA cap, days on Zillow, keyword search, and amenities like pool,
waterfront, garage, single-story or 3D tour. It also handles all three markets: **for sale, for
rent, and recently sold**.

### Input

| Field | Default | Notes |
|---|---|---|
| `searchQuery` | `Austin, TX` | City, ZIP, neighborhood or county |
| `listingType` | `forSale` | `forSale`, `forRent` or `sold` |
| `sortBy` | `days` | Days on Zillow, price up/down, newest, beds, baths, sqft, lot size, relevance |
| `maxItems` | `10` | Zillow caps any one search near 800 — narrow the filters to reach deeper inventory |
| `minPrice` / `maxPrice` | — | Monthly rent when `listingType` is `forRent` |
| `minBeds` / `maxBeds` | — | 0 includes studios |
| `minBaths` / `maxBaths` | — | Halves allowed (1.5) |
| `minSqft` / `maxSqft` | — | Living area |
| `minLotSize` / `maxLotSize` | — | Square feet (1 acre = 43,560) |
| `minYearBuilt` / `maxYearBuilt` | — | Year built range |
| `maxHoa` | — | Max monthly HOA dues |
| `homeTypes` | all | Houses, townhomes, condos, multi-family, apartments, lots/land, manufactured |
| `saleStatus` | Zillow default | By agent, FSBO, new construction, foreclosure, auction, coming soon, pending, accepting backup offers |
| `soldInLastDays` | any | 7 / 30 / 90 / 180 / 365 / 1095 — recently-sold searches |
| `daysOnZillow` | any | 1 day up to 36 months |
| `features` | — | Pool, A/C, waterfront, basement, garage, single story, city/water/park/mountain view, 3D tour, open house |
| `rentalFeatures` | — | Large dogs, small dogs, cats, in-unit laundry, on-site parking, accepts applications, income restricted, entire place, room for rent |
| `keywords` | — | Free text, e.g. `casita`, `no hoa`, `workshop` |

### Output

```json
{
  "zpid": "70335246",
  "statusType": "FOR_SALE",
  "statusText": "Active",
  "price": 325000,
  "priceText": "$325,000",
  "zestimate": 331700,
  "rentZestimate": 2350,
  "taxAssessedValue": 289000,
  "address": "7011 Thannas Way, Austin, TX 78744",
  "street": "7011 Thannas Way",
  "city": "Austin",
  "state": "TX",
  "zipcode": "78744",
  "latitude": 30.177847,
  "longitude": -97.756096,
  "beds": 4,
  "baths": 3,
  "livingAreaSqft": 1512,
  "lotAreaValue": 0.14,
  "lotAreaUnit": "acres",
  "homeType": "SINGLE_FAMILY",
  "daysOnZillow": 0,
  "timeOnZillowText": "1 hour ago",
  "dateSold": null,
  "imageUrl": "https://photos.zillowstatic.com/...",
  "detailUrl": "https://www.zillow.com/homedetails/..."
}
```

Rental listings also carry `priceIsFrom` (true when the price is a building's "from" rate rather
than one unit) and `unitCount`.

### Proxy

Zillow blocks datacenter IPs outright. **Residential proxy is required** and is the default — the
actor warms a browser-like session on a sticky exit and rotates to a new one if a request is
refused. You don't need to configure anything.

### Use cases

Comparative market analysis, rent and price benchmarking, investment screening, lead lists for
agents, tracking new inventory in a farm area, and feeding valuation models with sold comparables.

### Notes and limits

- Any single search tops out around 800 results (Zillow's own limit, 41 per page × 20 pages).
  Split by ZIP or price band to cover a large market completely.
- `daysOnZillow` resets when a listing is relisted, so treat very low values with care.
- Sold searches need `soldInLastDays` to be useful; without it Zillow returns a long tail.

# Actor input Schema

## `searchQuery` (type: `string`):

City, ZIP, neighborhood or county — e.g. 'Austin, TX', '78704', 'Brooklyn, NY'.

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

Which market to search.

## `sortBy` (type: `string`):

Result ordering.

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

Zillow caps a search at roughly 800 results; narrow the filters to reach deeper inventory.

## `minPrice` (type: `integer`):

Minimum price (monthly rent when listing type is For rent).

## `maxPrice` (type: `integer`):

Maximum price (monthly rent when listing type is For rent).

## `minBeds` (type: `integer`):

0 includes studios.

## `maxBeds` (type: `integer`):

Upper bound on bedrooms.

## `minBaths` (type: `number`):

Minimum bathrooms; halves allowed (1.5).

## `maxBaths` (type: `number`):

Maximum bathrooms.

## `minSqft` (type: `integer`):

Minimum living area in square feet.

## `maxSqft` (type: `integer`):

Maximum living area in square feet.

## `minLotSize` (type: `integer`):

Minimum lot size in square feet (1 acre = 43,560).

## `maxLotSize` (type: `integer`):

Maximum lot size in square feet.

## `minYearBuilt` (type: `integer`):

Earliest year built.

## `maxYearBuilt` (type: `integer`):

Latest year built.

## `maxHoa` (type: `integer`):

Maximum monthly HOA dues. Use 0 for 'no HOA only'.

## `homeTypes` (type: `array`):

Property types to include. Empty means all.

## `saleStatus` (type: `array`):

For-sale only. Empty means Zillow's default (agent + owner + new construction).

## `soldInLastDays` (type: `string`):

Recently-sold searches only.

## `daysOnZillow` (type: `string`):

How recently the listing appeared.

## `features` (type: `array`):

Amenity filters.

## `rentalFeatures` (type: `array`):

For-rent only.

## `keywords` (type: `string`):

Free-text keyword filter, e.g. 'casita', 'no hoa', 'workshop'.

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

Zillow blocks datacenter IPs. Residential proxy is required and is the default.

## Actor input object example

```json
{
  "searchQuery": "Austin, TX",
  "listingType": "forSale",
  "sortBy": "days",
  "maxItems": 10,
  "homeTypes": [],
  "saleStatus": [],
  "soldInLastDays": "",
  "daysOnZillow": "",
  "features": [],
  "rentalFeatures": [],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `records` (type: `string`):

Dataset of Zillow listings (JSON).

# 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 = {};

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

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

```

## MCP server setup

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