# Zillow Foreclosure & Pre-Foreclosure Listings Scraper (`jungle_synthesizer/zillow-foreclosure-preforeclosure-listings-scraper`) Actor

Pull Zillow's foreclosure, bank-owned (REO), auction and pre-foreclosure listings for any US city or ZIP code. Each record carries price, address, beds, baths, square footage, Zestimate, rent Zestimate and photos.

- **URL**: https://apify.com/jungle_synthesizer/zillow-foreclosure-preforeclosure-listings-scraper.md
- **Developed by:** [BowTiedRaccoon](https://apify.com/jungle_synthesizer) (community)
- **Categories:** Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 record scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Foreclosure & Pre-Foreclosure Listings Scraper

Get Zillow's distressed-property inventory for any US city or ZIP code: pre-foreclosure homes, foreclosed homes, bank-owned (REO) listings and homes going to auction. Every record is tagged with its distress type and carries the numbers an investor screens a deal on: price, Zestimate, rent Zestimate, tax-assessed value, size, beds, baths and photos.

### What you get

- Four distress types in one run, each labelled in `foreclosure_status`: `pre_foreclosure`, `foreclosed_reo`, `bank_owned`, `auction`
- Any number of cities and ZIP codes per run, or your own Zillow search page URLs
- Zestimate and rent Zestimate on the same row as the asking price, so a listing is a deal-screening record out of the box
- Coordinates, listing URL and photo URLs for mapping and follow-up
- Optional detail-page fields: year built, the listing agent's name and phone, and for auction homes a link to the auction house listing plus the auction date and opening bid when the auction house states them
- Filter to just the types you want, for example pre-foreclosure leads only

### Input

| Field                 | Type    | Description |
|-----------------------|---------|--------------------------------------------------------------------------------------------------------------|
| `regions`             | Array   | Cities as `"City, ST"` (for example `"Chicago, IL"`) or 5-digit ZIP codes. Each region is searched in turn. |
| `searchUrls`          | Array   | Optional Zillow search page URLs, searched in addition to the regions. |
| `foreclosureStatuses` | Array   | Any of `pre_foreclosure`, `foreclosed_reo`, `bank_owned`, `auction`. Leave empty for all four. |
| `includeDetails`      | Boolean | Also open each home's Zillow page to add `year_built`, `last_sold_price`, `last_sold_date`, `listing_agent`, `listing_agent_phone`, `auction_url`, `auction_date` and `opening_bid` (default off). One extra page load per listing, so runs take longer. |
| `maxItems`            | Integer | Maximum number of listings to return across all regions (default 10). |

#### Example input

```json
{
  "regions": ["Chicago, IL", "60601", "Austin, TX"],
  "foreclosureStatuses": ["pre_foreclosure", "auction"],
  "includeDetails": true,
  "maxItems": 200
}
```

### Output

| Field                 | Description                                                                 |
|-----------------------|-----------------------------------------------------------------------------|
| `zpid`                | Zillow property ID                                                          |
| `listing_url`         | Full Zillow listing URL                                                     |
| `street_address`      | Street address, including the unit number when there is one                 |
| `city`                | City                                                                        |
| `state`               | State abbreviation                                                          |
| `zip_code`            | ZIP code                                                                    |
| `latitude`            | Latitude                                                                    |
| `longitude`           | Longitude                                                                   |
| `price`               | Listing price in USD (empty for pre-foreclosure homes, which have no price) |
| `price_formatted`     | Listing price as shown on Zillow                                            |
| `foreclosure_status`  | `pre_foreclosure`, `foreclosed_reo`, `bank_owned` or `auction`              |
| `home_status`         | Zillow home status, for example `FOR_SALE` or `PRE_FORECLOSURE`             |
| `status_type`         | Zillow status type code on the search result                                |
| `status_text`         | Status label shown on the card, for example `New` or `Auction`              |
| `beds`                | Bedrooms                                                                    |
| `baths`               | Bathrooms                                                                   |
| `living_area_sqft`    | Living area in square feet                                                  |
| `lot_area`            | Lot size with its unit                                                      |
| `home_type`           | `SINGLE_FAMILY`, `CONDO`, `MULTI_FAMILY` and so on                          |
| `zestimate`           | Zillow's estimated market value in USD                                      |
| `rent_zestimate`      | Zillow's estimated monthly rent in USD                                      |
| `tax_assessed_value`  | County tax-assessed value in USD                                            |
| `days_on_zillow`      | Days on Zillow                                                              |
| `broker_name`         | Listing brokerage, when Zillow shows one                                    |
| `year_built`          | Year the home was built (with `includeDetails`)                             |
| `last_sold_price`     | Price of the last recorded sale in USD (with `includeDetails`)              |
| `last_sold_date`      | Date of the last recorded sale, `YYYY-MM-DD` (with `includeDetails`)        |
| `listing_agent`       | Listing agent's name (with `includeDetails`)                                |
| `listing_agent_phone` | Listing agent's phone number (with `includeDetails`)                        |
| `auction_url`         | Auction house listing link, auction homes only (with `includeDetails`)      |
| `auction_date`        | Auction start date, `YYYY-MM-DD`, when stated (with `includeDetails`)       |
| `opening_bid`         | Opening or credit bid in USD, when stated (with `includeDetails`)           |
| `photo_urls`          | Photo URLs                                                                  |
| `region_searched`     | The region or search URL the record came from                               |

Some fields are empty for some homes: pre-foreclosure homes carry no asking price and no listing agent, and Zillow does not show a Zestimate or a broker for every distressed listing.

Zillow has no auction date or opening bid field of its own. When the auction house writes them into the listing, for example "The online auction starts on 11-17-2026", the actor returns them; most auction listings leave them out, and `auction_url` takes you to the auction house page that has them. Unpaid loan balances are not on Zillow's public listing pages, so the actor does not return them.

### Tips

- Zillow shows a limited number of results per search, so for a large metro, list its cities or ZIP codes separately instead of one big region.
- Pre-foreclosure homes are a small slice of any one city. Searching several nearby regions is the way to build a pre-foreclosure lead list.
- Use `foreclosureStatuses` to keep a run to the one lead type you work.

# Actor input Schema

## `sp_intended_usage` (type: `string`):

What will this data feed? E.g. lead lists, KYB checks, price tracking.

## `sp_improvement_suggestions` (type: `string`):

Provide any feedback or suggestions for improvements.

## `sp_contact` (type: `string`):

We'll personally help with your use case. No spam.

## `regions` (type: `array`):

US cities or ZIP codes to search, written as "City, ST" (for example "Chicago, IL") or a 5-digit ZIP code. Each region is searched in turn.

## `searchUrls` (type: `array`):

Optional Zillow search page URLs (for example a county or neighborhood foreclosure page) to search in addition to the regions above.

## `foreclosureStatuses` (type: `array`):

Which kinds of distressed listings to return. Leave empty for all of them.

## `includeDetails` (type: `boolean`):

Also open each home's Zillow page to add the year built, the listing agent's name and phone, the last sale price and date, and for auction homes the auction house link plus the auction date and opening bid when stated. Adds one page load per listing, so runs take longer.

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

Maximum number of listings to return across all regions.

## Actor input object example

```json
{
  "sp_contact": "Share your email here...",
  "regions": [
    "Chicago, IL"
  ],
  "includeDetails": false,
  "maxItems": 10
}
```

# 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 = {
    "sp_contact": "Share your email here...",
    "regions": [
        "Chicago, IL"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("jungle_synthesizer/zillow-foreclosure-preforeclosure-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 = {
    "sp_contact": "Share your email here...",
    "regions": ["Chicago, IL"],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("jungle_synthesizer/zillow-foreclosure-preforeclosure-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 '{
  "sp_contact": "Share your email here...",
  "regions": [
    "Chicago, IL"
  ],
  "maxItems": 10
}' |
apify call jungle_synthesizer/zillow-foreclosure-preforeclosure-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jungle_synthesizer/zillow-foreclosure-preforeclosure-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/9A3FtW4WEdFN1MLp5/builds/LoEvZeeYlYAvfkY5Z/openapi.json
