# Zillow Scraper API: Property Details, Zestimate & Owner (`scrapeak/zillow-scraper`) Actor

Scrape Zillow property details, Zestimate, rent estimate, price and tax history, owner info, comps and search results by ZPID, URL or address. Export to JSON, CSV or Excel.

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

## Pricing

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

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 API: property details, Zestimate, owner and comps

Get Zillow property data without building or maintaining a scraper. Give the actor ZPIDs, Zillow search URLs, addresses or a location, and it returns structured JSON you can download as JSON, CSV or Excel, or pull through the Apify API.

### What you can extract

| Operation | Input | What you get |
|---|---|---|
| Property details | ZPID | Price, Zestimate and Rent Zestimate, beds, baths, living area, lot size, year built, home status, price history, tax history, schools, photos, coordinates, listing agent and broker |
| Property details + comparables | ZPID | Everything above plus comparable homes |
| Owner of property | ZPID | Owner information for the property |
| Search results | Zillow search URL | The listings on that search page (a page usually holds about 40 properties) |
| Location suggestions | Text | Zillow's matches for an address, neighborhood, city or ZIP code |
| Find ZPID | Street, city, state, ZIP | The ZPID of an address, so you can run property details on it |

### Who uses it

Real estate investors use it to pull Zestimates, rent estimates and price history before an offer. Agents and wholesalers look up owners and listing agents. Analysts collect search results by city or ZIP code to track prices and days on market. Developers use it as a Zillow API for their own apps.

### How to use

1. Pick an operation in **What to scrape**.
2. Fill only the matching input field: ZPIDs, search URLs, location queries or addresses.
3. Click **Start**. Each result is one row in the dataset.

To get the next page of search results, raise the page number in the Zillow search URL and add it as another URL.

#### Input example

```json
{
  "operation": "property",
  "zpids": ["66288024"]
}
```

Finding ZPIDs by address:

```json
{
  "operation": "zpidByAddress",
  "addresses": [{ "street": "8320 Mountainview Dr", "city": "Dallas", "state": "TX", "zipcode": "75249" }]
}
```

### Output

Each row keeps the `input` that produced it, so you can match results to your list. A property row looks like this (real run, shortened):

```json
{
  "input": {
    "zpid": "66288024"
  },
  "data": {
    "zpid": 66288024,
    "address": {
      "streetAddress": "1031 Keed Ave",
      "city": "Baton Rouge",
      "state": "LA",
      "zipcode": "70806"
    },
    "homeStatus": "SOLD",
    "homeType": "SINGLE_FAMILY",
    "price": 0,
    "zestimate": 296500,
    "rentZestimate": 1217,
    "bedrooms": 2,
    "bathrooms": 1,
    "livingArea": 1399,
    "yearBuilt": 1960,
    "latitude": 30.439854,
    "longitude": -91.117035,
    "daysOnZillow": 980,
    "priceHistory": [
      {
        "date": "2024-03-15",
        "event": "Sold",
        "price": null,
        "source": "ROAM MLS"
      },
      "..."
    ],
    "taxHistory": [
      {
        "time": 1763664979015,
        "taxPaid": 3444.77,
        "taxIncreaseRate": 0.38034287,
        "value": 27080,
        "valueIncreaseRate": 0.33794466
      },
      "..."
    ],
    "schools": [
      {
        "name": "Lasalle Elementary School",
        "rating": 5,
        "grades": "PK-5",
        "distance": 0.9
      },
      "..."
    ]
  }
}
```

Inputs that return nothing are not added to the dataset, so you are not charged for them. They are listed in the run log and in `FAILED_INPUTS` in the run's key-value store.

### FAQ

**Can I get contact info for a property?** Property details include the listing agent and broker when Zillow shows them. Use "Owner of property" for owner data.

**Where do I find a ZPID?** It is the number before `_zpid` in a Zillow property URL. You can also use the "Find ZPID" operation with an address.

**Can I call this from code?** Yes. Every Actor has an API, so you can start runs and download results from Python, JavaScript or any HTTP client. See the API tab on this page.

This Actor is not affiliated with, endorsed or sponsored by Zillow. Zillow is a trademark of its owner.

# Actor input Schema

## `operation` (type: `string`):

Pick the data type. Fill only the matching input field below.

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

Zillow property IDs. Used by the three ZPID operations.

## `listingUrls` (type: `array`):

Full zillow.com search URLs that contain the 'searchQueryState' parameter. Increase the page number in the URL for the next page. Used by 'Search results'.

## `queries` (type: `array`):

An address, neighborhood, city, home address or ZIP code. Used by 'Location suggestions'.

## `addresses` (type: `array`):

Objects with street, city, state and optional zipcode. Used by 'Find ZPID'.

## Actor input object example

```json
{
  "operation": "property",
  "zpids": [
    "66288024"
  ],
  "addresses": [
    {
      "street": "1600 Pennsylvania Ave NW",
      "city": "Washington",
      "state": "DC",
      "zipcode": "20500"
    }
  ]
}
```

# Actor output Schema

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

No description

## `failedInputs` (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 = {
    "zpids": [
        "66288024"
    ]
};

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

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

```

## MCP server setup

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