# Zillow Real Estate Scraper (Homes For Sale & Rent) (`ulitron34/zillow-scraper`) Actor

Fast and stealth Zillow scraper. Extract property listings, prices, Zestimate, beds, baths, sqft, coordinates, brokerages, and photos across US & Canada.

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

## 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/running/actors-in-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

## 🏡 Zillow Real Estate Scraper (Homes For Sale & Rent)

**Fast, reliable, and stealth Zillow property scraper.** Extract real estate listings, sale & rental prices, Zestimates, bedrooms, bathrooms, living area sqft, precise GPS coordinates, brokerage agencies, days on market, and high-resolution property photos across the United States.

*Scraper rápido, confiable y sigiloso para Zillow. Extrae propiedades en venta o renta, precios, valoraciones Zestimate, recámaras, baños, pies cuadrados (sqft), coordenadas GPS, agencias inmobiliarias y fotos en alta resolución en todo Estados Unidos.*

***

### ✨ Key Features / Características Principales

| Feature / Característica | Description / Descripción |
| :--- | :--- |
| 🛡️ **Anti-Bot & Anti-DDoS Stealth** | Employs Camoufox C++ fingerprint spoofing to bypass Zillow's PerimeterX and Akamai anti-bot barriers. |
| 📍 **Flexible Location Targeting** | Search by City & State (e.g. `Miami, FL`, `Austin, TX`), Zip Codes (`90210`, `33139`), or direct Zillow search URLs. |
| 🏷️ **Multi-Status Support** | Scrape properties **For Sale** (`for_sale`), **For Rent** (`for_rent`), or **Recently Sold** (`recently_sold`). |
| 💰 **Price & Valuation Tracking** | Captures listing prices, price per month (rentals), and Zillow's algorithmic market **Zestimate**. |
| 📐 **Property Details & Specs** | Extracts exact number of beds, baths, interior living area (sqft), and property styles (Single Family, Condo, Townhome). |
| 📍 **Precision Geo Coordinates** | Retrieves exact latitude and longitude for mapping and GIS real estate applications. |
| 🏢 **Brokerage & Agency Data** | Identifies the listing brokerage agency or agent name. |
| 🔗 **Clean Canonical Links** | Generates clean, tracking-free `/homedetails/.../{zpid}_zpid/` URLs. |

***

### 📥 Input Configuration / Configuración de Entrada

#### Example 1: Search by City & State (For Sale)

```json
{
  "location": "Miami, FL",
  "search_type": "for_sale",
  "min_price": 300000,
  "max_price": 950000,
  "bedrooms": 2,
  "max_items": 40
}
```

#### Example 2: Rental Market Intelligence (For Rent)

```json
{
  "location": "Austin, TX",
  "search_type": "for_rent",
  "max_price": 3500,
  "bedrooms": 1,
  "max_items": 50
}
```

#### Example 3: Zip Code Search with Direct URLs

```json
{
  "start_urls": [
    { "url": "https://www.zillow.com/homes/for_sale/90210_rb/" }
  ],
  "max_items": 30
}
```

***

### 📤 Output Dataset Format / Formato del Dataset de Salida

Every scraped property returns clean, tabular-ready JSON:

```json
{
  "zpid": "20849382",
  "address": "123 Ocean Dr, Miami, FL 33139",
  "price_formatted": "$650,000",
  "price": 650000,
  "bedrooms": 3,
  "bathrooms": 2.5,
  "living_area": 1950,
  "property_type": "CONDO",
  "listing_status": "FOR_SALE",
  "zestimate": 675000,
  "days_on_zillow": 14,
  "broker_name": "Compass Florida, LLC",
  "latitude": 25.7781,
  "longitude": -80.1313,
  "url": "https://www.zillow.com/homedetails/123-Ocean-Dr-Miami-FL-33139/20849382_zpid/",
  "image_url": "https://photos.zillowstatic.com/fp/d8a23b1c-p_e.jpg",
  "scraped_at": "2026-09-24T16:53:00+00:00"
}
```

***

### 💼 High-Converting Commercial Use Cases

1. **Real Estate Investment & PropTech**:
   - Analyze cap rates, cash-on-cash return, and compare listing prices against Zestimate valuations to find undervalued properties.
2. **Mortgage Brokers & Lending Lead Gen**:
   - Track newly listed homes to reach out to buyers and realtors with competitive financing and pre-approval offers.
3. **Rental Market & AirBnb Arbitrage**:
   - Monitor long-term rental rates (`for_rent`) to calculate short-term rental arbitrage margins versus Airbnb/Vrbo revenues.
4. **Market Comparative Analysis (CMA)**:
   - Export recently sold homes (`recently_sold`) to generate automated property appraisals.

***

### 🛡️ Proxy Recommendation

Zillow strictly inspects incoming client TLS fingerprints and IP addresses. For continuous production scraping, enable **Apify Residential Proxy** (`proxy_configuration: { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }`).

# Actor input Schema

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

Target city, state, or postal code in the US (e.g. 'Miami, FL', 'Austin, TX', 'Beverly Hills, CA', '33139').

## `search_type` (type: `string`):

Type of properties to search on Zillow.

## `start_urls` (type: `array`):

Direct Zillow search or property URLs. If provided, overrides location search.

## `min_price` (type: `integer`):

Filter properties with price >= this value.

## `max_price` (type: `integer`):

Filter properties with price <= this value.

## `bedrooms` (type: `integer`):

Minimum number of bedrooms.

## `bathrooms` (type: `integer`):

Minimum number of bathrooms.

## `max_items` (type: `integer`):

Maximum number of property listings to collect.

## `proxy_configuration` (type: `object`):

Apify Proxy configuration (residential proxy recommended for high-volume Zillow scraping). Residential proxies are the default because this site blocks datacenter IPs.

## Actor input object example

```json
{
  "location": "Miami, FL",
  "search_type": "for_sale",
  "max_items": 10,
  "proxy_configuration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Scraped Zillow properties with prices, beds, baths, sqft, Zestimates, and coordinates.

# 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 = {
    "max_items": 10,
    "proxy_configuration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ulitron34/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 = {
    "max_items": 10,
    "proxy_configuration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("ulitron34/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 '{
  "max_items": 10,
  "proxy_configuration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call ulitron34/zillow-scraper --silent --output-dataset

```

## MCP server setup

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