# Texas Foreclosure Notices (Pre-Foreclosure Leads) (`finaldynamics/texas-foreclosure-notices`) Actor

Texas foreclosure notices (notices of trustee sale) newly filed with 37 county clerks, by filing date: Dallas, Tarrant, Bexar, Denton, Hidalgo and more. Property address, sale date and names where the county lists them.

- **URL**: https://apify.com/finaldynamics/texas-foreclosure-notices.md
- **Developed by:** [Final Dynamics](https://apify.com/finaldynamics) (community)
- **Categories:** Lead generation, Real estate
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 83.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 foreclosure notices

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

## Texas Foreclosure Notices (Pre-Foreclosure Leads)

In Texas, most home foreclosures happen without a lawsuit. The lender's trustee files a **notice of
trustee sale** (a foreclosure notice) with the county clerk at least 21 days before the sale. The
sale is held on the first Tuesday of the month, or on the Wednesday when that Tuesday is 1 January
or 4 July (Texas Property Code 51.002). The notice is usually the first public record that a
property is heading to auction, which makes it a pre-foreclosure lead.

This actor lists the foreclosure notices newly filed with **37 Texas county clerks**, including
Dallas, Tarrant (Fort Worth), Bexar (San Antonio), Denton, Hidalgo, Cameron, Nueces (Corpus
Christi), Johnson and Jefferson (Beaumont). Each row has the filing date and, where the county lists
them online, the property address, the sale day or month, and the names on the notice. In the two
weeks to 7 November 2026, 739 notices were filed in 29 of the 37 counties.

Run it weekly with **Only notices not delivered before** and a 14-day window, and you get each new
notice once, including ones the county put online late (see
[Weekly list of new notices](#weekly-list-of-new-notices)).

It is built for real estate investors and wholesalers who already have a way to look up owners and
contact details, and want a weekly list of new filings in their market.

### What you get

One row per notice. `grantors` and `grantees` are lists of names. Every other field holds one value
(text or a number) or is empty, so the results import into Google Sheets, Airtable or a CRM.

| Field              | Example                                      | What it is                                                      |
| ------------------ | -------------------------------------------- | --------------------------------------------------------------- |
| `county`           | `Dallas`                                     | The county                                                      |
| `recordedDate`     | `2026-10-27`                                 | The day the clerk filed the notice                              |
| `saleDate`         | `2026-12-01`                                 | The sale day, where the county shows it (most counties)         |
| `saleMonth`        | `2026-12`                                    | The sale month, where the county shows the day or the month     |
| `propertyAddress`  | `100 EXAMPLE ST, DALLAS, TX, 75201`          | The property address as one line                                |
| `street`           | `100 EXAMPLE ST`                             | Street line. City, state and ZIP are separate fields.           |
| `legalDescription` | `LOT 1 BLOCK 2 SAMPLE ADDITION`              | Lot, block, tract or acreage, where the county gives one        |
| `grantors`         | `["JANE SAMPLE", "JOHN SAMPLE"]`             | The names the county lists on the notice, usually the borrowers |
| `grantees`         | `["SAMPLE MORTGAGE LLC"]`                    | The other party the county lists, usually the lender or trustee |
| `saleRemarks`      | `10AM; AREA OUTSIDE THE COURTHOUSE`          | The sale time and place (Bexar)                                 |
| `documentNumber`   | `202600001234`                               | The clerk's document number                                     |
| `docType`          | `NOTICE OF FORECLOSURE`                      | The document type as the county names it                        |
| `pageCount`        | `3`                                          | Pages in the filed notice                                       |
| `sourceUrl`        | Link                                         | Opens the notice's page on the county's records website         |
| `dateFilter`       | `filing date (read from Dallas's sale list)` | Which date your dates were matched against in this county       |
| `observedAt`       | `2026-11-06T14:00:00.000Z`                   | When the run collected the notice (date and time in UTC)        |

Anything a county does not publish is left empty, and `grantors` and `grantees` are empty lists
where the county gives no names. Texas is written `TX` in `state` in every county.

### Counties and what they show

Counties list foreclosure notices differently online. Some give the street address on nearly every
notice; many give only the document number, the filing date and the sale date. Pick the counties you
need, and turn on **Only notices with a street address** if notices without one are no use to you:
they are then left out and not charged.

Notice counts are for 25 October to 7 November 2026. Address shares are from each county's recent
notices as listed on 7 November 2026.

| County (seat)              | Notices filed 25 Oct-7 Nov 2026 | Street address                         | Names | Sale date  | How the county is searched |
| -------------------------- | ------------------------------- | -------------------------------------- | ----- | ---------- | -------------------------- |
| Anderson (Palestine)       | 3                               | No                                     | No    | Day        | By sale date               |
| Bee (Beeville)             | 3                               | Most (3 of 4)                          | No    | Day        | By sale date               |
| Bexar (San Antonio)        | 192                             | Yes                                    | No    | Day        | By sale date               |
| Blanco (Johnson City)      | 1                               | Most (3 of 3; 61 of 100 older)         | No    | Day        | By filing date             |
| Brazos (Bryan)             | 6                               | No                                     | No    | Day        | By sale date               |
| Burleson (Caldwell)        | 1                               | No; many lot, block or acreage         | No    | Day        | By sale date               |
| Cameron (Brownsville)      | 34                              | Rarely                                 | No    | Day        | By sale date               |
| Coleman (Coleman)          | 1                               | No                                     | No    | No         | By filing date             |
| Dallas (Dallas)            | 72                              | Most (57%)                             | No    | Day        | By sale date               |
| Denton (Denton)            | 78                              | No                                     | No    | Day        | By sale date               |
| Gillespie (Fredericksburg) | 0                               | No; many lot, block or acreage         | No    | Day        | By filing date             |
| Goliad (Goliad)            | 0                               | Yes (20 of its 20 newest)              | No    | Day        | By sale date               |
| Grayson (Sherman)          | 14                              | No                                     | No    | Day        | By sale date               |
| Grimes (Anderson)          | 4                               | No                                     | No    | Day        | By sale date               |
| Hidalgo (Edinburg)         | 37                              | No                                     | No    | Day        | By sale date               |
| Hockley (Levelland)        | 2                               | No                                     | Yes   | No         | By filing date             |
| Jefferson (Beaumont)       | 22                              | Some (9%)                              | No    | Day        | By filing date             |
| Jim Wells (Alice)          | 1                               | No; many lot, block or acreage         | Yes   | Day        | By sale date               |
| Johnson (Cleburne)         | 27                              | Most (61%); many lot, block or acreage | No    | Day        | By sale date               |
| Kendall (Boerne)           | 2                               | No                                     | No    | Day        | By sale date               |
| Live Oak (George West)     | 0                               | No                                     | No    | Day        | By sale date               |
| Matagorda (Bay City)       | 0                               | No                                     | Yes   | Day        | By sale date               |
| Medina (Hondo)             | 11                              | No                                     | No    | Day        | By sale date               |
| Midland (Midland)          | 17                              | Some (24%)                             | No    | Day        | By sale date               |
| Montgomery (Conroe)        | 1                               | No                                     | No    | Month      | By filing date             |
| Nacogdoches (Nacogdoches)  | 1                               | No                                     | No    | Day        | By sale date               |
| Nueces (Corpus Christi)    | 30                              | Rarely; many lot, block or acreage     | No    | Day        | By sale date               |
| Reeves (Pecos)             | 0                               | No; many lot, block or acreage         | No    | Day        | By sale date               |
| Refugio (Refugio)          | 0                               | Yes (18 of its 20 newest)              | No    | Day        | By sale date               |
| Rusk (Henderson)           | 0                               | Rarely (1 of its 20 newest)            | No    | Day (some) | By sale date               |
| San Patricio (Sinton)      | 5                               | Most (14 of 21); rest lot or acreage   | No    | Day        | By sale date               |
| Smith (Tyler)              | 19                              | No                                     | No    | Day        | By sale date               |
| Starr (Rio Grande City)    | 4                               | No                                     | No    | Day        | By sale date               |
| Tarrant (Fort Worth)       | 139                             | Most (65%); many lot, block or acreage | Yes   | Month      | By filing date             |
| Walker (Huntsville)        | 6                               | No                                     | No    | Day        | By sale date               |
| Wilson (Floresville)       | 6                               | Most (6 of 11)                         | No    | Day        | By sale date               |
| Zapata (Zapata)            | 0                               | No                                     | No    | Day        | By sale date               |

- **Street address.** "Most (57%)" means 57% of that county's notices have a street address. The
  rest have a lot and block or acreage in `legalDescription`, only a city, or nothing. The actor
  adds nothing the county does not list. Where a county gives no address, `sourceUrl` opens the
  notice's page on the county's records website, or you can look the property up from the legal
  description.
- **Names.** Tarrant, Hockley, Jim Wells and Matagorda list the names on their recent notices.
  Elsewhere `grantors` is usually empty (Gillespie has names on some older notices); the names are
  in the filed notice itself, which this actor does not open.
- **Sale date.** Most counties list the sale day. Tarrant and Montgomery list only the month, and
  Coleman and Hockley no sale date at all. Where a county lists a "sale date" earlier than the
  filing date, it cannot be the sale, so `saleDate` is left empty.
- **How the county is searched.** Your dates always mean "filed with the clerk between these days".
  Counties marked "By filing date" are searched for exactly your dates. The others ("By sale date")
  can only be searched by sale date, so the run reads the county's whole list of upcoming sales and
  keeps the notices filed in your dates. Notices from those counties say so in `dateFilter`.
- **Not included.** Harris, Travis, Collin, Fort Bend, El Paso and Williamson publish foreclosure
  notices on other websites this actor does not cover. Chambers County is not included yet: its
  records website cannot be searched by date, and this actor has no other way to search it.

If a notice has no filing date the run can read, it is left out and counted in the run summary.
Documents that void a notice (`VOID FORECLOSURE`) are left out and counted too.

### Quick start

1. Pick your counties, or **All 37 counties**, and keep the last 7 days or pick your own dates.
2. Click **Start** and wait until the run shows **Succeeded**. A run of all 37 counties takes about
   three minutes.
3. Open the **Output** tab, then **Export** to CSV or Excel.

### Inputs

The input form also has a **JSON** tab, which shows the same settings as text you can copy or paste.
This example searches Dallas, Tarrant and Bexar for notices filed 26 to 30 October 2026:

```json
{
  "counties": ["dallas", "tarrant", "bexar"],
  "lastDays": 0,
  "dateFrom": "2026-10-26",
  "dateTo": "2026-10-30",
  "onlyWithAddress": true,
  "maxResults": 500
}
```

The name in parentheses after each setting below is its name on the JSON tab.

- **Counties** (`counties`): pick counties from the list, or **All 37 counties**. On the JSON tab,
  write county names in lower case without spaces (`dallas`, `sanpatricio`, `jimwells`), or
  `["all"]` for every county. If you start runs from your own code or another tool and leave this
  out, the run searches Tarrant and Bexar.
- **Days back from today** (`lastDays`): the last N days ending today, Texas time, up to 92. Set it
  to 0 to use **Filed from** and **Filed to** (`dateFrom`, `dateTo`). If you enter dates while this
  is above 0, the run stops with a message instead of ignoring your dates. A range can cover up to
  92 days.
- **Maximum notices** (`maxResults`): the most notices delivered and charged in one run, across all
  counties. The oldest filings come first.
- **Include sales already past** (`includePastSales`): off by default, so notices whose sale day has
  passed are left out. Where a county shows only the sale month (Tarrant, Montgomery), this month's
  sales stay in until the month ends, even after the sale day. Notices with no sale date are always
  kept. Turn it on to research older filings.
- **Only notices with a street address** (`onlyWithAddress`): off by default. On, notices where the
  county lists no street address are left out and not charged.

#### Weekly list of new notices

Schedule a weekly run (**Schedules** in Apify Console) with **Only notices not delivered before**
(`newOnly`) and a **Store for delivered notices** (`stateStoreId`). In that field, pick a key-value
store: a storage space in your Apify account where the run keeps its list of delivered notices. If
you have none, create one under **Storage** in Apify Console first.

On the JSON tab, a weekly run of every county looks like this:

```json
{
  "counties": ["all"],
  "lastDays": 14,
  "newOnly": true,
  "stateStoreId": "YOUR_STORE_ID",
  "maxResults": 1000
}
```

The first run covers the whole 14 days (about 740 notices for all 37 counties, about $3.71), so this
example raises **Maximum notices** above the default 500. After that, each weekly run is about 370
new notices.

The run remembers which notices it delivered, per county, for 400 days after delivery, and the next
run skips them. A 14-day window on a weekly schedule also picks up notices that the county put
online late, and you are not charged twice for them.

- Use a separate store for each schedule you want kept apart.
- Do not start two runs on one store at the same time. If a run finds another run using the same
  store, it stops (before it searches, or before it charges) and says which run is using the store.
  Apify's storage gives no way to make that check certain, so two runs on one store at the same time
  can still deliver and charge the same notices twice.
- To start over, use a new empty store, or open this store under **Storage** and delete the entry
  named `STATE`, which holds the list of delivered notices.

### Automate it

**A weekly list:** use the weekly settings from
[Weekly list of new notices](#weekly-list-of-new-notices), click **Save as a new task**, then add a
schedule for the task under **Schedules**. After the first run, each run delivers only the new
notices, about 370 a week for all 37 counties in the two weeks to 7 November 2026.

**Into Google Sheets with n8n:** add the **Apify** node with the **On new Apify Event** trigger,
choose your task and the succeeded event, then add an **Apify** node with **Get Dataset Items**
using the run's `defaultDatasetId`, and finish with a **Google Sheets** node that appends the rows.
Every scheduled run then adds its new notices to the same sheet. Make and Zapier have Apify
integrations that work the same way.

### FAQ

**How do I find pre-foreclosure leads in Texas?**

Run this actor for your counties and the days you want. Each run returns the foreclosure notices
(notices of trustee sale) newly filed with those county clerks. Every row has the filing date, and
most counties list the sale day. Some counties list the street address, and four list the names on
the notice (see [Counties and what they show](#counties-and-what-they-show)). Phone numbers and
email addresses are not included.

**When are foreclosure sales held in Texas?**

On the first Tuesday of the month, or on the Wednesday when that Tuesday is 1 January or 4 July
(Texas Property Code 51.002). The notice is filed with the county clerk at least 21 days before the
sale.

**Can I get a list of new Texas foreclosure notices every week?**

Yes. Schedule a weekly run with the settings in
[Weekly list of new notices](#weekly-list-of-new-notices): **Only notices not delivered before**, a
store for delivered notices and a 14-day window. After the first run, each run delivers only new
notices.

**Which Texas counties are covered?**

37 county clerks, including Dallas, Tarrant (Fort Worth), Bexar (San Antonio), Denton and Hidalgo.
Harris (Houston), Travis (Austin), Collin, Fort Bend, El Paso and Williamson are not included.

### Related actors

- [Florida Lis Pendens, Pre-Foreclosure & Deed Leads](https://apify.com/finaldynamics/florida-pre-foreclosure-leads):
  lis pendens and deeds by recording date, from five Florida county clerks' official records.
- [Florida Probate Leads: Hillsborough County (Tampa)](https://apify.com/finaldynamics/florida-probate-leads):
  new probate court cases from the Hillsborough County Clerk, with the decedent, petitioner and
  attorneys.

Questions, or a notice that looks wrong? Open an issue on the actor page and include the document
number.

### When a run stops early or a county fails

- **Maximum notices or maximum cost reached.** The run stops and says so in its status. The notices
  it delivered count as delivered. With **Only notices not delivered before**, run again with the
  same input and it continues with the rest. Without it, raise **Maximum notices** or the run's
  maximum cost and run again. The new run delivers and charges the first notices again.
- **One county's website is down or blocks the search.** The other counties still deliver. The
  failed county is not charged. The run's status starts "Partly complete", names the failed counties
  and says how to retry them: run again with **Counties** set to just those counties. That retry
  costs the $0.01 run fee plus its notices.
- **Every county fails.** The run fails and nothing is charged.
- **A county's list changes while the run is reading it** (a notice is added meanwhile). The run
  reads that county again once. If its results still do not add up, that county fails rather than
  deliver an incomplete list.
- **Notices were charged but not saved to the run's results.** This is rare. The run keeps trying
  for up to about seven minutes. If they are still not saved, the run fails and its status says how
  many notices were charged but not saved (or not confirmed saved). **Resurrect** the run (restart
  it from its page in Apify Console): it saves exactly those notices without a new charge, even if
  the county no longer lists one of them. A new run would charge for them again, or would not
  deliver them if it uses Only notices not delivered before.
- **With Only notices not delivered before**, a notice is added to your store's list of delivered
  notices just before it is charged, so a later run never charges it again, even if the run that
  charged it failed. If that run did not confirm delivering some notices, the next run skips them
  and its status names the run to resurrect to receive them. A notice that run already paid for is
  not charged again; one it added to the list but had not charged yet is charged once, when the
  resurrected run delivers it.

The **Run summary**, shown on the run's **Output** tab, has the counts per county: notices found,
without a readable filing date, filed outside your dates, past sales left out, without a street
address left out, void documents left out, already delivered, delivered, and any error. For counties
searched by sale date, "found" counts every sale on the county's list of upcoming sales that the run
read, and most of them were filed outside your dates. A notice can be in the results twice when the
run could not confirm a save and sent it again, and both went through. It is charged once, and the
duplicate rows are counted in the Run summary as `duplicateRows`.

### Pricing

You pay per run and per notice:

- $0.01 per run, charged once the first county's website answers the search. A run that reaches no
  county is free. A run that finds no new notices still costs $0.01, and so does each retry of a
  failed county.
- $0.005 per notice delivered ($5 per 1,000). Notices left out by **Only notices with a street
  address** are not charged.

From the two weeks to 7 November 2026: a weekly run of all 37 counties is about 370 notices, about
$1.86. Dallas alone is about 36 a week ($0.19), Tarrant about 70 ($0.36).

### Good to know

- **A filed notice does not prove the sale is still on.** Borrowers cure, sell, file bankruptcy or
  agree a payment plan, and lenders postpone or cancel sales without filing anything new. Check with
  the trustee or the county before you act. This actor does not mark postponed or cancelled sales:
  what the counties list online shows no sale status.
- **What the county lists, not the notice itself.** The actor collects what each county's records
  website lists for a notice, not the filed document. The document usually has more: the property
  description, the borrower and the sale time and place. `sourceUrl` opens its page on the county's
  website.
- **Late listings.** A notice appears on the county's website once the clerk has entered it, which
  can be days after it was filed. Weekly runs with a 14-day window and **Only notices not delivered
  before** catch late ones.
- **Search size.** For a county searched by sale date, this actor reads up to 5,000 sales in one run
  (Bexar, the largest, had 547 upcoming sales on 6 November 2026). With **Include sales already
  past** on and filing dates far back, the run reads older sales too and the list can go over 5,000;
  that county then fails with a message to choose filing dates closer to today.
- The data comes from the counties' public records websites. It is what the county lists for each
  notice, not the notice document itself, and it is not legal advice.

# Actor input Schema

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

Texas counties to search, or All 37 counties. Each county is marked with what its online records usually show for a notice: an address on nearly every notice, on most, on some, or no address. Notices without an address still have the document number, the filing date, a link to the notice's page on the county's website and, in most counties, the sale date (Coleman and Hockley list none). Your dates always mean the filing date. Most counties can only be searched by sale date, so the run reads their list of upcoming sales and keeps the notices filed in your dates. If one county fails, the others still deliver and the failed one is not charged.

## `lastDays` (type: `integer`):

Search notices filed in this many calendar days ending today (Texas time), up to 92. Set 0 to use Filed from and Filed to instead; with dates entered and this above 0, the run stops with a message rather than ignore your dates.

## `dateFrom` (type: `string`):

First filing date to include, as year-month-day, for example 2026-10-26. Used only when Days back from today is 0. The range can cover up to 92 days.

## `dateTo` (type: `string`):

Last filing date to include, as year-month-day (2026-10-30), on or after Filed from. Used only when Days back from today is 0.

## `newOnly` (type: `boolean`):

For weekly schedules: skip notices that an earlier run already delivered, remembered per county in the store below for 400 days after delivery. Notices delivered by a run that stopped at Maximum notices or its maximum cost count as delivered, so the next run continues with the rest. To start over, use a new empty store, or open this store under Storage and delete the entry named STATE, which holds the list of delivered notices.

## `stateStoreId` (type: `string`):

Needed for Only notices not delivered before. Pick a key-value store: a storage space in your Apify account where the run keeps its list of delivered notices. If you have none, create one under Storage in Apify Console. Use a separate store for each schedule you want kept apart, and do not start two runs on one store at the same time: a run that finds another run using the store stops, but that check is not certain, and two runs on one store at the same time can deliver and charge the same notices twice.

## `maxResults` (type: `integer`):

Most notices delivered (and charged) in one run, across all counties. Oldest filings come first.

## `includePastSales` (type: `boolean`):

Off: leave out notices whose sale day has passed. In Tarrant and Montgomery, which show only the sale month, this month's sales stay in until the month ends, even after the sale day. Notices with no sale date (Coleman, Hockley) are always kept. On: deliver them too, for example to research older filings.

## `onlyWithAddress` (type: `boolean`):

On: leave out (and do not charge for) notices where the county lists no street address, such as every notice in Denton or Hidalgo, or a Tarrant notice listed by lot and block. Off: deliver every notice, with the address fields empty where the county gives none.

## Actor input object example

```json
{
  "counties": [
    "dallas",
    "tarrant",
    "bexar"
  ],
  "lastDays": 7,
  "dateFrom": "",
  "dateTo": "",
  "newOnly": false,
  "maxResults": 500,
  "includePastSales": false,
  "onlyWithAddress": false
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "counties": [
        "dallas",
        "tarrant",
        "bexar"
    ],
    "lastDays": 7,
    "newOnly": false,
    "maxResults": 500,
    "includePastSales": false,
    "onlyWithAddress": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("finaldynamics/texas-foreclosure-notices").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 = {
    "counties": [
        "dallas",
        "tarrant",
        "bexar",
    ],
    "lastDays": 7,
    "newOnly": False,
    "maxResults": 500,
    "includePastSales": False,
    "onlyWithAddress": False,
}

# Run the Actor and wait for it to finish
run = client.actor("finaldynamics/texas-foreclosure-notices").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 '{
  "counties": [
    "dallas",
    "tarrant",
    "bexar"
  ],
  "lastDays": 7,
  "newOnly": false,
  "maxResults": 500,
  "includePastSales": false,
  "onlyWithAddress": false
}' |
apify call finaldynamics/texas-foreclosure-notices --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,finaldynamics/texas-foreclosure-notices"
        }
    }
}
```

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/Z4GckfxgjpL6lad4W/builds/hWfDhClmZ9GOjIw4m/openapi.json
