# Redfin Real Estate Listings & Agent Contacts Scraper (`scrapers_lat/redfin-real-estate-scraper`) Actor

Scrape Redfin US for-sale and sold homes: price, beds, baths, sqft, HOA, year built, MLS#, geo, photos plus listing-agent name, phone and brokerage. Filter by location, price, beds and status.

- **URL**: https://apify.com/scrapers\_lat/redfin-real-estate-scraper.md
- **Developed by:** [Scrapers Lat](https://apify.com/scrapers_lat) (community)
- **Categories:** Real estate, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 results

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

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Redfin Real Estate Listings & Agent Contacts Scraper

Pull **US for-sale and sold home listings from Redfin** — complete with the **listing agent's name, phone number and brokerage** — into clean JSON, CSV or Excel. Built for real-estate lead generation, market research, CMAs, investor sourcing and CRM enrichment.

### What you get

One row per property, with:

- **Address** — street, unit, city, state, ZIP
- **Price** and price per sqft
- **Beds, baths, square footage, lot size**
- **Property type** (single family, condo, townhouse, multi-family, land, manufactured)
- **Status** (active, coming soon, pending, sold) and **sold date**
- **Days on market**
- **Year built**, HOA (when disclosed)
- **MLS number**
- **Geo** — latitude & longitude
- **Photos** — full-resolution image URLs
- **Price / property history** (where the local market discloses it)
- **Listing agent name + phone**
- **Listing brokerage name**
- Direct **Redfin URL**

### Filters

- **Location** — paste any Redfin city, ZIP, neighborhood or county page URL, or just give a list of ZIP codes
- **Individual properties** — paste one or more Redfin listing URLs
- **Listing status** — for sale or sold (with a "sold within N days" window)
- **Price range** — min / max
- **Beds** — min / max
- **Baths** — min
- **Property type**
- **Max days on market**

### Input example

```json
{
  "startUrls": [{ "url": "https://www.redfin.com/city/30818/TX/Austin" }],
  "zipCodes": ["78701", "90210"],
  "listingStatus": "for-sale",
  "minPrice": 400000,
  "minBeds": 3,
  "propertyTypes": ["house", "condo"],
  "fetchAgentContacts": true,
  "maxResults": 200
}
```

To find a location URL, search on redfin.com and copy the URL from your browser.

### Output example

```json
{
  "address": "6700 Lakewood Dr",
  "city": "Austin",
  "state": "TX",
  "zip": "78731",
  "price": 2895000,
  "beds": 4,
  "baths": 4,
  "sqFt": 3812,
  "propertyType": "Single Family",
  "status": "Active",
  "mlsId": "9124446",
  "daysOnMarket": 1,
  "latitude": 30.3667137,
  "longitude": -97.7874345,
  "listingAgentName": "Emily Waldmann",
  "listingAgentPhone": "425-442-0727",
  "listingBrokerName": "Douglas Elliman Real Estate",
  "photos": ["https://ssl.cdn-redfin.com/photo/..."],
  "url": "https://www.redfin.com/TX/Austin/6700-Lakewood-Dr-78731/home/31287514"
}
```

### Pricing

Pay per result. Each listing is billed as one **result**. When **Fetch listing-agent contacts** is on, each property whose detail page is fetched (agent phone, brokerage, price history, photos) adds one **details** charge — only when a detail page is actually retrieved. Turn the option off for cheaper listing-only runs.

Free Apify accounts are capped at 10 results per run; upgrade for unlimited.

### Notes

- Listing-agent phone availability and price history depend on what each local MLS discloses. HOA and some fields are only present where the source publishes them.
- Data reflects what is publicly visible on Redfin at scrape time.

# Actor input Schema

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

Redfin search-region page URLs (city, zip, neighborhood, county) or individual property (/home/) URLs. Copy a Redfin search or listing URL straight from your browser.

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

US ZIP codes to search, e.g. \["78701", "90210"]. Each is resolved to its Redfin region automatically.

## `listingStatus` (type: `string`):

Which listings to return.

## `soldWithinDays` (type: `integer`):

When status is 'sold', only include homes sold within this many days.

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

Filter by property type. Leave empty for all.

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

Minimum list/sale price in USD.

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

Maximum list/sale price in USD.

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

Minimum number of bedrooms.

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

Maximum number of bedrooms.

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

Minimum number of bathrooms.

## `maxDaysOnMarket` (type: `integer`):

Only include listings on the market at most this many days.

## `fetchAgentContacts` (type: `boolean`):

Fetch each property's detail page to capture listing-agent name, phone, brokerage, price history and photos. Billed as a per-property 'details' add-on only when a detail page is actually fetched. Turn off for cheaper listing-only results.

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

Maximum number of listings to collect.

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

Redfin blocks datacenter IPs; US residential proxy is used by default.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.redfin.com/city/30818/TX/Austin"
    }
  ],
  "listingStatus": "for-sale",
  "soldWithinDays": 90,
  "fetchAgentContacts": true,
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `results` (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 = {
    "startUrls": [
        {
            "url": "https://www.redfin.com/city/30818/TX/Austin"
        }
    ],
    "soldWithinDays": 90,
    "maxResults": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapers_lat/redfin-real-estate-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": [{ "url": "https://www.redfin.com/city/30818/TX/Austin" }],
    "soldWithinDays": 90,
    "maxResults": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapers_lat/redfin-real-estate-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": [
    {
      "url": "https://www.redfin.com/city/30818/TX/Austin"
    }
  ],
  "soldWithinDays": 90,
  "maxResults": 50
}' |
apify call scrapers_lat/redfin-real-estate-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapers_lat/redfin-real-estate-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/ZTNbgqlyRJlW3qHWY/builds/pAfKfDhJk4mgr2IsU/openapi.json
