# Distressed Property Leads Scraper (`4l3c/foreclosure-auction-scraper`) Actor

Distressed-property leads from official sources: sheriff foreclosure sale listings across 60+ county portals (NJ, OH, PA, DE, IA & more) with auction dates, plaintiffs and judgment data, plus nationwide HUD Home Store listings. Legal public records for real estate investors and wholesalers.

- **URL**: https://apify.com/4l3c/foreclosure-auction-scraper.md
- **Developed by:** [Alec](https://apify.com/4l3c) (community)
- **Categories:** Real estate, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $30.00 / 1,000 result items

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

**Get foreclosure and sheriff sale listings straight from official county records — auction dates, judgment amounts, plaintiffs, and case numbers included.** Foreclosure & Sheriff Sale Listings Scraper collects distressed-property leads for **real estate investors, wholesalers, and agents** from two legally clean sources: 60+ official county sheriff-sale portals and the nationwide HUD Home Store.

No Zillow scraping, no RealtyTrac paywalls, no terms-of-service roulette — these are public court and government records published for exactly this purpose.

### What does Foreclosure & Sheriff Sale Listings Scraper do?

It pulls upcoming foreclosure auctions and HUD-owned homes — address, auction/bid date, plaintiff (lender), defendant, approximate judgment amount, court case number, attorney contact, parcel number, and status — filtered by county, state, and auction-date window. Run on demand, on a schedule, or via the [Apify API](https://docs.apify.com/api/v2). Export JSON, CSV, or Excel, or pipe to Google Sheets and your CRM.

### Why sheriff sale data beats foreclosure aggregators

- **It's the primary source.** Aggregators charging $40–99/month resell exactly these county records, often days late. Here you read them directly, the day the county posts them.
- **Judgment amount = instant equity math.** Judgment vs. market value tells you in seconds whether a deal is worth pursuing.
- **The defendant is the motivated seller.** Pre-auction owners are the classic wholesaling outreach list, with the auction date as a built-in deadline.
- **Attorney on record** (where published) gives a professional contact path for short-sale and payoff conversations.

### Coverage (honest, verified)

- **County sheriff sales (CivilView/Tyler Technologies):** 60+ county and precinct portals across roughly 16 states — deepest in **New Jersey (17 counties)**, plus portals in OH, PA, DE, IA, IL, OR, ID, CO, AZ, FL, AR, KS, WA, MN, LA, and TX constable precincts. The county list is read live at run time, so newly added portals appear automatically.
- **HUD Home Store:** government-owned (REO) homes nationwide by state. Note: HUD inventory in 2026 is modest — typically tens of listings per state — treat it as a complement, not the headline.

This Actor does **not** cover every US county. Counties outside these portals aren't included — coverage claims here are real ones.

### How to get new foreclosure leads every morning

1. Set **County filter** to your market (e.g. `"NJ"` or `"Camden"`), or leave empty for all portals.
2. Turn on **Fetch detail pages** to add judgment amount, case number, attorney, and current status to every listing.
3. Turn on **Only new results** and **schedule** the Actor daily — only listings you haven't seen before are returned.
4. Add a webhook / Google Sheets integration and new auctions land in your pipeline automatically.

### Input

| Field | Type | Default | Notes |
|---|---|---|---|
| `sources` | array | both | `civilview`, `hud` |
| `civilviewCounties` | array | `[]` (all) | Name match: "Camden", "NJ", "Cuyahoga" |
| `includeDetails` | boolean | false | Adds judgment, case #, attorney, status (1 extra request/listing) |
| `hudStates` | array | FL, TX, GA, OH, PA, NJ | Two-letter codes |
| `auctionDateFrom` / `auctionDateTo` | string | none | `YYYY-MM-DD` window on auction date |
| `onlyNewResults` | boolean | false | Only listings not returned before |
| `maxItems` | integer | 0 | Hard cap (cost control) |

```json
{
    "sources": ["civilview"],
    "civilviewCounties": ["NJ"],
    "includeDetails": true,
    "onlyNewResults": true
}
````

### Output

One JSON object per listing (real example, detail mode):

```json
{
    "source": "civilview",
    "state": "NJ",
    "county": "Camden County, NJ",
    "case_number": "F02233616",
    "sheriff_number": "FR-19004657",
    "auction_date": "2026-06-17",
    "address": "251 SOUTH 33RD STREET CAMDEN",
    "zip": "08105",
    "plaintiff": "NEW JERSEY HOUSING AND MORTGAGE FINANCE AGENCY",
    "defendant": "NOVEL RAMOS, ET AL.",
    "judgment_amount": 78048.83,
    "status": "Scheduled",
    "attorney": "PLUESE, BECKER & SALTZMAN",
    "attorney_phone": "1-856-813-1700",
    "parcel_number": "TAX LOT:107 TAX BLOCK: 1083",
    "detail_url": "https://salesweb.civilview.com/Sales/SaleDetails?PropertyId=2005772102"
}
```

Download as JSON, CSV, Excel, or HTML, or read via API.

### How much does foreclosure listing data cost?

**$0.03 per listing.** One county's full active sheriff-sale book (~200 listings) costs about $6 — versus $40–99/month for aggregator subscriptions that resell the same records. Use `maxItems` and county filters to cap spend.

### Tips

- **`includeDetails: true` is where the value is** — judgment amount + case number + attorney turn an address list into an underwriting sheet.
- Judgment amounts exclude interest and sheriff fees (county footnote) — treat as approximate.
- A listing's `status` history can flip to *Settled* or *Adjourned* before the sale date; re-run before driving to the courthouse.
- HUD bid deadlines (`auction_date`) move fast on new listings — schedule daily if you bid HUD homes.

### FAQ

**Is this legal?** Yes. Sheriff sale listings are public court records published by county sheriffs; HUD Home Store is a federal listing service. No login walls or ToS-restricted aggregators are touched.

**Why isn't my county covered?** Only counties on the CivilView platform (plus HUD) are included — that's what keeps this Actor reliable. Request a county in the Issues tab; new official sources get added as they're verified.

**Found a problem?** Open an issue in the Issues tab.

More docs and use cases: [apify.alecrodriguez.net/foreclosure-listings](https://apify.alecrodriguez.net/foreclosure-listings)

STATUS: VERIFIED — built green (tsc+10 tests+lint), local smoke both sources, cloud-verified 2x (CivilView w/ session-cookie details + HUD embedded JSON) on 2026-06-10.

# Actor input Schema

## `sources` (type: `array`):

CivilView = official county sheriff foreclosure sales (60+ portals). HUD = nationwide HUD Home Store listings.

## `civilviewCounties` (type: `array`):

Match county portals by name, e.g. "Camden", "NJ", "Cuyahoga". Empty = all 60+ portals.

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

Visit each listing's detail page for court case number, judgment amount, attorney, parcel and current status. One extra request per listing — slower, richer leads.

## `hudStates` (type: `array`):

Two-letter state codes for HUD Home Store listings.

## `auctionDateFrom` (type: `string`):

Only keep listings with auction/bid-open date on or after this. Empty = no lower bound.

## `auctionDateTo` (type: `string`):

Only keep listings with auction/bid-open date on or before this. Empty = no upper bound.

## `onlyNewResults` (type: `boolean`):

Remember listings already returned and only emit ones not seen before. Turn on + schedule daily for a new-listings feed.

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

Stop after this many listings (controls your cost). 0 = unlimited.

## Actor input object example

```json
{
  "sources": [
    "civilview",
    "hud"
  ],
  "civilviewCounties": [],
  "includeDetails": false,
  "hudStates": [
    "FL",
    "TX",
    "GA",
    "OH",
    "PA",
    "NJ"
  ],
  "auctionDateFrom": "",
  "auctionDateTo": "",
  "onlyNewResults": false,
  "maxItems": 0
}
```

# 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 = {
    "sources": [
        "civilview",
        "hud"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("4l3c/foreclosure-auction-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 = { "sources": [
        "civilview",
        "hud",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("4l3c/foreclosure-auction-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 '{
  "sources": [
    "civilview",
    "hud"
  ]
}' |
apify call 4l3c/foreclosure-auction-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Distressed Property Leads Scraper",
        "description": "Distressed-property leads from official sources: sheriff foreclosure sale listings across 60+ county portals (NJ, OH, PA, DE, IA & more) with auction dates, plaintiffs and judgment data, plus nationwide HUD Home Store listings. Legal public records for real estate investors and wholesalers.",
        "version": "0.1",
        "x-build-id": "B6AtX2utvfOTPBAiE"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/4l3c~foreclosure-auction-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-4l3c-foreclosure-auction-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/4l3c~foreclosure-auction-scraper/runs": {
            "post": {
                "operationId": "runs-sync-4l3c-foreclosure-auction-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/4l3c~foreclosure-auction-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-4l3c-foreclosure-auction-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "sources": {
                        "title": "Sources",
                        "type": "array",
                        "description": "CivilView = official county sheriff foreclosure sales (60+ portals). HUD = nationwide HUD Home Store listings.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "civilview",
                                "hud"
                            ],
                            "enumTitles": [
                                "County sheriff sales (CivilView)",
                                "HUD Home Store"
                            ]
                        },
                        "default": [
                            "civilview",
                            "hud"
                        ]
                    },
                    "civilviewCounties": {
                        "title": "County filter (CivilView)",
                        "type": "array",
                        "description": "Match county portals by name, e.g. \"Camden\", \"NJ\", \"Cuyahoga\". Empty = all 60+ portals.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "includeDetails": {
                        "title": "Fetch detail pages (CivilView)",
                        "type": "boolean",
                        "description": "Visit each listing's detail page for court case number, judgment amount, attorney, parcel and current status. One extra request per listing — slower, richer leads.",
                        "default": false
                    },
                    "hudStates": {
                        "title": "HUD states",
                        "type": "array",
                        "description": "Two-letter state codes for HUD Home Store listings.",
                        "default": [
                            "FL",
                            "TX",
                            "GA",
                            "OH",
                            "PA",
                            "NJ"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "auctionDateFrom": {
                        "title": "Auction from (YYYY-MM-DD)",
                        "type": "string",
                        "description": "Only keep listings with auction/bid-open date on or after this. Empty = no lower bound.",
                        "default": ""
                    },
                    "auctionDateTo": {
                        "title": "Auction to (YYYY-MM-DD)",
                        "type": "string",
                        "description": "Only keep listings with auction/bid-open date on or before this. Empty = no upper bound.",
                        "default": ""
                    },
                    "onlyNewResults": {
                        "title": "Only new results (for scheduled runs)",
                        "type": "boolean",
                        "description": "Remember listings already returned and only emit ones not seen before. Turn on + schedule daily for a new-listings feed.",
                        "default": false
                    },
                    "maxItems": {
                        "title": "Max results",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Stop after this many listings (controls your cost). 0 = unlimited.",
                        "default": 0
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
