# Zillow API Scraper (`rl1987/zillow-api-scraper`) Actor

Look up real-estate property details (address, price, beds/baths, sqft, lat/lng, status, agent info) from Zillow by ZPID. Impersonates the Zillow Android app's private mobile API at zm.zillow.com.

- **URL**: https://apify.com/rl1987/zillow-api-scraper.md
- **Developed by:** [R.L.](https://apify.com/rl1987) (community)
- **Categories:** Real estate
- **Stats:** 4 total users, 4 monthly users, 98.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 listing row — basic data

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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 🏠 — Scrape Zillow.com Listings, Prices, Zestimates & Agents

**Zillow Scraper** — Search Zillow real-estate listings by location and filters, or look up full property detail by ZPID, via Zillow's private mobile API. Returns the maximum field set: all photos (full-res), price, tax assessment, facts & features, agent contact, geo and IDs. It reads Zillow's own API directly, so it's **fast, reliable and complete** — no flaky HTML parsing, no headless browser. Export to **JSON, CSV, Excel, or an API**.

> Search any US city, ZIP, neighborhood or address — for-sale, for-rent and sold homes — or look up exact ZPIDs.

***

### ✨ Why use this Zillow Scraper?

- 🟢 **No code required** — set your input, click **Start**, download your data.
- ⚡ **Fast & accurate** — reads Zillow's own private API and returns structured JSON, not scraped HTML.
- 🧾 **Rich, structured data** — every field below, clean and ready to use.
- 🔁 **Full pagination** — collects results to your `maxItems` cap.
- 💸 **Transparent pay-per-result pricing** — pay only for the rows you get.
- 📤 **Export anywhere** — JSON, CSV, Excel, XML, or pull it live via the Apify API.

***

### 🎯 What can you do with Zillow data?

- **Market & competitor research** — analyse Zillow real-estate listings at scale.
- **Price & availability monitoring** — track changes over time.
- **Data science & trend analysis** — build clean datasets.
- **Lead generation & enrichment** — feed Zillow data into your own tools.

***

### 📥 What data does the Zillow Scraper extract?

Each row includes: `zpid`, `url`, `streetAddress`, `city`, `state`, `zipcode`, `price`, `currency`, `pricePerSquareFoot`, `bedrooms`, `bathrooms`, `livingArea`, `lotSize`, `lotSizeUnit` …and more. See the full **Data table** below.

***

### 🚀 How to scrape Zillow.com (3 steps)

1. **Set your input** — provide `q` or `zpids` (see the table below; defaults work out of the box).
2. **Pick options** — filters, a `proxyConfiguration`, and a `maxItems` cap.
3. **Run & export** — click **Start**, then download the dataset as JSON/CSV/Excel or fetch it via the API.

***

### ⚙️ Input

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `q` | string | `Austin, TX` | City, ZIP code, neighborhood, or street address to search — e.g. "Austin, TX", "90210", "Downtown, Austin, TX". This is the main search input; it is resolved to a map area automatically. |
| `zpids` | array of string | `[]` | Look up full detail for these Zillow property IDs. If set, the location/search inputs are ignored. |
| `north` | string | – | Advanced: raw bounding-box north latitude (e.g. 30.35). Optional power-user override — supply all four of north/south/east/west to search an exact map box instead of a Location. |
| `south` | string | – | Advanced: raw bounding-box south latitude (e.g. 30.20). Optional power-user override; used only when all four of north/south/east/west are given. |
| `east` | string | – | Advanced: raw bounding-box east longitude (e.g. -97.70). Optional power-user override; used only when all four of north/south/east/west are given. |
| `west` | string | – | Advanced: raw bounding-box west longitude (e.g. -97.85). Optional power-user override; used only when all four of north/south/east/west are given. |
| `priceMin` | integer | – | Minimum price (USD) |
| `priceMax` | integer | – | Maximum price (USD) |
| `bedsMin` | integer | – | Minimum bedrooms |
| `bathsMin` | integer | – | Minimum bathrooms |
| `includeDetail` | boolean | `false` | Enrich each search result with facts & features + agent contact from the GraphQL HDP endpoint (slower, one extra request per property). |
| `maxItems` | integer | `100` | 0 = all matches |
| `listingType` | enum | – | What kind of listings to search for — one of `fsba,fsbo,newConstruction,comingSoon,auction`, `forRent`, `recentlySold`, `foreclosure,preforeclosure,foreclosed` |
| `proxyConfiguration` | object | Apify Proxy | Route requests through a proxy. Residential (US) is the default and recommended — Zillow's PerimeterX blocks datacenter IPs. |

#### Example input

```jsonc
{
  "q": "Austin, TX",
  "zpids": [],
  "includeDetail": false,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

***

### 📤 Output

Each result is a JSON object like this:

```jsonc
{
  "zpid": 454188962,
  "url": "https://www.zillow.com/homedetails/454188962_zpid/",
  "streetAddress": "Madison-321 Plan, The San Francisco Shipyard : Madison",
  "city": "San Francisco",
  "state": "CA",
  "zipcode": "94124",
  "price": 554000,
  "currency": "usd",
  "pricePerSquareFoot": 773,
  "bedrooms": 1,
  "bathrooms": 1,
  "livingArea": 717,
  "lotSize": null,
  "lotSizeUnit": null,
  "yearBuilt": 2026,
  "propertyType": "condo",
  "listingStatus": "forSale",
  "marketingStatus": "active",
  "daysOnZillow": 0,
  "latitude": 37.7281,
  "longitude": -122.3706,
  "brokerName": null,
  "agentName": null,
  "agentBusinessName": null,
  "agentPhone": null,
  "taxAssessedValue": null,
  "taxAssessmentYear": null,
  "photoCount": 13,
  "photos": [
    "https://photos.zillowstatic.com/fp/d90d5a51db965cc028d2d54e6a887bb4-p_f.jpg",
    "https://photos.zillowstatic.com/fp/8a8bf73710dc2133ccc047446ce33a58-p_f.jpg",
    "…+11 more"
  ],
  "hasVideos": false,
  "has3DTour": true,
  "resoFacts": {
    "bedrooms": 1,
    "bathrooms": 1,
    "bathroomsFloat": 1,
    "bathroomsFull": 1,
    "bathroomsThreeQuarter": 0,
    "bathroomsHalf": 0,
    "bathroomsOneQuarter": null,
    "bathroomsPartial": null
  },
  "detail": {
    "…": "27 fields"
  }
}
```

***

### 🧾 Data table

| Field | Type | Description |
| --- | --- | --- |
| `zpid` | number | ZPID |
| `url` | link | URL |
| `streetAddress` | text | Street address |
| `city` | text | City |
| `state` | text | State |
| `zipcode` | text | ZIP |
| `price` | number | Price |
| `currency` | text | Currency |
| `pricePerSquareFoot` | number | Price / sqft |
| `bedrooms` | number | Beds |
| `bathrooms` | number | Baths |
| `livingArea` | number | Living area (sqft) |
| `lotSize` | number | Lot size |
| `lotSizeUnit` | text | Lot size unit |
| `yearBuilt` | number | Year built |
| `propertyType` | text | Property type |
| `listingStatus` | text | Listing status |
| `marketingStatus` | text | Marketing status |
| `daysOnZillow` | number | Days on Zillow |
| `latitude` | number | Latitude |
| `longitude` | number | Longitude |
| `brokerName` | text | Broker |
| `agentName` | text | Agent |
| `agentBusinessName` | text | Agent business |
| `agentPhone` | text | Agent phone |
| `taxAssessedValue` | number | Tax assessed value |
| `taxAssessmentYear` | text | Tax year |
| `photoCount` | number | Photo count |
| `photos` | array | Photos (full-res) |
| `hasVideos` | text | Has videos |
| `has3DTour` | text | Has 3D tour |
| `resoFacts` | object | Facts & features |
| `detail` | object | Full HDP detail |
| `raw` | object | Raw API record |

***

### 💰 Pricing — pay per result

This actor uses **pay-per-event** pricing: you pay only for the rows it delivers.

| You scrape | Price |
| --- | --- |
| **Listing row — basic data** | **$1.00 per 1,000 rows** |
| **Listing details — photos, price/tax history, facts** | **$0.50 per 1,000 rows** |

***

### 🔌 Use the Zillow Scraper via API

Run it programmatically with the [Apify API](https://docs.apify.com/api/v2):

```bash
curl -X POST "https://api.apify.com/v2/acts/zillow-api-scraper/runs?token=YOUR_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
  "q": "Austin, TX",
  "zpids": [],
  "includeDetail": false,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}'
```

Or with the Apify CLI: `apify call zillow-api-scraper -i input.json -o`.

***

### ❓ FAQ

**Do I need an account or API key for Zillow?**

No. The actor talks to Zillow's public/mobile API for you — you only need an Apify account.

**Do I need a proxy?**

A proxy is recommended for reliable runs; set `proxyConfiguration` (Residential is safest for geo-restricted or bot-protected sites).

**What export formats are supported?**

JSON, CSV, Excel, XML, JSONL, RSS, or live via the Apify API and dataset endpoints.

**Is scraping this legal?**

You are responsible for how you use the data. Scrape only public real-estate listing data and comply with Zillow.com's Terms and applicable law (e.g. GDPR/CCPA for personal data).

***

### 🛠️ How it works

The actor impersonates Zillow's official app/site and calls its private API the same way the app does, then normalises each response into the flat record above. No browser, no HTML scraping — just clean, structured data.

***

### 📌 Good to know

- Scrape only public real-estate listing data and respect Zillow.com's Terms of Service and robots policy.
- For personal data, comply with GDPR/CCPA and applicable law — you are the data controller.
- Fields can be `null` when Zillow doesn't expose them for a given record.

***

### ⭐ Found this useful?

Give the **Zillow Scraper** a star on Apify and check out my other `apify-*-api-scraper` actors.

# Actor input Schema

## `q` (type: `string`):

City, ZIP code, neighborhood, or street address to search — e.g. "Austin, TX", "90210", "Downtown, Austin, TX". This is the main search input; it is resolved to a map area automatically.

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

Look up full detail for these Zillow property IDs. If set, the location/search inputs are ignored.

## `north` (type: `string`):

Advanced: raw bounding-box north latitude (e.g. 30.35). Optional power-user override — supply all four of north/south/east/west to search an exact map box instead of a Location.

## `south` (type: `string`):

Advanced: raw bounding-box south latitude (e.g. 30.20). Optional power-user override; used only when all four of north/south/east/west are given.

## `east` (type: `string`):

Advanced: raw bounding-box east longitude (e.g. -97.70). Optional power-user override; used only when all four of north/south/east/west are given.

## `west` (type: `string`):

Advanced: raw bounding-box west longitude (e.g. -97.85). Optional power-user override; used only when all four of north/south/east/west are given.

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

Minimum price (USD)

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

Maximum price (USD)

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

Minimum bedrooms

## `bathsMin` (type: `integer`):

Minimum bathrooms

## `includeDetail` (type: `boolean`):

Enrich each search result with facts & features + agent contact from the GraphQL HDP endpoint (slower, one extra request per property).

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

0 = all matches

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

What kind of listings to search for

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

Route requests through a proxy. Residential (US) is the default and recommended — Zillow's PerimeterX blocks datacenter IPs.

## Actor input object example

```json
{
  "q": "Austin, TX",
  "zpids": [],
  "includeDetail": false,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `results` (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 = {
    "q": "Austin, TX",
    "zpids": [],
    "north": "",
    "south": "",
    "east": "",
    "west": "",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rl1987/zillow-api-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 = {
    "q": "Austin, TX",
    "zpids": [],
    "north": "",
    "south": "",
    "east": "",
    "west": "",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("rl1987/zillow-api-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 '{
  "q": "Austin, TX",
  "zpids": [],
  "north": "",
  "south": "",
  "east": "",
  "west": "",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call rl1987/zillow-api-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/UCR6Lkur6vhsa3njj/builds/BBBujYdYMMMFempte/openapi.json
