# Free Zillow Details Scraper (`redoy49/free-zillow-details-scraper`) Actor

High-accuracy, zero-guessing Zillow real estate property scraper. Extracts Agent Name, Phone, Brokerage, Bought with, Parcel Number, Zoning, Utilities, Subdivision, Sold Date, and Prices without hallucination.

- **URL**: https://apify.com/redoy49/free-zillow-details-scraper.md
- **Developed by:** [Redoy Al Hasan](https://apify.com/redoy49) (community)
- **Categories:** Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## Free Zillow Details Scraper

A high-accuracy, zero-guessing Apify Actor designed to scrape, extract, clean, and standardize real estate property data directly from Zillow listing URLs.

***

### Key Features

- **Strict Zero-Guessing**: Extracts only verified, explicit values directly from listing attributes and embedded data sources. Empty fields remain blank rather than guessing.
- **Automated Data Cleaning**: Filters out unwanted web noise, photo counter strings, navigation text, and school rating metadata.
- **Accurate Address Normalization**: Splits location data into standardized fields including Full Address, Street Address, Town/Neighborhood, City, State, and Zip Code, with automated validation to prevent postal codes from corrupting town names.
- **Multi-Column Buyer Attribution**: Organizes buyer representation into dedicated columns: Buyer Agent Name, Buyer Agent License, Buyer Company Name, and Buyer MLS ID.
- **Leading Zeros Preserved**: Parcel IDs (APN) such as `0979040012` maintain exact text representation without numeric truncation.
- **Clean Lot Size Formatting**: Normalizes raw floating-point acreages (such as `0.2991046831955923 Acres`) into standard real estate precision (such as `0.3 Acres`).
- **Comprehensive Pricing History**: Captures the latest transaction records for Sold Date, Sold Price, Pending Date, Pending Price, Listed Date, and Listed Price.
- **Direct Spreadsheet Export**: In addition to standard Apify Datasets, the Actor automatically builds a styled `OUTPUT.xlsx` spreadsheet and `OUTPUT.csv` file inside the default Key-Value Store with locked serial column ordering.

***

### Input Configuration

The Actor requires only the list of Zillow listing URLs to process. All internal proxies, headers, and fallback mechanisms run automatically.

#### Input Example

```json
{
  "startUrls": [
    {
      "url": "https://www.zillow.com/homedetails/Camelot-St-10-North-Pt-FL-34288/441315437_zpid/"
    },
    {
      "url": "https://www.zillow.com/homedetails/4257-SW-Kazan-St-Port-Charlotte-FL-33953/43831688_zpid/"
    }
  ]
}
```

#### Input Field Description

| Field | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| `startUrls` | Array | Yes | List of Zillow property homedetail URLs to scrape. |

***

### Output Data Structure

Every run outputs exactly 28 standardized columns in the following serial order:

| Number | Column Name | Description | Example |
| :---: | :--- | :--- | :--- |
| 1 | `Property Url` | Direct link to the listing on Zillow | `https://www.zillow.com/homedetails/...` |
| 2 | `Full Address` | Standardized uppercase full property address | `10 CAMELOT ST, NORTH PORT, FL 34288` |
| 3 | `Address` | Street name and house number | `10 Camelot St` |
| 4 | `Town` | Verified neighborhood or town name | `North Pt` |
| 5 | `City` | Municipality or city name | `North Port` |
| 6 | `State` | Two-letter state code | `FL` |
| 7 | `Zip Code` | Postal zip code | `34288` |
| 8 | `Beds` | Total number of bedrooms | `3` |
| 9 | `Baths` | Total number of bathrooms | `2` |
| 10 | `Lot Size` | Formatted lot acreage or square footage | `0.3 Acres` or `10,073 Square Feet` |
| 11 | `Agent Name` | Listing agent full name | `Jane Doe` |
| 12 | `Agent Phone` | Listing agent direct contact phone | `(941) 555-0199` |
| 13 | `Company Name` | Listing brokerage firm name | `RE/MAX Palm Realty` |
| 14 | `Company Phone` | Listing brokerage office phone | `(941) 555-0100` |
| 15 | `Buyer Agent Name` | Selling / buyer representative agent | `John Smith` |
| 16 | `Buyer Agent License` | Selling agent state real estate license number | `3214567` |
| 17 | `Buyer Company Name` | Selling brokerage company name | `Coldwell Banker Realty` |
| 18 | `Buyer MLS ID` | Buyer agent or listing MLS identifier | `MLS# 987654` |
| 19 | `Parcel Number` | County Assessor Parcel Number (APN) | `0979040012` |
| 20 | `Zoning` | Municipal land use or zoning classification | `RSF2` |
| 21 | `Subdivision` | Validated subdivision or development name | `PORT CHARLOTTE SUB 26` |
| 22 | `Utilities` | Consolidated water, sewer, and electric utilities | `Sewer: Septic Needed; Water: Well Needed` |
| 23 | `Sold Date` | Most recent recorded closing date | `03/12/2024` |
| 24 | `Sold Price` | Most recent recorded closing price | `$15,000` |
| 25 | `Pending Date` | Most recent pending sale contract date | `02/20/2024` |
| 26 | `Pending Price` | Price agreed upon at pending sale | `$16,500` |
| 27 | `Listed Date` | Date listing was officially published for sale | `01/15/2024` |
| 28 | `Listed Price` | Original asking price when published | `$18,000` |

***

### Download Formats

Results can be exported through multiple channels:

1. **Apify Dataset**: Exportable directly from the Apify Web Console to JSON, CSV, XML, or Excel.
2. **Formatted Excel (`OUTPUT.xlsx`)**: Located in the run's default Key-Value Store. Features styled headers, text-formatted parcel IDs, and pre-adjusted column widths.
3. **Formatted CSV (`OUTPUT.csv`)**: Located in the Key-Value Store encoded in UTF-8 with BOM for Excel compatibility.
4. **API and Integrations**: Direct integration with Google Sheets, Make, Zapier, or custom webhooks via standard Apify REST API endpoints.

***

### Local Development

#### 1. Install Dependencies

```bash
pip install -r requirements.txt
```

#### 2. Run the Actor Locally

```bash
python -m src.main
```

Or using the Apify CLI:

```bash
apify run
```

# Actor input Schema

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

List of Zillow property homedetail URLs to scrape.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.zillow.com/homedetails/Camelot-St-10-North-Pt-FL-34288/441315437_zpid/"
    }
  ]
}
```

# Actor output Schema

## `dataset` (type: `string`):

Clean property records with 28 standardized columns.

## `excel` (type: `string`):

Download formatted Excel file with styled headers and preserved leading zeroes.

## `csv` (type: `string`):

Download standardized UTF-8 CSV data.

# 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/homedetails/Camelot-St-10-North-Pt-FL-34288/441315437_zpid/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("redoy49/free-zillow-details-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/homedetails/Camelot-St-10-North-Pt-FL-34288/441315437_zpid/" }] }

# Run the Actor and wait for it to finish
run = client.actor("redoy49/free-zillow-details-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/homedetails/Camelot-St-10-North-Pt-FL-34288/441315437_zpid/"
    }
  ]
}' |
apify call redoy49/free-zillow-details-scraper --silent --output-dataset

```

## MCP server setup

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