# Redfin Scraper API – Listings, Sold Comps, $0.80/1,000 (`griffie/redfin-scraper`) Actor

Collect Redfin sale listings, 90-day sold comps and rental buildings by city, ZIP or search URL. Flat rows with prices, beds, baths, square feet, addresses and days on market. Bulk cities, large-market pagination and coverage reports. Schedule repeat pulls to spot price changes.

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

## Pricing

from $0.50 / 1,000 listings

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/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

### What does Redfin Scraper API do?

**Redfin Scraper API** turns [Redfin](https://www.redfin.com/) search results into clean rows you can use in a spreadsheet, database or automation. Pull **active homes for sale**, **90-day sold comps**, or **apartment rental buildings** by US city, ZIP code or Redfin search URL.

Use it to build a real estate listings API feed, screen relocation markets, monitor asking-price changes over time, compare rents, or assemble a comparable-sales worksheet. It collects search results only: it does not log in, contact agents, visit property-detail pages or enrich listings with separate price histories.

### Why use this Redfin scraper?

- **Three search modes:** sale, recent sold, and rental-building supply.
- **Nationwide starting points:** 926 built-in city names across all 50 states, any five-digit US ZIP, plus Redfin city, neighborhood and ZIP URLs with numeric region IDs.
- **Bulk locations:** combine cities and ZIPs in one run; each row keeps its `searchLocation`.
- **Pagination beyond the first page:** sale and sold searches advance through compact 350-row result pages.
- **Large-market coverage:** searches reporting more than 10,000 properties automatically split into price bands, then subdivide busy bands when needed.
- **Rental map fan-out:** dense rental markets split into map tiles and deduplicate overlapping buildings.
- **Flat, predictable fields:** no nested payload cleanup before importing to CSV or Excel.
- **No hidden completeness claims:** the `COVERAGE` key-value record explains source totals, returned rows, caps, duplicates, requests and truncation.
- **Automation-ready:** schedule repeat searches, call them through the Apify API, or connect datasets to downstream agents and reporting workflows.

### What Redfin listing data can I extract?

Important fields include:

| Field | Meaning |
| --- | --- |
| `propertyId`, `listingId`, `url` | Stable identifiers and source property link when supplied |
| `listingType`, `status` | Sale, sold or rental row and source listing status |
| `price`, `soldPrice`, `soldDate` | Current asking price or recent-sale information |
| `pricePerSqFt`, `hoaMonthly` | Price efficiency and monthly HOA when available |
| `address`, `city`, `state`, `zip` | Normalized location fields; sale rows can include street and unit separately |
| `latitude`, `longitude` | Coordinates for mapping and distance analysis |
| `beds`, `baths`, `sqft` | Core property characteristics |
| `lotSizeSqft`, `yearBuilt`, `propertyType` | Lot, construction and property classification when present |
| `daysOnMarket` | Market-time signal useful for repeat watches |
| `photoUrl`, `photoCount` | Lead image and image count when present |
| `mlsNumber`, `mlsSource` | MLS references when present |

Rental results represent **buildings/properties, not individual apartment units**. Rental rows also include `propertyName`, `rentMin`, `rentMax`, `availableUnits`, and bedroom, bathroom and square-foot ranges. Missing values stay `null`; an estimate is never substituted for an actual list price.

### How to scrape Redfin listings

1. Add one or more **Cities or ZIP codes**, such as `Austin, TX`, `Boise, ID` or `78701`.
2. Choose **Sale**, **Sold** or **Rental**. Sold covers the most recent 90 days.
3. Set a per-location limit and, if needed, a total limit across all locations.
4. Run the Actor and open the dataset preview.
5. Download the result as **JSON, CSV, Excel, XML or HTML**, or retrieve it through the Apify API.
6. Check the `COVERAGE` record before treating a market pull as complete.

For a neighborhood or a place outside the built-in city map, paste its Redfin **city, neighborhood or ZIP URL containing a numeric region ID** into **Redfin search URLs**. Use an unfiltered sale URL: custom sale-URL filters are not carried into pagination. A filtered URL may therefore return the wider unfiltered sale inventory for that region. Rentals use their apartment-search path.

### How much does it cost to scrape Redfin?

This Actor uses pay-per-event pricing. A small **$0.00005 run-start charge** applies once per run. Each sale or sold listing then triggers one `listing` event; each rental result triggers one separately priced `rental-building` event. The `COVERAGE` record is not charged.

| Saved result | Free | Bronze | Silver | Gold, Platinum and Diamond |
| --- | ---: | ---: | ---: | ---: |
| Sale or sold listing | $0.0008 | $0.0007 | $0.0006 | $0.0005 |
| Rental building | $0.002 | $0.0018 | $0.0016 | $0.0014 |

At Free-tier event prices, 1,000 sale or sold listings cost **$0.80**, and 1,000 rental buildings cost **$2.00**, plus one start charge per run. Set a maximum run charge to control spending. If that budget is reached, the Actor saves the allowed rows, records `max-cost`, and stops rather than charging for unsaved results.

Empty searches do not create listing charges. Proxy traffic and compute are included in the event prices, so there is nothing else to pay. US residential proxies are the default because datacenter IPs returned bot challenges during development.

**Try it free:** Apify's Free plan includes $5 of usage credit every month with no card required. That covers about 6,000 sale or sold listings.

### Input and scaling options

The two main caps work together:

- **`maxListingsPerLocation`** limits each requested city, ZIP or URL, up to 10,000. Default: 100.
- **`maxListings`** is a safety limit across the entire run. Default: 100; set it to `0` for no additional global cap.

Sale and sold pagination uses 350-row offsets. Inventory reported above 10,000 is split into price bands; a band that reaches the source offset ceiling can split again using its observed price range. Rental searches allow up to 200 map-tile requests and eight split levels per location. These are safeguards, not a promise that every market can be completely captured in one run.

Live inventory can change during a traversal, and Redfin's aggregate total can differ from the rows exposed by result pages. Nearby inventory may appear outside a strict municipal boundary. Rental coverage is measured in saved buildings, while Redfin may separately report individual available units.

### Output example

A sale row is shaped like this (illustrative values):

```json
{
  "propertyId": "123456789",
  "url": "https://www.redfin.com/example/home/123456789",
  "listingType": "sale",
  "status": "Active",
  "price": 525000,
  "pricePerSqFt": 350,
  "address": "100 Example Ave, Austin, TX 78701",
  "latitude": 30.2672,
  "longitude": -97.7431,
  "beds": 3,
  "baths": 2,
  "sqft": 1500,
  "propertyType": "Single Family Residential",
  "daysOnMarket": 12,
  "searchLocation": "Austin, TX"
}
```

### Ready-to-run Redfin examples

1. **[Austin homes for sale: prices, size and days on market](https://apify.com/griffie/redfin-scraper/tasks/austin-homes-for-sale-grid)**
2. **[Phoenix entry-price inventory from Redfin](https://apify.com/griffie/redfin-scraper/tasks/phoenix-affordable-home-search)**
3. **[Compare for-sale homes across four Sun Belt cities](https://apify.com/griffie/redfin-scraper/tasks/four-sunbelt-city-home-price-compare)**
4. **[Los Angeles large-market pull with price bands](https://apify.com/griffie/redfin-scraper/tasks/los-angeles-large-market-capped-pull)**
5. **[Miami listings from a Redfin city or neighborhood URL](https://apify.com/griffie/redfin-scraper/tasks/miami-neighborhood-listings-url-search)**
6. **[Relocation screen: active listings in ten US cities](https://apify.com/griffie/redfin-scraper/tasks/ten-city-relocation-listing-compare)**

These tasks are deliberately capped demonstrations. Duplicate one, change its locations, adjust the caps and schedule it for your market.

#### How do I use this as a price-drop tracker?

Schedule the same sale search daily or weekly, export every run, and join rows on `propertyId`. Compare current `price`, `status` and `daysOnMarket` with your previous export to detect new listings, reductions and withdrawn inventory. The Actor supplies current search snapshots; **your storage performs the comparison**. It does not retain a historical series for you.

### Known limitations

- Search results only. **No property-detail enrichment, tax history, school details or separate price-history timeline.**
- The built-in resolver has 926 cities. Other places require a supported Redfin URL or ZIP; neighborhood names alone are not resolved.
- Sold mode uses a fixed 90-day window.
- Custom filters embedded in sale URLs are not translated into compact pagination. Use an unfiltered region URL.
- Rental rows are building-level summaries rather than exact individual-unit offers.
- Residential IP reputation varies. Transient failures are retried with fresh sessions, but searches can still encounter upstream bot challenges or missing rental-tile payloads.
- A user cap makes a result intentionally partial. Always read `COVERAGE`; do not treat cap-limited output as a complete market snapshot.

#### Why did my result count differ from the total shown on Redfin?

Result pages, aggregate counts and map viewports are different source views of moving inventory. They can include nearby properties or update mid-run. `COVERAGE` preserves both reported totals and returned rows so discrepancies remain visible.

#### Is this an official Redfin API?

No. This is an independent Apify Actor for public search results. Redfin is a trademark of its respective owner; this project is not endorsed by or affiliated with Redfin.

### Use it with Make, n8n, Zapier, Google Sheets or an AI agent

- **On a schedule:** in Apify Console open *Schedules → Create new*, add this Actor (or one of the example tasks) and choose hourly, daily, weekly or a cron expression.
- **Make, Zapier and n8n:** all three have an official Apify app or node. Use *Run Actor* (or *Run task*) with the same JSON input, then *Get dataset items* to send the listings to Google Sheets, Airtable, Slack, email or a database.
- **Google Sheets, Slack and webhooks:** the Actor's *Integrations* tab can push results when a run finishes, with no code.
- **AI agents (MCP):** Apify's MCP server at `https://mcp.apify.com` exposes Store Actors as tools, so an MCP-compatible assistant or agent framework can call `griffie/redfin-scraper` and read the listings it returns.
- **From code:** use the official `apify-client` package for Python or JavaScript:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("griffie/redfin-scraper").call(run_input={"locations": ["Austin, TX"], "listingType": "sale", "maxListings": 12, "maxListingsPerLocation": 12, "proxyConfiguration": {"useApifyProxy": True, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "US"}})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### Responsible use and support

Use the extracted information only where you have a legitimate purpose and comply with applicable law and the source site's terms. Public listing data may still include personal data in some circumstances. Do not use it for unrelated profiling or outreach. If you are unsure about your use case, obtain appropriate legal advice.

Open an **issue** on the Actor for a reproducible problem, or use the **API** tab to integrate a run into your own application. Include the run ID, search inputs and the `COVERAGE` record when reporting missing or truncated results.

### More Actors from the same developer

- **[Coles, Woolworths & ALDI Scraper](https://apify.com/griffie/coles-woolworths-aldi-scraper)**: Australian supermarket prices, half-price specials and a price-change tracker.
- **[UK Supermarket Prices Scraper](https://apify.com/griffie/uk-supermarket-prices)**: Tesco, Sainsbury's, ASDA, Aldi, Morrisons, Waitrose and Iceland prices in one table.
- **[Google Trends Scraper & API](https://apify.com/griffie/google-trends-reliable-scraper)**: bulk interest over time, interest by region and related queries.
- **[Google Ads Transparency Scraper](https://apify.com/griffie/google-ads-transparency-scraper)**: every Google ad a competitor or website runs, including YouTube and political ads.
- **[Google Hotels Scraper](https://apify.com/griffie/google-hotels-prices-scraper)**: hotel prices for any city and dates, compared across booking sites.
- **[Google Flights Scraper](https://apify.com/griffie/google-flights-scraper)**: live fares for many routes and dates, plus cheapest-day calendars.
- **[Tennis Scraper & Odds API](https://apify.com/griffie/tennis-results-odds-scraper)**: ATP, WTA, Challenger and ITF results, live scores and bookmaker odds.
- **[Hiring Signals & New Jobs Tracker](https://apify.com/griffie/company-jobs-ats-api)**: job openings from 13 applicant tracking systems, with new-job alerts.

Found a bug or need a field that's missing? Open an issue on the Actor's *Issues* tab and it will be looked at quickly.

# Actor input Schema

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

US "City, ST" names from the built-in nationwide city map (926 cities across all 50 states), or any five-digit ZIP. Other places can be supplied as Redfin city/neighborhood URLs. Sale/sold searches paginate compact results; rentals recursively split the map into tiles below the 350-building response limit.

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

Redfin city, neighborhood or ZIP search URLs containing numeric region IDs. Sale/sold use compact result pages and automatic price-band splitting in markets above 10,000 listings. Rentals use HTML map tiles with dedupe. Custom sale-URL filters are not yet carried into pagination; use unfiltered sale URLs.

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

Sale = active for-sale listings; sold = recent sold comps; rental = apartment/building rental rows. When omitted, each URL/filter chooses its mode and city/ZIP searches default to sale.

## `maxListingsPerLocation` (type: `integer`):

Per-location cap, up to 10,000. Sale/sold advance through 350-row pages; markets above 10,000 automatically split into price bands. Rentals recursively split map viewports until each response fits, up to 200 tiles and 8 split levels. COVERAGE reports any remaining truncation.

## `maxListings` (type: `integer`):

Global safety cap across all locations. 0 means no additional global cap.

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

US residential is strongly recommended. Datacenter returned bot challenges. No browser or unblocker is used. Fresh sessions retry transient rental tile failures; persistent missing tiles are flagged in COVERAGE.

## `debugLog` (type: `boolean`):

Print additional HTTP diagnostics.

## Actor input object example

```json
{
  "locations": [
    "Austin, TX"
  ],
  "startUrls": [],
  "listingType": "sale",
  "maxListingsPerLocation": 12,
  "maxListings": 12,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "debugLog": false
}
```

# Actor output Schema

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

Normalized sale, sold-comp and rental-building rows with price, address, beds/baths, photos and search provenance.

## `coverage` (type: `string`):

Per-location availability, returned counts, stop reasons, charge totals and truncation flags.

# 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 = {
    "locations": [
        "Austin, TX"
    ],
    "listingType": "sale",
    "maxListingsPerLocation": 12,
    "maxListings": 12
};

// Run the Actor and wait for it to finish
const run = await client.actor("griffie/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 = {
    "locations": ["Austin, TX"],
    "listingType": "sale",
    "maxListingsPerLocation": 12,
    "maxListings": 12,
}

# Run the Actor and wait for it to finish
run = client.actor("griffie/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 '{
  "locations": [
    "Austin, TX"
  ],
  "listingType": "sale",
  "maxListingsPerLocation": 12,
  "maxListings": 12
}' |
apify call griffie/redfin-scraper --silent --output-dataset

```

## MCP server setup

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