# Redfin Scraper: For Sale & Sold Homes, Price Changes (`scrapemint/redfin-scraper`) Actor

Scrape Redfin homes for sale and recently sold from any Redfin search URL or ZIP code: price, status, sold date, beds, baths, sq ft, $/sq ft, HOA, year built, days on market, lat/long, remarks. Tracks price drops between runs and splits big areas past the 350-home cap.

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

## Pricing

from $2.00 / 1,000 homes

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

## Redfin Scraper: For Sale & Sold Homes, Price Changes

Scrape homes for sale and recently sold homes from Redfin. Paste any Redfin search URL with the filters you set on redfin.com, or give ZIP codes plus a listing type and price/bed filters, and get one row per home: price, status, sold date, beds, baths, square feet, price per square foot, lot size, HOA, year built, days on market, coordinates, listing remarks and open house. Turn on tracking to get price drops and status changes between scheduled runs.

Redfin shows at most 350 homes per search. This actor splits a bigger search into price bands automatically, so a whole city comes back: a test run returned all 2,329 Austin homes sold in the last 3 months, matching Redfin's own count.

### What you get

One row per home:

- `propertyId`, `listingId`, `url`, `mlsId`
- `status` (e.g. Active, Coming Soon, New, Closed), `isSold`, `price`, `priceType`, `soldDate`, `lastSoldDate`
- `address`, `city`, `state`, `zip`, `neighborhood`, `latitude`, `longitude`
- `propertyType` (House, Condo, Townhouse, Multi-family, Land, Manufactured, Co-op), `beds`, `baths`, `sqft`, `pricePerSqft`, `lotSizeSqft`, `yearBuilt`, `stories`, `garageSpaces`
- `hoaMonthly`, `daysOnMarket`, `daysOnRedfin`, `isNewConstruction`, `hasVirtualTour`, `openHouse`
- `badges` (e.g. Open House, Sold), `keyFacts`, `listingTags`, `listingRemarks`, `photoCount`
- With tracking on: `isNew`, `previousPrice`, `priceChange`, `previousStatus`, `firstSeen`

`priceType` tells you what `price` is: `list_price` for listings, `sold_price` for sales, or `last_list_price` for sales in non-disclosure states (Texas, Utah and others), where Redfin does not publish the sale price.

### Input

- `searchUrls`: any Redfin search results page, e.g. `https://www.redfin.com/city/30818/TX/Austin` or `https://www.redfin.com/city/30818/TX/Austin/filter/include=sold-3mo,min-beds=3`. Set filters on redfin.com, then copy the URL.
- `zipCodes`: 5-digit ZIP codes, used with `listingType` (for sale, or sold in the last week to 5 years), `minPrice`, `maxPrice`, `minBeds`.
- `splitLargeSearches`: get past the 350-home cap (on by default).
- `trackChanges`: remember each home's price and status between runs.
- `onlyChanges`: with tracking on, return only new homes and homes whose price or status changed.
- `maxHomes`: default 500, up to 20,000.

### Example input

```json
{
  "searchUrls": ["https://www.redfin.com/city/30818/TX/Austin/filter/include=sold-3mo"],
  "zipCodes": ["78704"],
  "listingType": "for_sale",
  "minPrice": 400000,
  "maxPrice": 900000,
  "minBeds": 3,
  "maxHomes": 3000
}
```

### Example output

```json
{
  "propertyId": 31796410,
  "url": "https://www.redfin.com/TX/Austin/10711-Pinkney-Ln-78739/home/31796410",
  "status": "Active",
  "price": 815000,
  "priceType": "list_price",
  "address": "10711 Pinkney Ln",
  "city": "Austin",
  "state": "TX",
  "zip": "78739",
  "propertyType": "House",
  "beds": 4,
  "baths": 2.5,
  "sqft": 2938,
  "pricePerSqft": 277,
  "lotSizeSqft": 9130,
  "yearBuilt": 1994,
  "hoaMonthly": 100,
  "daysOnMarket": 1,
  "latitude": 30.1893275,
  "longitude": -97.8883656,
  "openHouse": { "start": "2026-11-01T20:00:00.000Z", "end": "2026-11-01T22:00:00.000Z", "label": "Open House - 2:00 - 4:00 PM" },
  "keyFacts": ["Scenic trails", "Private oasis", "In ground pool"]
}
```

### Uses

- Comps: every home sold in an area in the last 3, 6 or 12 months, with $/sq ft and days on market
- Investor deal flow: schedule a daily run with `onlyChanges` to get new listings and price drops only
- Agent prospecting: expired-looking listings with long days on market, by ZIP
- Market reports: inventory, median $/sq ft and days on market per ZIP, refreshed on a schedule
- Lead lists for mortgage, insurance, moving and home services: new sales by ZIP

### Pricing

Pay per home row. In `onlyChanges` mode, homes that did not change are not returned and cost a tenth of a row each, which covers checking them. Searches that match nothing cost nothing.

### Notes

- Data comes from Redfin's public search pages: what a logged-out visitor sees. Homes Redfin hides from logged-out visitors are not included.
- Redfin's per-home detail pages (full price history, tax records, photos) are not read; every field above comes from the search results.
- A search URL must be a results page, not a single home's page.
- Name-only locations are not resolved. Copy the search URL from redfin.com, or use ZIP codes.

# Actor input Schema

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

Any Redfin search page: city, neighborhood, county or ZIP, with any filters you set on redfin.com, e.g. https://www.redfin.com/city/30818/TX/Austin/filter/include=sold-3mo,min-beds=3

## `zipCodes` (type: `array`):

Five-digit ZIP codes, e.g. 78704. Uses the listing type and filters below.

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

For-sale listings, or homes sold in a time window. Search URLs keep their own setting.

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

Optional lower price bound.

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

Optional upper price bound.

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

Optional.

## `splitLargeSearches` (type: `boolean`):

Redfin returns at most 350 homes per search. When a search hits that cap, split it into price bands and fetch each one.

## `trackChanges` (type: `boolean`):

Remember each home's price and status, and add previousPrice, priceChange, previousStatus and isNew to every row. Built for scheduled runs.

## `onlyChanges` (type: `boolean`):

With tracking on, skip homes whose price and status have not changed since the last run. Unchanged homes are not charged.

## `maxHomes` (type: `integer`):

Cap on home rows returned. Controls total cost.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.redfin.com/city/30818/TX/Austin"
  ],
  "zipCodes": [],
  "listingType": "for_sale",
  "splitLargeSearches": true,
  "trackChanges": false,
  "onlyChanges": false,
  "maxHomes": 500
}
```

# Actor output Schema

## `homes` (type: `string`):

Address, price, status, sold date, beds, baths, sq ft, $/sq ft, HOA, year built, days on market, coordinates, Redfin URL, price change flags.

## `summary` (type: `string`):

Searches run, homes found and rows written.

# 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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapemint/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"] }

# Run the Actor and wait for it to finish
run = client.actor("scrapemint/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"
  ]
}' |
apify call scrapemint/redfin-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapemint/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/d3stlSEa9AgZs9xbK/builds/D8QZAvKZnR6HTpyE2/openapi.json
