# Redfin Scraper: Homes for Sale by City, ZIP or Area (`santamaria-automations/redfin-scraper`) Actor

Get for-sale listings from Redfin search pages: address, price, beds, baths, size, lot size, year built, price per square foot, HOA, status, days on market, property type, photos and open houses. No login needed.

- **URL**: https://apify.com/santamaria-automations/redfin-scraper.md
- **Developed by:** [NanoScrape](https://apify.com/santamaria-automations) (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.60 / 1,000 redfin listing scrapeds

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

Get for-sale listings from [Redfin](https://www.redfin.com/) search pages. Paste the address of a city, neighborhood, county or ZIP code page and the actor returns one record per home: address, price, beds, baths, size, lot size, year built, price per square foot, HOA dues, status, days on market, property type, coordinates, photos, open houses and the listing description. No login and no API key are needed.

### What you get

- One record per home for sale (including coming soon) on the pages you give.
- Up to 350 homes per page address, returned in a single request, so runs are quick and small.
- Several pages in one run. Set `maxResults` and the actor works through the pages in order.
- Optional filters for price, bedrooms and property type.
- Each home once per run, even if it appears on more than one page.
- A run that is interrupted continues where it stopped. Listings already delivered are not delivered or charged again.
- You pay only for listings that were saved to the dataset.

### Use with AI agents (MCP)

Connect this actor to any MCP-compatible AI client, such as Claude Desktop, Cursor, VS Code, LangChain or LlamaIndex.

**MCP server URL:**

```
https://mcp.apify.com?tools=santamaria-automations/redfin-scraper
```

**Example prompt once connected:**

> "Use `redfin-scraper` to list 100 homes for sale in Austin, TX with price, beds, baths, square feet and days on market as a CSV."

### Data extracted

| Field | Example |
|-------|---------|
| `property_id`, `listing_id` | `31934340`, `224851332` |
| `mls_id` | `"4740035"` |
| `url` | Listing page on redfin.com |
| `street_address`, `unit_number` | `"114 Mist Flower Dr"`, `""` |
| `city`, `state`, `zip`, `country_code` | `"Pflugerville"`, `"TX"`, `"78660"`, `"US"` |
| `neighborhood` | `"WILDFLOWER SEC 5"` |
| `latitude`, `longitude` | `30.4200217`, `-97.6585859` |
| `price`, `currency` | `300000`, `"USD"` |
| `beds`, `baths`, `full_baths`, `partial_baths` | `4`, `2.5`, `2`, `1` |
| `sqft`, `lot_size_sqft` | `2070`, `435` |
| `year_built` | `1999` |
| `price_per_sqft` | `145` |
| `hoa_monthly` | `11` |
| `stories`, `garage_spaces`, `parking_spaces` | `2`, `0`, `2` |
| `status` | `"Active"`, `"Coming Soon"` or `"New"` |
| `days_on_market` | `8` |
| `listed_on` | Date the home first appeared on Redfin, worked out at run time |
| `last_sold_date` | Date of the last recorded sale, when shown |
| `property_type`, `property_type_code` | `"House"`, `1` |
| `is_new_construction`, `is_hot`, `is_redfin_listing` | `false`, `false`, `true` |
| `description` | Listing text |
| `key_facts`, `tags` | Highlights and tags shown on the listing |
| `photo_count`, `photo_urls` | `30`, up to 60 photo links |
| `virtual_tour_url`, `has_video_tour`, `has_3d_tour` | 3D tour link and flags |
| `open_houses` | Start, end and label of each open house |
| `listing_agent_name`, `listing_agent_id` | Agent name and Redfin agent id, as shown on the listing |
| `co_broker_name` | Co-listing brokerage, when shown |
| `building_id`, `building_url` | For condo and apartment units |
| `region_id`, `source_url`, `scraped_at` | The search the home came from and the time of the run |

Fields that a listing does not show are returned empty. Phone numbers and email addresses of agents are not part of the data.

### Input

| Field | Meaning |
|-------|---------|
| `startUrls` | Redfin city, neighborhood, county or ZIP code page addresses. |
| `maxResults` | Most listings to return across all pages. Default 200. |
| `minPrice`, `maxPrice` | Price range in USD. Optional. |
| `minBeds` | Minimum bedrooms. Optional. |
| `propertyTypes` | Any of `house`, `condo`, `townhouse`, `multi-family`, `land`, `mobile`, `co-op`, `other`. Optional. |

#### Example: one city

```json
{
  "startUrls": ["https://www.redfin.com/city/30818/TX/Austin"],
  "maxResults": 100
}
```

#### Example: two cities, houses and condos from 300,000 to 700,000 USD with 3 or more bedrooms

```json
{
  "startUrls": [
    "https://www.redfin.com/city/30818/TX/Austin",
    "https://www.redfin.com/city/16904/CA/San-Diego"
  ],
  "maxResults": 300,
  "minPrice": 300000,
  "maxPrice": 700000,
  "minBeds": 3,
  "propertyTypes": ["house", "condo"]
}
```

### Output

Results are saved to the default dataset. Export them as JSON, CSV or Excel, or read them through the API.

Sample record (shortened):

```json
{
  "property_id": 31934340,
  "listing_id": 224851332,
  "mls_id": "4740035",
  "url": "https://www.redfin.com/TX/Pflugerville/114-Mist-Flower-Dr-78660/home/31934340",
  "street_address": "114 Mist Flower Dr",
  "unit_number": "",
  "city": "Pflugerville",
  "state": "TX",
  "zip": "78660",
  "country_code": "US",
  "neighborhood": "WILDFLOWER SEC 5",
  "latitude": 30.4200217,
  "longitude": -97.6585859,
  "price": 300000,
  "currency": "USD",
  "beds": 4,
  "baths": 2.5,
  "full_baths": 2,
  "partial_baths": 1,
  "sqft": 2070,
  "lot_size_sqft": 435,
  "year_built": 1999,
  "price_per_sqft": 145,
  "hoa_monthly": 11,
  "stories": 2,
  "garage_spaces": 0,
  "parking_spaces": 2,
  "status": "Active",
  "days_on_market": 8,
  "listed_on": "2026-10-28",
  "last_sold_date": "2003-01-07",
  "property_type": "House",
  "property_type_code": 1,
  "is_new_construction": false,
  "is_hot": false,
  "is_redfin_listing": true,
  "description": "Fresh updates, flexible living spaces, and a convenient location make this Pflugerville home a must-see! Featuring 4 bedrooms, 2.5 baths, an...",
  "key_facts": [
    "New tile flooring",
    "New cabinets",
    "Updated bathrooms"
  ],
  "tags": [
    "TWO SEPARATE LIVING AREAS",
    "NEW TILE FLOORING",
    "NEW LAMINATE FLOORING"
  ],
  "photo_count": 30,
  "photo_urls": [
    "https://ssl.cdn-redfin.com/photo/92/bigphoto/035/4740035_0.jpg",
    "https://ssl.cdn-redfin.com/photo/92/bigphoto/035/4740035_1.jpg"
  ],
  "virtual_tour_url": "https://my.matterport.com/show/?m=49dpWrXZGLV",
  "has_video_tour": false,
  "has_3d_tour": true,
  "open_houses": [
    {
      "start": "2026-11-08T20:00:00Z",
      "end": "2026-11-08T22:00:00Z",
      "label": "Open House - 2:00 - 4:00 PM"
    }
  ],
  "listing_agent_name": "Monica DiSchiano",
  "listing_agent_id": 23705,
  "co_broker_name": "",
  "building_id": null,
  "building_url": "",
  "region_id": "30818",
  "source_url": "https://www.redfin.com/city/30818/TX/Austin",
  "scraped_at": "2026-11-06T08:02:05Z"
}
```

### Pricing

| Event | Price |
|-------|-------|
| Actor start (`actor-start`) | $0.001 per run |
| Listing scraped (`redfin-listing-result`) | $0.0006 per listing ($0.60 per 1,000) |

The start fee is charged once per run, together with the first saved listings. A run that saves nothing is not charged.

### Limitations

- Each page address gives at most 350 homes. Redfin does not return more for one area in one request. For a larger city, use several neighborhood or ZIP code pages.
- Only homes for sale and coming soon are returned. Sold and rental listings are not included.
- The price, bedroom and property type filters are applied after the homes are read, so a narrow filter on a large area can return fewer homes than `maxResults`.
- A ZIP code page needs one extra page load to find its area, which makes that page slower.
- A page address with an area id that Redfin does not know returns no listings.
- The listing brokerage is shown by Redfin only for some listings. Most records have the listing agent name but no brokerage name.
- `listed_on` is worked out from the time a home has been on Redfin, so it can differ by a day from the date on the listing.
- Contact details of agents (phone, email) are not collected.
- Redfin may change its pages. If a run cannot read any listing, it ends with a failed status and nothing is charged.

### FAQ

**Which addresses should I use?**
Open a city, neighborhood, county or ZIP code search on redfin.com and copy the address from the browser. City and neighborhood addresses look like `https://www.redfin.com/city/30818/TX/Austin`.

**Can I search by typing a city name?**
Not in this version. Use the page address from redfin.com.

**How many homes can I get?**
Up to 350 per page address. Add more addresses to cover more areas.

**What does a run cost?**
The start fee plus the price per 1,000 listings, as shown in the pricing table. A run of 200 listings is charged for 200 listings.

**What status does a run end with?**
The run status says how many listings were delivered. If Redfin refuses every request, the run fails and nothing is charged. If an area has no homes for sale, the run ends normally and says so.

**Does it return sold homes or rentals?**
No. It returns homes that are for sale or coming soon.

**Does the data include agent phone numbers?**
No. The agent name and id shown on the listing are included; contact details are not.

# Actor input Schema

## `startUrls` (type: `array`):

Redfin city, neighborhood, county or ZIP code pages, for example https://www.redfin.com/city/30818/TX/Austin. Each page gives up to 350 homes.

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

Most listings to return across all pages. 0 or empty uses 200.

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

Only return homes priced at or above this amount. Leave empty for no limit.

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

Only return homes priced at or below this amount. Leave empty for no limit.

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

Only return homes with at least this many bedrooms.

## `propertyTypes` (type: `array`):

Only return these types. Leave empty for all types.

## `proxyConfiguration` (type: `object`):

Connection settings. The default works for most runs; the actor chooses the level it needs.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.redfin.com/city/30818/TX/Austin"
  ],
  "maxResults": 40,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `defaultDataset` (type: `string`):

Dataset containing Redfin for-sale listings

# 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 = {
    "startUrls": [
        "https://www.redfin.com/city/30818/TX/Austin"
    ],
    "maxResults": 40,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("santamaria-automations/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 = {
    "startUrls": ["https://www.redfin.com/city/30818/TX/Austin"],
    "maxResults": 40,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("santamaria-automations/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 '{
  "startUrls": [
    "https://www.redfin.com/city/30818/TX/Austin"
  ],
  "maxResults": 40,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call santamaria-automations/redfin-scraper --silent --output-dataset

```

## MCP server setup

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