# US Probate, Tax Lien, Lis Pendens & Foreclosure Leads (`unique_dev/us-county-probate-tax-lien-foreclosure-leads`) Actor

Extract daily off-market Probate, Pre-Foreclosure, Lis Pendens, Tax/HOA Liens & Judgments from US County Clerks (Kofile, Landmark & Tyler). Skip-trace ready.

- **URL**: https://apify.com/unique_dev/us-county-probate-tax-lien-foreclosure-leads.md
- **Developed by:** [Ship AI agents](https://apify.com/unique_dev) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $30.00 / 1,000 distressed property & off-market leads

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

### What does US Probate, Tax Lien, Lis Pendens & Foreclosure Leads do?

> **Low-cost zero-config preview:** Running with empty input `{}` returns up to **20 verified leads (~$0.60–$1.20 depending on verified property appraisal matches)**. **Zero charge** on duplicates, blocked/unavailable portals, or empty runs.

**US Probate, Tax Lien, Lis Pendens & Foreclosure Leads** is a high-throughput **US County Clerk Public Records API alternative** built for real estate investors, wholesalers, skip-tracers, private lenders, title researchers, no-code **Make.com** automations, and autonomous AI agents. It extracts newly recorded **Pre-Foreclosure / Lis Pendens**, **Probate & Heirship**, **Federal & State Tax Liens**, **HOA & Mechanics Liens**, **Abstracts of Judgment**, and **Foreclosure / Tax Deeds** directly from verified official US County Clerk portals across **Kofile / GovOS PublicSearch**, **Catalis / Pioneer Landmark Web**, and **Tyler Technologies EagleWeb**—and optionally cross-references county tax appraisal rolls to append **street addresses, owner mailing addresses, absentee-owner flags, assessed market values, homestead status, and property use classes** into a **strict 49-field flat zero-null skip-trace-ready dataset** (with zero nested objects).

It does not bypass CAPTCHAs, WAF challenges, or subscriber paywalls, and it never stores or exposes proxy credentials or cookies in caller inputs.

***

### Why use US Probate, Tax Lien, Lis Pendens & Foreclosure Leads?

County clerk portals vary wildly in protocol (WebSocket streams, ASP.NET DataTables JSON, and legacy JSP HTML forms), invert Grantor/Grantee roles on liens and foreclosures, and frequently label filings generically as `"LIEN"`. This Actor solves those problems end-to-end:

- **Grantor/Grantee Role-Inversion & Name Splitting**: Automatically resolves the true distressed **homeowner, decedent, or debtor** (`target_owner_name`) and splits `target_first_name`, `target_middle_name`, and `target_last_name` ready for immediate skip-tracing—even when the IRS, an HOA, or a mortgage servicer files as Grantor.
- **Party-Aware `"LIEN"` Disambiguation & Release Stripping**: Separates IRS/State Tax Liens (`tax_lien`) from HOA/Construction Liens (`hoa_mechanics_lien`) and automatically strips `RELEASE`, `SATISFACTION`, `CANCELLATION`, and `DISMISSAL` filings unless `include_releases: true` is requested.
- **Same-Run Distress Scoring & Lien Stacking (`0–100`)**: Computes a deterministic motivation score (`distress_score`, `priority_tier`) and flags owners hit by multiple distinct distressed filings in the same county (`is_stacked_distress`, `matched_signal_count`, `stacked_categories`).
- **Built-In County Property Appraisal Enrichment (`enrich_property_appraisal: true`)**: Automatically matches clerk filings against official county tax appraisal rolls (no third-party API keys needed) to populate formatted street `property_address`, `parcel_apn`, `owner_mailing_address`, `is_absentee_owner`, `assessed_market_value`, `homestead_exempt`, `property_use_class`, `owner_parcel_count`, `appraisal_match_confidence`, and `appraisal_match_method`.
- **Legal, APN & Address Parser**: Extracts street `property_address`, `parcel_apn`, `subdivision`, `lot_block`, `book_page`, and `consideration_amount` from clerk index columns and legal/OCR text, seamlessly supplemented by appraisal enrichment when blank.
- **90-Day Multi-Client Deduplication**: Remembers `<county_slug>:<instrument_number>` across scheduled runs via Named Key-Value Store (`county-clerk-leads-dedup` by default, or isolated per client via `dedup_namespace`) so you never pay twice for the same recorded instrument. Set `enable_deduplication: false` for clean test/preview runs.
- **Serverless Light Runtime (`128–512 MB` RAM)**: Zero headless browser or Playwright overhead—runs cleanly via Apify Scheduler, REST API, **Apify MCP**, and **`x402` micro-payments**.

***

### Verified 20-County Coverage (3 Clerk Platforms)

All 20 built-in counties are live-verified over US proxies with zero CAPTCHA gates. Leave `states`, `counties`, and `custom_kofile_domains` empty (`{}`) to automatically poll the **3-county cross-vendor starter pack** (`tx_collin`, `fl_indian_river`, `az_yavapai`).

| Vendor Platform | Count | Covered Counties (`county_slug`) |
| :--- | :--- | :--- |
| **Kofile / GovOS PublicSearch** | 13 | `tx_collin` *(starter)*, `tx_dallas`, `tx_tarrant`, `tx_denton`, `tx_bexar`, `tx_hidalgo`, `tx_nueces`, `tx_brazos`, `tx_grayson`, `tx_midland`, `tx_smith`, `co_arapahoe`, `co_routt` |
| **Catalis / Pioneer Landmark Web** | 5 | `fl_indian_river` *(starter)*, `fl_hernando`, `fl_citrus`, `ga_dekalb`, `co_larimer` |
| **Tyler Technologies EagleWeb** | 2 | `az_yavapai` *(starter)*, `mi_muskegon` |

#### Expanding Coverage with `custom_kofile_domains`

Need another Kofile / GovOS PublicSearch county outside the built-in 20? Pass its hostname in `custom_kofile_domains` (for example `["brazos.tx.publicsearch.us"]`). To prevent SSRF, every custom domain is strictly validated against:

```text
^[a-z0-9-]+(?:\.[a-z]{2})?\.publicsearch\.us$
```

#### Property Appraisal Enrichment Coverage (Wave 1A)

When `enrich_property_appraisal` is enabled (`true` by default, zero user API keys required), selected leads are matched deterministically (`exact_apn`, `owner_plus_legal`, `unique_owner_in_county`, or `owner_sfr_disambiguation`) against official public county tax appraisal rolls:

- **Wave 1A Live Counties**: `tx_collin` (Collin County, TX), `tx_dallas` (Dallas County, TX), `fl_indian_river` (Indian River County, FL), `fl_hernando` (Hernando County, FL), and `fl_citrus` (Citrus County, FL).
- **Legal Exclusion Guard**: `az_yavapai` (Yavapai County, AZ) is intentionally excluded from commercial appraisal GIS enrichment per Arizona A.R.S. 39-121.03; its clerk filings are delivered cleanly at the standard `$0.03` rate.
- **Fail-Open Reliability**: If the enrichment lookup is disabled, unconfigured, or temporarily unavailable, the Actor never crashes or drops leads—it delivers raw clerk leads transparently at `$0.03`.

***

### How much does it cost? (Fair Three-Tier Pay-Per-Event Pricing)

This Actor uses **Pay-Per-Event (PPE)** billing with a **Fair-Billing & Zero-Waste Guarantee**:

| Event Name | Price | When Charged |
| :--- | :--- | :--- |
| **Actor Start** | **`$0.00`** | Never charged to start, validate inputs, or exit on empty/unsupported queries. |
| **`enriched_distressed_lead`** | **`$0.06` / lead** (`$60.00 / 1,000`) | Charged **ONLY** when a newly discovered distressed lead (`is_distressed_lead == true`, `is_release_or_satisfaction == false`) achieves a verified county appraisal match (`appraisal_match_confidence >= 0.75`) **AND** has a non-empty street `property_address`. |
| **`distressed_lead`** | **`$0.03` / lead** (`$30.00 / 1,000`) | Charged for newly discovered distressed leads without a verified appraisal match (unmatched owners, blank street address, `enrich_property_appraisal: false`, or policy-excluded counties like `az_yavapai`). Buyers **never** pay `$0.06` unless verified street-address enrichment succeeds. |
| **`standard_recorded_doc`** | **`$0.008` / record** (`$8.00 / 1,000`) | Charged only if you opt into `all_recorded_documents` or `include_releases: true` and the record is a standard deed/mortgage or release/satisfaction. |

Thanks to **90-day deduplication** (`enable_deduplication: true`) and **same-owner packet consolidation** (`consolidate_by_owner: true`), re-running daily or hourly schedules costs **`$0.00`** for previously seen instruments.

***

### Playbook Presets & Explicit-Override Rule

Choose one of 6 `playbook_preset` strategies (see `examples/` in the repository for ready-to-run JSON payloads):

1. `custom` *(default)* — Queries all 6 distressed categories across the 3-county starter pack (`lookback_days: 7`, `min_distress_score: 0`, `max_total_leads: 20`).
2. `wholesaler_pre_foreclosure` — `pre_foreclosure` only, `only_individual_owners: true`, `lookback_days: 7`, `min_distress_score: 70`.
3. `probate_heirship_off_market` — `probate_heirship` only, `only_individual_owners: true`, `lookback_days: 14`, `min_distress_score: 65`.
4. `tax_hoa_lien_stacker` — `tax_lien`, `hoa_mechanics_lien`, and `pre_foreclosure`, `only_individual_owners: false`, `lookback_days: 14`, `min_distress_score: 70`.
5. `lender_title_judgment_check` — `judgment_abstract`, `tax_lien`, and `foreclosure_tax_deed`, `only_individual_owners: false`, `lookback_days: 30`, `min_distress_score: 50`.
6. `mcp_x402_micro_sample` — Fast, low-cost sample targeting `tx_collin` (`TX`), `lookback_days: 7`, `max_total_leads: 10`, `enable_deduplication: false`.

**Explicit-Override Rule**: Any field you explicitly include in your input JSON overrides the preset's default, while omitted fields inherit the selected `playbook_preset` values.

***

### Input Configuration

See the **Input** tab in Apify Console for interactive controls and tooltips. Key options include:

- **Geography**: `states` (2-letter codes like `["TX", "FL"]`), `counties` (canonical slugs like `["tx_collin", "fl_indian_river"]`), `vendor_types`, and `custom_kofile_domains`. All geographic selectors are combined **additively**.
- **Filtering & Scoring**: `lead_categories`, `include_releases` (`false` by default), `only_individual_owners`, and `min_distress_score` (`0–100`).
- **Date Window & Caps**: `lookback_days` (`1–90`), optional explicit `start_date` / `end_date` (`YYYY-MM-DD`, max 90-day span), `max_leads_per_county`, and `max_total_leads` (defaults to `20` for a low-cost `~$0.60` preview; set explicitly for larger runs).
- **Enrichment, Multi-Client Deduplication & Webhooks**: `enrich_property_appraisal` (`true` by default; cross-references Wave 1A tax rolls for street address, mailing address, absentee status, and assessed value with zero user API keys), `enable_deduplication` (`true` by default; set to `false` on preview/test runs to skip both reading and writing dedup state), `consolidate_by_owner` (`true` by default; merges sequential same-owner/same-category packet filings such as multi-document probates into one billed lead), `dedup_namespace` (`"default"` by default), `webhook_url` (`isSecret: true`), and `webhook_secret` (`isSecret: true`).

#### Multi-Client Deduplication (`enable_deduplication` & `dedup_namespace`)

Agencies and multi-market teams can safely run separate client schedules inside one Apify account without cross-contaminating deduplication history:

- **Default store**: Leave `dedup_namespace` as `"default"` (or empty) to use the shared `"county-clerk-leads-dedup"` Named Key-Value Store.
- **Per-client isolation**: Set `dedup_namespace` to a client or workflow name (for example `"client-acme"` or `"dallas-probate"`). The Actor sanitizes it to lowercase `[a-z0-9-]` and isolates 90-day history in `"county-clerk-leads-dedup-<namespace>"` (truncated cleanly to Apify's 63-character store limit).
- **Non-polluting test previews**: Set `"enable_deduplication": false` to skip both reading from and writing to the Key-Value Store so ad-hoc tests never pollute production client state. Every run logs and records `dedup_enabled`, `dedup_namespace`, `dedup_store_name`, and `dedup_backend` inside `RUN_SUMMARY`.

***

### What data can you extract? (49-Field Flat Zero-Null Schema)

Every dataset item contains **all 49 flat `snake_case` fields** with **zero nested objects and zero `null` values** (empty strings `""`, `0`, `0.0`, `false`, or `[]` are used when a county does not index or match a field)—designed for effortless drag-and-drop mapping in **Make.com**, **Google Sheets**, **Airtable**, and **Slack**. Key fields include:

| Field | Type | Description |
| :--- | :--- | :--- |
| `record_id` | `string` | Deterministic key `<county_slug>:<instrument_number>` (ideal unique ID for Airtable/Sheets upserts) |
| `state` / `county_slug` / `county_name` | `string` | Normalized geography (`"TX"`, `"tx_collin"`, `"Collin County"`) |
| `vendor_type` | `string` | Source portal (`kofile_publicsearch`, `landmark_web`, or `tyler_eagleweb`) |
| `instrument_number` / `recording_date` | `string` | Official clerk instrument number & ISO date (`YYYY-MM-DD`) |
| `document_type_raw` / `document_code` | `string` | Clerk document label & code (`"LIS PENDENS"`, `"LP"`) |
| `lead_category` / `ppe_event_type` | `string` | Canonical category & PPE billing tier (`enriched_distressed_lead`, `distressed_lead`, or `standard_recorded_doc`) |
| `distress_score` / `priority_tier` | `integer` / `string` | `0–100` score & tier (`critical`, `high`, `medium`, `low`) |
| `is_stacked_distress` / `matched_signal_count` / `stacked_categories_text` | `boolean` / `integer` / `string` | Multi-signal same-owner distress detection & flat comma-separated category string (`"pre_foreclosure, tax_lien"`) for no-code tools (`stacked_categories` array also retained for backward compatibility) |
| `target_owner_name` / `target_first_name` / `target_middle_name` / `target_last_name` | `string` | Role-inverted primary property owner / decedent / debtor & parsed name parts |
| `target_entity_type` / `is_individual_owner` | `string` / `boolean` | Entity classification (`individual`, `estate_trust`, `private_company_llc`, `bank_lender`, `hoa_association`, `government_agency`) |
| `creditor_plaintiff_name` / `grantor_raw` / `grantee_raw` | `string` | Counterparty lender/IRS/HOA and raw clerk party strings |
| `property_address` / `parcel_apn` / `subdivision` / `lot_block` | `string` | Street address (clerk or verified appraisal), APN/Tax ID, subdivision, and Lot/Block |
| `owner_mailing_address` / `is_absentee_owner` | `string` / `boolean` | Appraiser owner mailing address & absentee-owner indicator |
| `assessed_market_value` / `homestead_exempt` / `property_use_class` | `integer` / `boolean` / `string` | County assessor market value (USD), homestead exemption flag & property class |
| `owner_parcel_count` / `appraisal_match_confidence` / `appraisal_match_method` | `integer` / `number` / `string` | County parcel count, `0.0–1.0` match confidence & match tier (`exact_apn`, `owner_plus_legal`, `unique_owner_in_county`, `owner_sfr_disambiguation`, `unmatched`, `disabled`) |
| `consideration_amount` / `book_page` / `page_count` | `number` / `string` / `integer` | Dollar amount, Book/Page reference, and page count |
| `county_record_url` / `scraped_at` | `string` | Direct clerk record link & UTC ISO-8601 timestamp |

#### Output Example

You can download the dataset in various formats such as **JSON, HTML, CSV, or Excel**, or retrieve `RUN_SUMMARY` from the Default Key-Value Store (including `enriched_leads_charged`, `enriched_count`, and `enrichment_latency_ms`).

```json
[
    {
        "record_id": "tx_collin:2026000100001",
        "state": "TX",
        "county_slug": "tx_collin",
        "county_name": "Collin County",
        "vendor_type": "kofile_publicsearch",
        "instrument_number": "2026000100001",
        "recording_date": "2026-11-02",
        "instrument_date": "2026-10-29",
        "document_type_raw": "LIS PENDENS",
        "document_code": "LP",
        "lead_category": "pre_foreclosure",
        "is_distressed_lead": true,
        "is_release_or_satisfaction": false,
        "ppe_event_type": "enriched_distressed_lead",
        "distress_score": 85,
        "priority_tier": "critical",
        "is_stacked_distress": false,
        "matched_signal_count": 1,
        "stacked_categories": ["pre_foreclosure"],
        "stacked_categories_text": "pre_foreclosure",
        "target_owner_name": "DOE, JANE MARIE",
        "target_first_name": "JANE",
        "target_middle_name": "MARIE",
        "target_last_name": "DOE",
        "target_entity_type": "individual",
        "is_individual_owner": true,
        "creditor_plaintiff_name": "EXAMPLE MORTGAGE SERVICING LLC",
        "grantor_raw": "DOE, JANE MARIE",
        "grantee_raw": "EXAMPLE MORTGAGE SERVICING LLC",
        "property_address": "1234 EXAMPLE OAK LN, PLANO, TX 75024",
        "parcel_apn": "R-1234-000-0010-1",
        "has_parcel_apn": true,
        "subdivision": "EXAMPLE MEADOWS PH 2",
        "lot_block": "LOT 12 BLK B",
        "legal_description_raw": "LOT 12 BLK B EXAMPLE MEADOWS PH 2 1234 EXAMPLE OAK LN",
        "book_page": "OR 4783/1207",
        "page_count": 4,
        "consideration_amount": 245000.0,
        "has_consideration_amount": true,
        "owner_mailing_address": "456 EXAMPLE MAILING BLVD, PLANO, TX 75024",
        "is_absentee_owner": true,
        "assessed_market_value": 425000,
        "homestead_exempt": false,
        "property_use_class": "single_family",
        "owner_parcel_count": 1,
        "appraisal_match_confidence": 0.95,
        "appraisal_match_method": "owner_plus_legal",
        "county_record_url": "https://collin.tx.publicsearch.us/doc/100000001",
        "scraped_at": "2026-11-16T12:00:00Z"
    }
]
```

***

### Make.com Integration (Free Blueprint for Google Sheets, Airtable & Slack)

Every dataset row is returned as a **flat 49-field key-value object** with zero nested objects and zero `null` values—so Make.com users can map leads into **Google Sheets**, **Airtable**, **HubSpot**, or **Slack** without writing JSON parsers or iterators.

#### Option A: 1-Click Make.com → Google Sheets Blueprint (30-Second Setup)

1. **Create a Google Sheet** (`US Distressed Property Leads`) and paste this tab-separated header row into cell `A1` (fills columns `A`–`R` automatically):

```text
Record ID	Recorded	State	County	Category	Stacked Categories	Score	Priority	Owner Name	First Name	Last Name	Property Address	Mailing Address	Absentee	Assessed Value	Parcel APN	Creditor	County Record URL
```

2. **Copy & save the blueprint JSON below** as `county-clerk-make-sheets.json`:

<details>
<summary><strong>Click to copy Make.com → Google Sheets Blueprint JSON (3 modules, pre-mapped)</strong></summary>

```json
{"name":"US County Clerk Probate, Tax Lien & Foreclosure Leads -> Google Sheets","flow":[{"id":1,"module":"apify:runActorNew","version":1,"parameters":{},"mapper":{"actorId":"lg3WtXhgnfwJeL0MH","runSync":true,"actor_search_type":"store","inputBodylg3WtXhgnfwJeL0MH":"{\n  \"counties\": [\"tx_collin\", \"fl_indian_river\"],\n  \"max_total_leads\": 20,\n  \"enable_deduplication\": true,\n  \"dedup_namespace\": \"make-google-sheets\",\n  \"consolidate_by_owner\": true,\n  \"enrich_property_appraisal\": true\n}"},"metadata":{"designer":{"x":0,"y":0},"restore":{"expect":{"memory":{"mode":"chose","label":"Empty"},"actorId":{"mode":"chose","label":"US Probate, Tax Lien, Lis Pendens & Foreclosure Leads (unique_dev/us-county-probate-tax-lien-foreclosure-leads)"},"runSync":{"mode":"chose"},"actor_search_type":{"label":"Apify Store Actors"}},"parameters":{"__IMTCONN__":{"data":{"scoped":"true","connection":"apify2"},"label":"Select your Apify connection"}}},"parameters":[{"name":"__IMTCONN__","type":"account:apify2,apify","label":"Connection","required":true}],"expect":[{"name":"actor_search_type","type":"select","label":"Search Actors from","required":true,"validate":{"enum":["user","store"]}},{"name":"runSync","type":"boolean","label":"Run synchronously","required":true},{"name":"build","type":"text","label":"Build"},{"name":"timeout","type":"uinteger","label":"Timeout"},{"name":"memory","type":"select","label":"Memory","validate":{"enum":[128,256,512,1024,2048,4096,8192,16384,32768]}},{"name":"actorId","type":"select","label":"Actor","required":true},{"name":"inputBodylg3WtXhgnfwJeL0MH","type":"text","label":"Input JSON","required":true},{"name":"maxTotalChargeUsd","type":"number","label":"Maximum cost per run"},{"name":"maxItems","type":"hidden","label":"Maximum charged results"}]}},{"id":2,"module":"apify:fetchDatasetItems","version":1,"parameters":{},"mapper":{"type":"clean","limit":"100","format":"json","datasetId":"{{1.defaultDatasetId}}"},"metadata":{"designer":{"x":300,"y":0},"restore":{"expect":{"type":{"mode":"chose","label":"Clean"},"format":{"mode":"chose","label":"JSON"}},"parameters":{"__IMTCONN__":{"data":{"scoped":"true","connection":"apify2"},"label":"Select your Apify connection"}}},"parameters":[{"name":"__IMTCONN__","type":"account:apify2,apify","label":"Connection","required":true}],"expect":[{"name":"datasetId","type":"text","label":"Dataset ID","required":true},{"name":"type","type":"select","label":"Data transformation","required":true,"validate":{"enum":["clean","simplified","none"]}},{"name":"format","type":"select","label":"Format","required":true,"validate":{"enum":["json","csv","html","xml","rss","xlsx"]}},{"name":"limit","type":"uinteger","label":"Limit","validate":{"max":100000,"min":1}},{"name":"offset","type":"uinteger","label":"Offset","validate":{"min":0}},{"name":"fields","type":"text","label":"Fields"},{"name":"omit","type":"text","label":"Omit Fields"}]}},{"id":3,"module":"google-sheets:addRow","version":2,"parameters":{},"mapper":{"from":"drive","mode":"select","values":{"0":"{{2.record_id}}","1":"{{2.recording_date}}","2":"{{2.state}}","3":"{{2.county_name}}","4":"{{2.lead_category}}","5":"{{2.stacked_categories_text}}","6":"{{2.distress_score}}","7":"{{2.priority_tier}}","8":"{{2.target_owner_name}}","9":"{{2.target_first_name}}","10":"{{2.target_last_name}}","11":"{{2.property_address}}","12":"{{2.owner_mailing_address}}","13":"{{2.is_absentee_owner}}","14":"{{2.assessed_market_value}}","15":"'{{2.parcel_apn}}","16":"{{2.creditor_plaintiff_name}}","17":"{{2.county_record_url}}"},"sheetId":"Sheet1","spreadsheetId":"","includesHeaders":true,"insertDataOption":"INSERT_ROWS","useColumnHeaders":false,"valueInputOption":"USER_ENTERED","insertUnformatted":false},"metadata":{"designer":{"x":600,"y":0},"restore":{"expect":{"from":{"label":"My Drive"},"mode":{"label":"Search by path"},"sheetId":{"label":"Sheet1"},"spreadsheetId":{"path":["US Distressed Property Leads"]},"includesHeaders":{"label":"Yes"},"insertDataOption":{"mode":"chose","label":"Insert rows"},"useColumnHeaders":{"label":"No"},"valueInputOption":{"mode":"chose","label":"User entered"},"insertUnformatted":{"mode":"chose"}},"parameters":{"__IMTCONN__":{"data":{"scoped":"true","connection":"google"},"label":"Select your Google connection"}}},"parameters":[{"name":"__IMTCONN__","type":"account:google","label":"Connection","required":true}],"expect":[{"name":"mode","type":"select","label":"Search Method","required":true,"validate":{"enum":["select","fromAll","map"]}},{"name":"insertUnformatted","type":"boolean","label":"Unformatted","required":true},{"name":"valueInputOption","type":"select","label":"Value input option","required":true,"validate":{"enum":["USER_ENTERED","RAW"]}},{"name":"insertDataOption","type":"select","label":"Insert data option","validate":{"enum":["INSERT_ROWS","OVERWRITE"]}},{"name":"from","type":"select","label":"Drive","required":true,"validate":{"enum":["drive","share","team"]}},{"name":"spreadsheetId","type":"file","label":"Spreadsheet Name","required":true},{"name":"sheetId","type":"select","label":"Sheet Name","required":true},{"name":"includesHeaders","type":"select","label":"Table contains headers","required":true,"validate":{"enum":[true,false]}},{"name":"useColumnHeaders","type":"select","label":"Use column headers as IDs of the columns","required":true,"validate":{"enum":[true,false]}},{"name":"values","spec":[{"name":"0","type":"text","label":"Record ID (A)"},{"name":"1","type":"text","label":"Recorded (B)"},{"name":"2","type":"text","label":"State (C)"},{"name":"3","type":"text","label":"County (D)"},{"name":"4","type":"text","label":"Category (E)"},{"name":"5","type":"text","label":"Stacked Categories (F)"},{"name":"6","type":"text","label":"Score (G)"},{"name":"7","type":"text","label":"Priority (H)"},{"name":"8","type":"text","label":"Owner Name (I)"},{"name":"9","type":"text","label":"First Name (J)"},{"name":"10","type":"text","label":"Last Name (K)"},{"name":"11","type":"text","label":"Property Address (L)"},{"name":"12","type":"text","label":"Mailing Address (M)"},{"name":"13","type":"text","label":"Absentee (N)"},{"name":"14","type":"text","label":"Assessed Value (O)"},{"name":"15","type":"text","label":"Parcel APN (P)"},{"name":"16","type":"text","label":"Creditor (Q)"},{"name":"17","type":"text","label":"County Record URL (R)"}],"type":"collection","label":"Values in columns","metadata":[[["Record ID","Recorded","State","County","Category","Stacked Categories","Score","Priority","Owner Name","First Name","Last Name","Property Address","Mailing Address","Absentee","Assessed Value","Parcel APN","Creditor","County Record URL"]]]}]}}],"metadata":{"instant":false,"version":1,"scenario":{"roundtrips":1,"maxErrors":3,"autoCommit":true,"autoCommitTriggerLast":true,"sequential":false,"slots":null,"confidential":false,"dataloss":false,"dlq":false,"freshVariables":false},"designer":{"orphans":[]},"zone":"us2.make.com","notes":[]}}
```

</details>

3. **Import in Make.com**: Open **Scenarios** → click **`...` → Import Blueprint** → upload `county-clerk-make-sheets.json` → connect your Apify API token (Modules 1 & 2) and Google account (Module 3), pick your spreadsheet, and turn on a daily schedule.

> **Google Sheets APN tip (already baked into the blueprint):** Long 20-digit Florida parcel APNs (e.g. `33393600004073000013.0`) are mapped as `'{{2.parcel_apn}}` so Google Sheets preserves all 22 digits as plain text instead of rounding them into scientific notation (`3.33936E+19`), while keeping `County Record URL` clickable.

#### Option B: Connect Any Other CRM (Airtable, HubSpot, Slack, Salesforce)

1. Add **Apify → Run an Actor**, select this Actor, set **Run synchronously = Yes**, and optionally set a `dedup_namespace` (for example `"make-airtable"`) so each scenario keeps its own 90-day duplicate history.
2. Add **Apify → Get Dataset Items** and map **Dataset ID** = `{{1.defaultDatasetId}}` (Make outputs one flat bundle per lead automatically—no Iterator required).
3. Drag and drop flat fields directly into your destination app (`record_id`, `recording_date`, `county_name`, `state`, `lead_category`, `stacked_categories_text`, `distress_score`, `priority_tier`, `target_owner_name`, `property_address`, `owner_mailing_address`, `is_absentee_owner`, `assessed_market_value`, `parcel_apn`, `county_record_url`).

***

### MCP & `x402` Autonomous Agent Compatibility

This Actor is engineered for **Apify MCP** and **stateless `x402` micro-payment callers**:

- **`usesStandbyMode: false`** with **`128 MB` min / `256 MB` default / `512 MB` max** RAM.
- **Zero required fields (`"required": []`)** and zero proxy or cookie inputs exposed in the schema.
- **`Limited permissions` & `x402` KV Fallback**: When executed with restricted token permissions where Named Key-Value Store access returns HTTP `401` or `403`, the deduplicator gracefully falls back to the run's Default Key-Value Store and in-memory deduplication without failing the run.
- Use `"playbook_preset": "mcp_x402_micro_sample"` for fast, bounded 10-lead tool calls.

#### Copy-Paste MCP / Apify AI Prompt Examples

- **Targeted investor lead pull (isolated client namespace):**
  > `Run US Probate, Tax Lien, Lis Pendens & Foreclosure Leads for Texas counties tx_collin and tx_dallas over the last 7 days, returning up to 20 individual-owner pre-foreclosure and probate leads with min_distress_score 70 using dedup_namespace "client-dallas".`
- **Quick zero-pollution preview:**
  > `Run US Probate, Tax Lien, Lis Pendens & Foreclosure Leads with playbook_preset "mcp_x402_micro_sample" and enable_deduplication set to false, then summarize the top 10 distressed leads by distress_score and county.`

***

### Webhook Delivery & HMAC-SHA256 Verification

When `webhook_url` (`https://` required) is supplied, newly charged leads are posted in batches of up to `100` items with HTTP redirects disabled (`follow_redirects=False`) and strict DNS/IP SSRF blocking (loopback, RFC1918 private, link-local, CGNAT `100.64.0.0/10`, and cloud metadata `169.254.169.254` addresses are rejected).

If `webhook_secret` is configured, every request includes header `X-ClerkLeads-Signature-256: sha256=<hex_digest>` computed as an HMAC-SHA256 over the raw UTF-8 JSON request body:

```python
import hashlib
import hmac

def verify_clerk_leads_signature(raw_body: bytes, header_value: str, secret: str) -> bool:
    expected = "sha256=" + hmac.new(
        secret.encode("utf-8"),
        raw_body,
        hashlib.sha256,
    ).hexdigest()
    return hmac.compare_digest(expected, header_value)
```

***

### Public Records & Compliance Disclaimer

- Aggregates publicly recorded US county clerk land indices only (no SSNs, credit reports, phone numbers, email addresses, or private consumer data).
- Buyers are solely responsible for compliance with TCPA, federal and state Do-Not-Call (DNC) registries, CAN-SPAM, and applicable state real estate solicitation and privacy laws when contacting property owners.
- Recorded clerk instruments are provided as-is for research and workflow automation and do not constitute legal or title advice.

***

### FAQ & Support

- **Zero CAPTCHA / WAF Bypass**: All 20 included counties are publicly accessible without CAPTCHAs or login paywalls. If any portal dynamically introduces a WAF or CAPTCHA challenge, the Actor immediately aborts that county cleanly at **`$0.00`** cost without attempting any bypass.
- **What happens if a county portal is down?** That county is skipped at **`$0.00`** and every other county still delivers. The run's status line in Console says exactly which counties were unavailable and why (e.g. `20 new leads from 2 of 3 counties. Unavailable, no charge: tx_collin (portal error).`), and the same text is saved as `status_message` in `RUN_SUMMARY`. For the default `{}` run, an unavailable starter county is automatically replaced by a healthy one from another platform. Scheduled runs with `lookback_days: 7` catch up on filings missed during outages shorter than a week, and already-delivered leads are never charged twice.
- **Support & Programmatic Access**: Check the **API** tab for REST/SDK endpoints and `RUN_SUMMARY` retrieval, or open a ticket in the **Issues** tab for county requests or bug reports.

# Actor input Schema

## `playbook_preset` (type: `string`):

Optional ready-made strategy preset (Wholesaler, Probate, Tax/HOA Stacker, Lender/Title, or Micro-Sample). Leave as 'Custom' to configure manually—any field you fill in below automatically overrides the preset.

## `states` (type: `array`):

Optional 2-letter US state codes (e.g. TX, FL, AZ, CO, GA, MI). Combines with Target Counties below. Leave both States and Counties empty to automatically poll the 3-county starter pack (tx_collin, fl_indian_river, az_yavapai). Defaults to empty \[].

## `counties` (type: `array`):

Optional county codes to search (e.g. tx_collin, tx_dallas, fl_indian_river, fl_hernando, fl_citrus, ga_dekalb, az_yavapai, co_arapahoe, mi_muskegon). Combines with Target US States. Leave both empty to use the 3-county starter pack. Defaults to empty \[].

## `vendor_types` (type: `array`):

Optional advanced filter to limit runs to specific county clerk portal systems. Leave empty to search all supported portals (recommended; default: \[]).

## `custom_kofile_domains` (type: `array`):

Optional advanced setting: add extra Kofile/GovOS PublicSearch county hostnames outside the built-in 20 counties (e.g. brazos.tx.publicsearch.us). Leave empty unless adding custom domains (validated against ^\[a-z0-9-]+(?:.\[a-z]{2})?.publicsearch.us$).

## `lead_categories` (type: `array`):

Types of distressed property filings to collect (defaults to all 6 distressed categories in Custom mode). Select 'All Recorded Documents' only if you also want regular deeds and mortgages ($0.008/record).

## `include_releases` (type: `boolean`):

Keep unchecked (default: false) to automatically remove paid-off lien releases, satisfactions, cancellations, and dismissals. Check true only if you want releases included ($0.008/record).

## `only_individual_owners` (type: `boolean`):

Check true to exclude LLCs, corporations, banks, HOAs, and government agencies—keeping only individual homeowners and estates ready for outreach (default: false in Custom mode).

## `min_distress_score` (type: `integer`):

Only return leads at or above this 0-100 motivation score (0 = all leads, 70+ = high priority, 85+ = critical). Defaults to 0 in Custom mode, or the selected preset's threshold.

## `lookback_days` (type: `integer`):

How many days back from today (UTC) to search recorded filings (1-90). Ignored if Start Date is set. Defaults to 7 days in Custom mode.

## `start_date` (type: `string`):

Optional exact inclusive recording start date (YYYY-MM-DD). Leave blank to use Lookback Days automatically.

## `end_date` (type: `string`):

Optional exact inclusive recording end date (YYYY-MM-DD). Leave blank to default to today (UTC). Max 90-day span from Start Date.

## `max_leads_per_county` (type: `integer`):

Maximum candidate leads kept per county in a single run (1-5000). Defaults to 100.

## `max_total_leads` (type: `integer`):

Maximum new leads billed and delivered across all counties in one run (1-10000). Defaults to 20 (~$0.60-$1.20 preview) in Custom mode (10 in Micro-Sample). Increase for larger runs.

## `enable_deduplication` (type: `boolean`):

Keep checked (default: true) so scheduled Make.com or Apify runs never deliver or charge twice for the same filing over 90 days. Uncheck only for one-off test runs.

## `consolidate_by_owner` (type: `boolean`):

Keep checked (default: true) to merge multi-document packets for the same owner and category in the same county (such as 3-4 sequential probate filings) into one clean row and one single charge.

## `enrich_property_appraisal` (type: `boolean`):

Keep checked (default: true) to look up official county tax appraisal rolls (Wave 1A: tx_collin, tx_dallas, fl_indian_river, fl_hernando, fl_citrus) and fill in street property_address, owner_mailing_address, is_absentee_owner, assessed_market_value, homestead_exempt, and property_use_class. No user API key needed. Fair billing: $0.06 only when matched (>=0.75) with a street address; unmatched or excluded counties (e.g. az_yavapai) stay at $0.03.

## `dedup_namespace` (type: `string`):

Optional tag to keep 90-day duplicate history separate per client or Make.com scenario (e.g. 'client-acme' or 'dallas-sheets'). Leave as 'default' for a single shared history (stored in 'county-clerk-leads-dedup-<tag>', max 63 chars).

## `webhook_url` (type: `string`):

Optional HTTPS endpoint (such as a Make.com Custom Webhook URL) to receive batched JSON lead payloads (100 leads per request). Leave blank if using Make.com's native 'Apify -> Get Dataset Items' module. Public HTTPS URLs only (private IPs and redirects blocked).

## `webhook_secret` (type: `string`):

Optional shared secret used to sign direct webhook payloads with header X-ClerkLeads-Signature-256 (HMAC-SHA256). Leave blank if not verifying signatures.

## Actor input object example

```json
{
  "playbook_preset": "wholesaler_pre_foreclosure",
  "states": [
    "TX",
    "FL"
  ],
  "counties": [
    "tx_collin",
    "fl_indian_river",
    "az_yavapai"
  ],
  "vendor_types": [],
  "custom_kofile_domains": [
    "brazos.tx.publicsearch.us"
  ],
  "lead_categories": [
    "pre_foreclosure",
    "probate_heirship",
    "tax_lien",
    "hoa_mechanics_lien",
    "judgment_abstract",
    "foreclosure_tax_deed"
  ],
  "include_releases": false,
  "only_individual_owners": false,
  "min_distress_score": 0,
  "lookback_days": 7,
  "start_date": "2026-11-01",
  "end_date": "2026-11-16",
  "max_leads_per_county": 25,
  "max_total_leads": 20,
  "enable_deduplication": true,
  "consolidate_by_owner": true,
  "enrich_property_appraisal": true,
  "dedup_namespace": "client-acme",
  "webhook_url": "https://hooks.example.com/county-clerk-leads"
}
```

# Actor output Schema

## `leads` (type: `string`):

Normalized 40-field county clerk leads formatted for skip-tracing, CRM import, and AI agent consumption.

## `runSummary` (type: `string`):

JSON execution summary covering per-county health, deduplication counts, PPE billing totals, and warnings.

# 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 = {
    "states": [],
    "counties": [],
    "lead_categories": [
        "pre_foreclosure",
        "probate_heirship",
        "tax_lien",
        "hoa_mechanics_lien",
        "judgment_abstract",
        "foreclosure_tax_deed"
    ],
    "only_individual_owners": false,
    "min_distress_score": 0,
    "lookback_days": 7,
    "max_leads_per_county": 25,
    "max_total_leads": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("unique_dev/us-county-probate-tax-lien-foreclosure-leads").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 = {
    "states": [],
    "counties": [],
    "lead_categories": [
        "pre_foreclosure",
        "probate_heirship",
        "tax_lien",
        "hoa_mechanics_lien",
        "judgment_abstract",
        "foreclosure_tax_deed",
    ],
    "only_individual_owners": False,
    "min_distress_score": 0,
    "lookback_days": 7,
    "max_leads_per_county": 25,
    "max_total_leads": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("unique_dev/us-county-probate-tax-lien-foreclosure-leads").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 '{
  "states": [],
  "counties": [],
  "lead_categories": [
    "pre_foreclosure",
    "probate_heirship",
    "tax_lien",
    "hoa_mechanics_lien",
    "judgment_abstract",
    "foreclosure_tax_deed"
  ],
  "only_individual_owners": false,
  "min_distress_score": 0,
  "lookback_days": 7,
  "max_leads_per_county": 25,
  "max_total_leads": 20
}' |
apify call unique_dev/us-county-probate-tax-lien-foreclosure-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,unique_dev/us-county-probate-tax-lien-foreclosure-leads"
        }
    }
}
```

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/lg3WtXhgnfwJeL0MH/builds/ZZy9NdgwmEm4iTE8T/openapi.json
