# Redfin Scraper (`datahamster/redfin-scraper`) Actor

Redfin scraper for US homes for sale, sold and for rent: paste a Redfin search URL or type a city or ZIP. Price, beds, baths, sqft, lot, year built, $/sqft, HOA, days on market, MLS id, sold price and date, photos. Monitor alerts on new listings and price changes.

- **URL**: https://apify.com/datahamster/redfin-scraper.md
- **Developed by:** [Viktor Dubnytskiy](https://apify.com/datahamster) (community)
- **Categories:** Real estate
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 result items

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

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Redfin Scraper

Get Redfin homes for sale, sold homes and rentals as flat rows: address, price, beds, baths, square feet, lot size, year built, price per square foot, HOA, status, days on market, MLS number, coordinates, sold date and sold price, photos, key facts and the description. Paste any Redfin search URL with your filters, or type a city or ZIP code. No account and no cookies. Monitor mode turns a search into an alert on new listings, price cuts and status changes.

**Try it:** the prefilled example returns 20 rows in about 6 seconds and costs about $0.020. Results cost $1.00 per 1,000.

Coverage: US homes on redfin.com. Redfin answers 350 homes per request and a search is read to its end (Los Angeles city, 10,555 homes for sale, in 31 requests on 2026-11-05), up to `maxResultsPerSearch`. Rentals are mostly apartment buildings with rent, bed and size ranges. Agent and owner names and phone numbers are never collected; the brokerage company comes with `includeDetails`.

### Why this one

Compared with the most-used Redfin actors in the Store (`tri_angle/redfin-search`, 110 monthly users, and `epctex/redfin-scraper`), checked 2026-11-05:

- **Alerts on new listings, price cuts and status changes.** Monitor mode keeps state per search and returns only homes that are new to the search, or whose price or status (Active, Pending, Closed ...) changed, with the previous values, and can post them to a webhook or Telegram. Neither actor has a monitor mode, change field or alert target in its input.
- **Type a place, no URL needed.** `locations` takes "Austin, TX", a ZIP code, a neighborhood or a county and searches it with your filters: for sale, sold within 1 week to 5 years, or for rent, price range, beds, baths and home types. `tri_angle/redfin-search` takes only search URLs; `epctex/redfin-scraper` takes a keyword and a sale/rent/sold mode but has no price, beds, baths or home-type filter.
- **Paste a search, keep every filter.** A pasted Redfin URL is turned into Redfin's own search parameters, so every filter you set on redfin.com applies, and the input filters can override single ones (e.g. a new `maxPrice`) without editing the URL.
- **Sold comps in the row.** Sold searches give `soldDate` and `soldPrice`; for-sale rows carry `lastSoldDate`, `daysOnMarket` and `listedAt`.
- **Price.** $1.00 per 1,000 homes, the same as `epctex/redfin-scraper` ($1.00). `tri_angle/redfin-search` is cheaper: $0.50 per 1,000 plus $0.0035 per run on the Free plan ($0.40 on Gold); here Silver pays $0.90 and Gold $0.80. Platform usage is billed by Apify on top (a 512 MB run, a few cents per 10,000 homes).

### What you get

Real rows from the prefilled example (Austin houses $300k-600k, 3+ beds):

| address | status | price | beds / baths | sqft | $/sqft | built | MLS# |
|---|---|---|---|---|---|---|---|
| 12103 Bell Ave, Austin, TX 78727 | Active | $450,000 | 3 / 2 | 1,431 | $314 | 1960 | 1534834 |
| 1211 Perez St, Austin, TX 78721 | Coming Soon | $495,000 | 3 / 2 | 1,144 | $433 | 1958 | 2230079781782827705 |
| 5708 Toscana Ave, Austin, TX 78724 | Coming Soon | $369,900 | 3 / 2 | 1,457 | $254 | 2006 | 2225587217441111681 |
| 405 Tilbury Ln, Austin, TX 78745 | Coming Soon | $399,000 | 3 / 2 | 1,092 | $365 | 1968 | 2228516707741437537 |
| 7333 Gaines Mill Ln, Austin, TX 78745 | Coming Soon | $425,000 | 3 / 3 | 2,387 | $178 | 1981 | 2225581615494931801 |

A sold search (`locations: ["78704"]`, sold within 6 months) gives rows like `1819 Village Oak Ct, Austin, TX 78704`, sold 2026-09-11 for $775,000, 3 beds, 1,830 sqft; a rental search (`Miami, FL`, for rent up to $3,000) gives buildings like `Somerville Apartments`, 400 NW 3rd Ct, $2,500-2,700, 380 sqft.

Full row: `id` (Redfin property id), `propertyId`, `listingId`, `url`, `listingType` (forSale, sold, forRent), `status`, `address`, `streetLine`, `unit`, `city`, `state`, `zip`, `neighborhood`, `latitude`, `longitude`, `price`, `priceMax` (rentals), `soldPrice`, `soldDate`, `lastSoldDate`, `homeType`, `beds`, `bedsMax`, `baths`, `bathsMax`, `fullBaths`, `partialBaths`, `sqft`, `sqftMax`, `lotSqft`, `yearBuilt`, `stories`, `pricePerSqft`, `hoaMonthly`, `daysOnMarket`, `listedAt`, `garageSpaces`, `mlsId`, `isNewConstruction`, `hasVirtualTour`, `openHouseStart`, `openHouseEnd`, `unitsAvailable`, `buildingName`, `availableFrom`, `updatedAt`, `keyFacts`, `tags`, `description`, `photoCount`, `photos`, `brokerage`, `detailsFetched`, `search`, `rank`, `scrapedAt`.

### Use cases

- **New-listing and price-cut alerts** for a buyer's saved search: schedule monitor mode on a Redfin URL and get only what changed.
- **Sold comps**: sold homes in a ZIP code or city for the last 3, 6 or 12 months with sold price, price per square foot and size.
- **Market snapshots**: every home for sale in a city with days on market and price per square foot.
- **Rental market**: apartment buildings with rent ranges and units available.

### Input

| Field | Meaning | Default |
|---|---|---|
| `searchUrls` | Redfin search pages (city, ZIP, neighborhood, county; for sale, sold or rentals) with their filters | prefill: Austin houses $300k-600k, 3+ beds |
| `locations` | "City, ST", ZIP, neighborhood or county, searched with the filters below | empty |
| `listingType` | `forSale`, `sold` or `forRent` (for `locations`) | `forSale` |
| `soldWithinDays` | 7, 30, 90, 180, 365, 730, 1095, 1825 | `90` |
| `minPrice`, `maxPrice`, `minBeds`, `maxBeds`, `minBaths`, `homeTypes` | Filters; for a pasted URL they replace the same filter only when set | empty |
| `maxResultsPerSearch` | Homes read per search at most | `1000` |
| `includeDetails` | Open each home's page for the brokerage company | `false` |
| `maxPhotos` | Photo URLs per home | `10` |
| `maxItems` | Homes per run at most | `100` |
| `mode` | `scrape`, or `monitor` (only new and changed homes) | `scrape` |
| `monitorStateId`, `webhookUrl`, `telegramBotToken`, `telegramChatId` | Monitor state key and alert targets | empty |

### Monitor mode

Save the input as a task, set `"mode": "monitor"` and schedule it. The first run of each search reads it and records the homes as the baseline: it pushes nothing and charges only the `monitor-check` event ($0.005). Each later run reads the search again, newest first (for sale and rentals by time on Redfin, sold by sale date), up to `maxResultsPerSearch`, and pushes a home when it is new to the search (`changeType: "new"`) or when its `price` or `status` changed (`changeType: "changed"`, with `changedFields` and `previous`). Homes are matched by Redfin property id across runs. A for-sale home counts as new when it was listed no more than 3 days before the newest home of the previous run (sold: sold no more than 3 days before the newest sale), so when `maxResultsPerSearch` cuts a big search, older homes that slide into the window are recorded silently instead of arriving as "new"; the same rule means an old listing that newly matches your filters (e.g. after a price cut into your range) is not reported as new. Rentals carry no listing date: keep `maxResultsPerSearch` at or above the number of matching rentals (the run log warns when it is lower), or older rentals sliding into the window can arrive as "new". With `includeDetails`, only homes new to the search are opened, and the baseline opens none; a changed home comes without `brokerage`. A run without changes charges only the check; a run that Redfin blocks completely charges nothing and commits nothing. If a run dies, the next runs of the same task wait for its lease (up to its timeout) and end as `overlapping_run`; give the task a new `monitorStateId` to start over.

```json
{
  "mode": "monitor",
  "searchUrls": ["https://www.redfin.com/zipcode/78704/filter/property-type=house,max-price=800k"],
  "webhookUrl": "https://your-endpoint.example.com/hook"
}
```

### Limits

- US homes only (Redfin's coverage). State-wide pages are not accepted; use cities, ZIP codes, neighborhoods or counties.
- `maxResultsPerSearch` is at most 35,000 homes per search.
- Rentals are building-level rows (rent, beds and size as ranges); photo URLs are not returned for rentals.
- No agent, co-agent or owner fields, no phone numbers and no e-mails. Descriptions are cleaned of phone numbers, e-mail addresses, license numbers (`DRE #01234567`, `License No. ...`) and a person's name after call, text, contact or ask for ("Call Tim Hyde" becomes "Call the listing agent"). This is best effort: a name written in a description without such a cue stays. Brokerage company only, with `includeDetails`.
- `includeDetails` (brokerage) is limited: Redfin answers property pages with a challenge after about 6 pages in a run, on every proxy tier (measured 2026-11-05 on two Denver runs: 6 of 8 and 6 of 15 read). The other rows keep the search fields and `detailsFetched: false`. Redfin's own listings carry `brokerage: "Redfin"` without the extra request.
- `listedAt` is derived from Redfin's "time on Redfin" at the moment of the run (minute precision).

### Pricing

| Event | Price |
|---|---|
| result | $1.00 per 1,000 homes (Silver $0.90, Gold $0.80) |
| monitor-check | $0.005 per monitor run |
| change | $1.00 per 1,000 new or changed homes |

You pay only for rows actually pushed. Requests go out without a proxy; Apify's platform usage is billed to you on top.

### Related actors

- [Zillow Scraper](https://apify.com/datahamster/zillow-scraper): Zillow search results for whole cities with a new-listing and price monitor.
- [Zillow Detail Scraper](https://apify.com/datahamster/zillow-detail-scraper): full Zillow property pages with Zestimate and price history.
- [Airbnb Scraper](https://apify.com/datahamster/airbnb-scraper): short-term rental listings and prices.

### FAQ

**Does it need a Redfin account?** No. Every request is made as a logged-out visitor.

**Are agent names or phone numbers included?** No. Redfin's search answer names the listing agent on Redfin's own listings and carries leasing-office phones on rentals; these fields are never read. Descriptions are cleaned of phone numbers, e-mail addresses, license numbers and names after call/text/contact/ask for; a name written without such a cue can remain.

**What if Redfin blocks a request?** The request is retried, then climbs from no proxy to datacenter and US residential proxies. A run that gets only walls ends as `blocked` in `RUN_SUMMARY` instead of an empty dataset that looks like "no homes".

**A place name was not found?** The run log says so; use "City, ST", a ZIP code or paste the Redfin URL.

### Changelog

- 0.1: first release. Search URLs and locations, for sale, sold and rentals, Redfin filters, full pagination (350 homes per request), photos, brokerage from property pages, monitor mode for new listings and price/status changes.

***

If this actor saved you time, a short review on its Store page helps other people find it. Missing a field or found a wrong value? Open an issue on the **Issues** tab.

# Actor input Schema

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

Redfin search pages, one per line, with any filters you set on redfin.com (city, ZIP, neighborhood or county pages; for sale, sold or rentals). Example: https://www.redfin.com/city/30818/TX/Austin/filter/property-type=house,min-price=300k,max-price=600k,min-beds=3

## `locations` (type: `array`):

Places to search without building a URL: 'City, ST', a ZIP code, a neighborhood or a county, one per line. Example: Austin, TX or 78701. Uses the listing type and filters below.

## `listingType` (type: `string`):

What to search for at the locations above. A pasted search URL keeps its own type.

## `soldWithinDays` (type: `string`):

Sold searches only: how far back. Example: 90.

## `minPrice` (type: `integer`):

Lowest list price (monthly rent for rentals). Applies to locations, and replaces the same filter of a pasted URL. Example: 300000.

## `maxPrice` (type: `integer`):

Highest list price (monthly rent for rentals). Example: 600000.

## `minBeds` (type: `integer`):

Example: 3.

## `maxBeds` (type: `integer`):

Example: 5.

## `minBaths` (type: `integer`):

Example: 2.

## `homeTypes` (type: `array`):

Keep only these home types (any of them). Empty = all. Example: house.

## `maxResultsPerSearch` (type: `integer`):

Stop reading one search after this many homes. Redfin answers 350 homes per request, so 1,000 is 3 requests. In monitor mode every run reads this deep. Example: 1000.

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

Open each for-sale or sold home's page to add the listing brokerage company. One extra request per home. Redfin lets only about 6 property pages per run through before it answers with a challenge; the other homes come with detailsFetched false. In monitor mode only homes new to the search are opened, never on the baseline run. Agent names and phones are never collected.

## `maxPhotos` (type: `integer`):

How many full-size photo URLs to return per for-sale or sold home. 0 = none (photoCount is always filled). Example: 10.

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

Stop the whole run after this many homes (you are charged only for pushed homes). Shared between searches. Example: 20.

## `mode` (type: `string`):

scrape = full results; monitor = only new/changed items since the previous run of this task

## `monitorStateId` (type: `string`):

Optional state id when not running as a saved task (monitor mode)

## `webhookUrl` (type: `string`):

POST a change summary here in monitor mode

## `telegramBotToken` (type: `string`):

Optional: bot token for monitor-mode change summaries

## `telegramChatId` (type: `string`):

Optional: chat id that receives monitor-mode summaries

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.redfin.com/city/30818/TX/Austin/filter/property-type=house,min-price=300k,max-price=600k,min-beds=3"
  ],
  "locations": [],
  "listingType": "forSale",
  "soldWithinDays": "90",
  "homeTypes": [],
  "maxResultsPerSearch": 1000,
  "includeDetails": false,
  "maxPhotos": 10,
  "maxItems": 20,
  "mode": "scrape"
}
```

# Actor output Schema

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

All pushed rows (dataset, JSON)

## `resultsTable` (type: `string`):

Dataset in the Console viewer

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

RUN_SUMMARY record

# 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 = {
    "searchUrls": [
        "https://www.redfin.com/city/30818/TX/Austin/filter/property-type=house,min-price=300k,max-price=600k,min-beds=3"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("datahamster/redfin-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 = {
    "searchUrls": ["https://www.redfin.com/city/30818/TX/Austin/filter/property-type=house,min-price=300k,max-price=600k,min-beds=3"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("datahamster/redfin-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchUrls": [
    "https://www.redfin.com/city/30818/TX/Austin/filter/property-type=house,min-price=300k,max-price=600k,min-beds=3"
  ],
  "maxItems": 20
}' |
apify call datahamster/redfin-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datahamster/redfin-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/AWagcBU5mYmkfG3FF/builds/cqqZGIk1US3kcTRl4/openapi.json
