# Redfin Scraper - US Real Estate Listings (`swerve/redfin-scraper`) Actor

Scrape US homes for sale from Redfin by city, county, neighborhood or ZIP code. Returns price, beds, baths, square footage, address, ZIP, year built, MLS status, days on market, coordinates, photos and the full listing description.

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

## Pricing

from $5.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Scraper — US Real Estate Listings

Scrape homes for sale from **Redfin** across the United States. Target any city, county, neighborhood or ZIP code and get clean, structured data for every active listing: price, beds, baths, square footage, full address, ZIP, year built, MLS status, days on market, map coordinates, photo count and the complete listing description.

No login, no API key. Just paste a Redfin URL or type a ZIP code and run.

### What you can do with it

- Build a lead list of every home for sale in your market
- Track inventory, price changes and days on market over time
- Feed a CMA / valuation model with fresh comparable listings
- Power a real-estate site, dashboard or investor tool
- Monitor new construction and coming-soon homes in a ZIP

### Input

| Field | What it does | Example |
|-------|--------------|---------|
| **Redfin search URLs** | Paste a Redfin city, county or neighborhood page URL. Go to redfin.com, search your area, copy the address-bar URL. | `https://www.redfin.com/city/30818/TX/Austin` |
| **ZIP codes** | Or just type 5-digit ZIP codes — no URL needed. The simplest way to target an area. | `78704`, `33139`, `98101` |
| **Max results** | Optional cap on total homes. Leave blank to pull everything (Redfin returns up to ~350 per search area). | `500` |
| **Proxy** | US residential by default (Redfin only answers US IPs). Leave as-is. | — |

You can mix URLs and ZIP codes in one run.

### Output

One row per home. Example:

```json
{
  "propertyId": "31317036",
  "mlsId": "8342157",
  "url": "https://www.redfin.com/TX/Austin/4710-Eck-Ln-78734/home/31317036",
  "status": "Active",
  "price": 1250000,
  "streetAddress": "4710 Eck Ln",
  "unitNumber": null,
  "city": "Austin",
  "state": "TX",
  "zip": "78734",
  "latitude": 30.3891,
  "longitude": -97.9012,
  "beds": 4,
  "baths": 3,
  "sqFt": 2850,
  "pricePerSqFt": 439,
  "lotSize": 8712,
  "yearBuilt": 2015,
  "stories": 2,
  "hoaFee": null,
  "propertyType": "Single Family Residential",
  "daysOnMarket": 12,
  "isNewConstruction": false,
  "lastSoldDate": "2015-06-01",
  "description": "Stunning lakeside home with panoramic views...",
  "photoCount": 41,
  "scrapedAt": "2026-07-06T14:31:20.929Z"
}
```

Typical fill rates: URL, price, address, city, state, ZIP, status and days-on-market at ~100%; beds, baths, square footage, price/sqft, year built, description and photo count at 97-99%.

### How it works

Redfin's map endpoint returns up to ~350 rich listings per search area. The actor reads the region id straight out of the Redfin URL you paste, and for ZIP codes it resolves the ZIP's internal region id automatically. Everything runs through a US residential proxy so Redfin answers normally.

### Limits

- For-sale listings only (active, coming-soon and new). Sold history is included per-listing as `lastSoldDate` but sold-comps search is not part of this version.
- Each search area returns up to ~350 homes (Redfin's cap). For very large metros, target multiple ZIP codes to cover more ground.
- US only.

### Export formats

Results download as JSON, CSV, Excel or XML, or pull them straight from the Apify API into your own app, spreadsheet or database.

### Frequently asked questions

**Do I need a Redfin API key or login?** No. This Redfin scraper needs no API key and no account. It reads Redfin's public listing data directly.

**Can I scrape listings by city or by URL?** Both. Give it a city, ZIP code or a Redfin search URL and it returns the for-sale homes in that area.

**What data does it return per home?** Price, beds, baths, square footage, lot size, address, property type, photos, listing agent and a link to the listing.

**How many homes can I get per area?** Redfin caps a search area at about 350 homes. For large metros, target several ZIP codes to cover more ground.

**Is scraping Redfin legal?** This tool reads publicly available real estate listings. You are responsible for how you use it. Review Redfin's terms and your local laws before large-scale use.

### Pricing

Pay per result. You only pay for the homes you actually get.

# Actor input Schema

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

Paste Redfin search page URLs (go to redfin.com, search your city/filters, copy the URL) — e.g. https://www.redfin.com/city/30818/TX/Austin. Cities, counties and neighborhoods all work.

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

Or just enter 5-digit ZIP codes — no URL needed, e.g. 78704, 33139. The simplest way to target a specific area.

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

Cap on total homes. Leave blank to pull all available (Redfin returns up to ~350 per search area).

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

Redfin answers US IPs. Defaults to Apify Residential in the US.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.redfin.com/city/30818/TX/Austin"
  ],
  "zipCodes": [],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountryCode": "US"
  }
}
```

# 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"
    ],
    "zipCodes": [],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountryCode": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("swerve/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"],
    "zipCodes": [],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountryCode": "US",
    },
}

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

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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"
  ],
  "zipCodes": [],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountryCode": "US"
  }
}' |
apify call swerve/redfin-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=swerve/redfin-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/rAjBhv0VJC3hRcwrv/builds/wB5begYT3vkdeSspq/openapi.json
