# Redfin Scraper - Homes, Prices, Sold Data & Rent (`crawl_craft/redfin-scraper`) Actor

Scrape Redfin homes for sale, sold or for rent by city, ZIP, address or link. Get price, beds, baths, size, year built, status, agents and photos, plus optional Redfin Estimate, price cuts, tax history, schools and risk scores. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/crawl_craft/redfin-scraper.md
- **Developed by:** [Crawl Craft](https://apify.com/crawl_craft) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 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.
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 is Redfin Scraper?

Redfin Scraper is an Apify Actor that collects homes for sale, recently sold homes and rentals from Redfin as structured data. Give it a city, ZIP code, address or Redfin link and it returns price, beds, baths, size, year built, status and agent details for each home, ready to export as a table.

Checking Redfin homes one listing at a time slows every deal. This Redfin data scraper does the looking for you and fills a table while the run is still going. Many people search for a Redfin web scraper when they want that table without copy and paste. Used as a Redfin data extractor, it takes one place or thousands in the same run.

- 🏘️ **Three categories in one Actor.** Choose homes for sale, recently sold homes (from the last week up to the last 5 years) or homes for rent.
- 🎯 **Filters that match how you search.** Narrow by property type, price, bedrooms, bathrooms, size and year built, or add Redfin's own filter names.
- 🔬 **Optional deep details.** Switch on `includeDetails` to add the Redfin Estimate, price cuts, price and tax history, schools, Walk, Transit and Bike Score and risk scores.
- 📋 **Extra tables.** Photos, price history, tax history, schools, open houses and rental units each get a table of their own.
- 🔓 **No Redfin login needed.** The input has no field for a Redfin account or an API key.

### 📊 What data can you extract from Redfin?

Redfin property data comes back as one row per home, and you can download the dataset as JSON, CSV, Excel, XML or HTML. Redfin listing data for sale, sold and rental homes uses one row shape, so runs can be stacked. The table below lists the main fields with example values from the dataset schema. Fields Redfin does not publish for a home are empty.

| Field | Description | Example |
|---|---|---|
| `url` | Link to the home on Redfin. | `https://www.redfin.com/TX/Austin/6813-Doyal-Dr-78747/home/30992100` |
| `property_id` | Redfin property ID. | `30992100` |
| `listing_id` | Redfin listing ID (empty for homes without an active listing). | `220600318` |
| `mls_id` | MLS listing number. | `2763721` |
| `listing_type` | for_sale, sold or for_rent. | `for_sale` |
| `status` | Listing status such as Active, Pending, Sold or Off Market. | `Active` |
| `property_type` | House, Condo, Townhouse, Multi-family, Land, Apartment and so on. | `House` |
| `address`, `unit`, `city`, `state`, `zip` | Street address, unit number, city, two-letter state code and postal code. | `6813 Doyal Dr`, `4B`, `Austin`, `TX`, `78747` |
| `neighborhood` | Neighborhood or subdivision name. | `McKinney Park East Sec 02` |
| `latitude`, `longitude` | Coordinates of the home. | `30.1523373`, `-97.7399334` |
| `price` | Asking price, sold price or monthly rent (USD). | `300000` |
| `last_list_price` | Last listed price of a sold home. | `310000` |
| `price_per_sqft` | Price divided by interior square feet. | `180` |
| `hoa_monthly` | Monthly HOA dues when published. | `25` |
| `beds`, `baths`, `full_baths`, `half_baths` | Bedroom and bathroom counts (half baths count 0.5 in `baths`). | `3`, `3.0`, `3`, `1` |
| `sqft`, `lot_sqft` | Interior living area and lot size in square feet. | `1665`, `3598` |
| `year_built`, `stories` | Year built and number of stories. | `2004`, `2` |
| `garage_spaces`, `parking_spaces` | Garage spaces and total parking spaces. | `2`, `2` |
| `days_on_market` | Days the home has been listed. | `107` |
| `listed_date`, `sold_date`, `last_sold_date` | Listing date, sale date of sold homes and date of the previous sale. | `2026-07-09`, `2026-09-30`, `2024-11-18` |
| `next_open_house` | Start time of the next open house. | `2026-10-31T13:00` |
| `listing_agent`, `listing_broker` | Listing agent and brokerage. | `Jane Smith`, `Compass` |
| `buyer_agent`, `buyer_broker` | Buyer agent and brokerage (sold homes). | `John Lee`, `Keller Williams` |
| `badges`, `tags`, `highlights` | Listing badges, tags and highlights. | `["New"]`, `["Pool"]`, `["Large Rear Deck"]` |
| `description` | Listing remarks. | `Charming two-story home...` |
| `primary_photo`, `photo_count` | Link to the main photo and number of photos. | `https://ssl.cdn-redfin.com/photo/92/bigphoto/721/2763721_0.jpg`, `13` |
| `rent_max`, `beds_max`, `baths_max`, `sqft_max` | Largest rent, bedroom count, bathroom count and unit size in a rental building. | `3200`, `3`, `2`, `1400` |
| `building_name`, `units_available` | Rental building name and number of available units. | `The Domain Lofts`, `12` |
| `rental_specials`, `contact_phone` | Move-in specials and leasing contact phone number. | `["6 WEEKS FREE"]`, `(512) 555-0100` |
| `search_query` | The place or link this home came from. | `Austin, TX` |

With `includeDetails` on, each row also carries these fields.

| Field | Description | Example |
|---|---|---|
| `redfin_estimate`, `estimate_vs_price_pct` | Redfin automated value estimate (USD) and how it compares with the asking price. | `1769931`, `-1.62` |
| `rent_estimate`, `rent_estimate_low`, `rent_estimate_high` | Estimated monthly rent (USD) with its low and high end. | `7256`, `6500`, `8000` |
| `gross_rental_yield_pct` | Yearly rent estimate divided by price. | `4.84` |
| `original_list_price`, `price_cuts`, `total_price_cut`, `last_price_change_date` | First listed price, number of price reductions, total of all reductions and date of the latest change. | `1799000`, `1`, `25000`, `2026-09-12` |
| `last_sold_price` | Price of the previous sale (USD). | `280000` |
| `annual_tax`, `tax_year` | Latest yearly property tax (USD) and its year. | `32464.26`, `2026` |
| `assessed_land_value`, `assessed_improvement_value` | Assessed value of the land and of the buildings (USD). | `500000`, `900000` |
| `apn`, `county`, `mls_source` | Assessor parcel number, county name and source of the listing data. | `107348`, `Travis`, `Unlock MLS` |
| `walk_score`, `transit_score`, `bike_score` | Walk, Transit and Bike Score (0-100). | `28`, `30`, `45` |
| `flood_factor`, `fire_factor`, `heat_factor`, `wind_factor`, `air_factor` | Flood, wildfire, extreme heat, wind and air quality risk scores (1-10). | `1`, `1`, `8`, `2`, `3` |
| `fema_flood_zone`, `flood_insurance_estimate` | FEMA flood zone and estimated yearly flood insurance. | `X (unshaded)`, a yearly range in USD |
| `schools`, `photos`, `open_houses`, `price_history`, `tax_history`, `units` | Nearby schools, all photo links, scheduled open houses, listing and sale events, yearly tax and assessed values, and rental units. | arrays |
| `features`, `full_description` | MLS features grouped by section and the complete listing remarks. | object, text |

### 💡 Use cases for Redfin data

Redfin housing data answers different questions depending on your goal. Each use case below names the fields that serve it, and fields from `includeDetails` need that switch turned on.

- **Find undervalued homes.** Compare `redfin_estimate` with `price` and read `estimate_vs_price_pct` to see which asking prices differ most from the Redfin Estimate. Treat it as a first filter, not a valuation.
- **Run a real estate market analysis.** Group rows by `zip` or `neighborhood` and compare `price`, `price_per_sqft` and `days_on_market`.
- **Start investment property screening.** Put `rent_estimate`, `annual_tax` and `hoa_monthly` next to `price` to see which homes deserve a closer look.
- **Do rental yield analysis.** Read `gross_rental_yield_pct` for homes for sale, together with `rent_estimate_low` and `rent_estimate_high` for a range.
- **Pull sold comps.** Set `category` to `sold`, choose a `soldWithin` window and compare `sold_date`, `sqft`, `beds` and `price_per_sqft` around a subject home.
- **Track price drops.** Use `price_cuts`, `total_price_cut`, `original_list_price` and `last_price_change_date`. The Redfin price history table lists every listing and sale event.
- **Check property tax history.** The tax history table has one row per year with `tax`, `land_value` and `improvement_value`, and each home carries `annual_tax` and `tax_year`.
- **Do rental market research.** Set `category` to `forRent` and read `price`, `rent_max`, `units_available` and `rental_specials`; the rental units table lists each available unit.
- **Build a contact list for real estate lead generation.** Collect `listing_agent`, `listing_broker`, `buyer_agent` and `buyer_broker`; read the legality section before you use personal data.
- **Screen for flood and climate risk.** Compare `flood_factor`, `fema_flood_zone`, `fire_factor`, `heat_factor`, `wind_factor` and `air_factor` across a shortlist.
- **Do neighborhood research.** Add `walk_score`, `transit_score` and `bike_score`, and open the schools table for ratings, grades and distance.
- **Monitor new listings.** Set `sortBy` to `newest` and read `listed_date` and `days_on_market`; the schedule steps further down repeat the search for you.
- **Follow house price trends.** Run the same `sold` search on a schedule and compare `price` and `sold_date` between runs in your own tool.

### 🛠️ How to scrape Redfin homes

You can scrape Redfin in a few minutes from the Apify Console, without writing code.

1. Create a free Apify account or log in, then open Redfin Scraper in the Apify Console.
2. Add one or more places or Redfin links to `urls`, one per line.
3. Pick a `category`: `forSale`, `sold` or `forRent`. For `sold`, also choose how far back to look with `soldWithin`.
4. Set `maxItems` and any filters such as `propertyTypes`, `minPrice`, `maxBeds` or `minYearBuilt`.
5. Switch on `includeDetails` if you want the deep detail fields and the extra tables.
6. Click **Start** and watch the log: homes appear while the run is going.
7. Open the Output tab and download the dataset in the format you need.

#### How to scrape data from Redfin by city or ZIP

Add a city such as `Austin, TX`, a ZIP code, a neighborhood or a county to `urls`. You can also paste a Redfin search or map link: it keeps the filters that are in the link.

#### How to get Redfin recently sold homes

Set `category` to `sold` and pick a `soldWithin` value from `1wk` to `5yr`. The `sold_date` field shows when each home sold. A Redfin link that is already a sold search keeps its own category.

#### How to get a Redfin rental estimate for a home

Paste the home's Redfin link into `urls`. As a Redfin property scraper for single homes, the Actor returns that home with deep details. For homes for sale, `rent_estimate`, `rent_estimate_low` and `rent_estimate_high` are filled when Redfin provides them.

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

As a hosted Redfin scraping tool, Redfin Scraper has nothing to install. It uses pay-per-event pricing: you pay for each result that is saved to the main table, and the price per 1,000 results depends on your Apify plan tier.

| Apify plan tier | Price per 1,000 results |
|---|---|
| Free | $5 |
| Bronze | $4.5 |
| Silver | $4 |
| Gold / Platinum / Diamond | $3.5 |

For example, 1,000 results cost $5 at the Free tier price and $3.5 at the Gold, Platinum or Diamond tier price. An Apify Actor Start event of $0.00005 per run start also applies. The extra tables, the searches table and the failed inputs table are not billed as results, and a home whose deep details could not be loaded is not billed. If you set a maximum charge per run, the run stops cleanly when it is reached. See the Pricing tab for current rates.

### ⬇️ Input

The only required field is `urls`: cities, ZIP codes, neighborhoods, counties, street addresses, Redfin search or map links, or single home links. This Redfin extractor takes many places in one run. See the Input tab for every option, and keep `maxItems` low for a first test run.

![Redfin Scraper input form with places, category and filters](IMAGE_URL_PLACEHOLDER)

Example input:

```json
{
    "urls": ["Austin, TX"],
    "category": "forSale",
    "maxItems": 10,
    "sortBy": "relevance",
    "includeDetails": false
}
```

| Field | What it does |
|---|---|
| `urls` (required) | Places and Redfin links, one per line. Duplicates are removed. |
| `category` | `forSale`, `sold` or `forRent`. A Redfin link that is already a sold or rental search keeps its own category. |
| `soldWithin` | Only used for `sold`: `1wk`, `1mo`, `3mo`, `6mo`, `1yr`, `2yr`, `3yr` or `5yr`. |
| `maxItems` | Total homes for the whole run, across all places. Use `0` for everything Redfin has. |
| `sortBy` | `relevance`, `newest`, `priceAsc` or `priceDesc`. |
| `includeDetails` | Adds the deep detail fields and fills the extra tables. Slower, because each home needs more data. |
| `propertyTypes` | `house`, `condo`, `townhouse`, `multifamily`, `land`, `other` or `coop`. Leave empty for all types. |
| `minPrice`, `maxPrice` | Price range in US dollars (monthly rent for rentals). |
| `minBeds`, `maxBeds`, `minBaths` | Bedroom and bathroom limits. |
| `minSqft`, `maxSqft` | Interior size in square feet. |
| `minYearBuilt`, `maxYearBuilt` | Year built range. |
| `extraFilters` | Other Redfin filters, one per line, such as `has-pool`, `min-lot-size=0.25-acre` or `max-days-on-market=30`. Filters Redfin does not recognise are skipped with a note. |
| `proxyConfiguration` | Optional connection settings. By default no proxy is used. |
| `autoProxyUpgrade` | On by default: if Redfin refuses the connection, the run switches to Apify datacenter and then residential proxy (uses your proxy credit). Set to `false` to use only the connection you chose. |

A narrower search with filters looks like this:

```json
{
    "urls": ["Austin, TX"],
    "category": "forSale",
    "maxItems": 10,
    "sortBy": "newest",
    "minYearBuilt": 2000,
    "extraFilters": ["has-pool"]
}
```

### ⬆️ Output

The scraped results are shown as a dataset in the **Storage** tab. The table view is for convenience and doesn't show **all the fields**. Every run creates a Redfin dataset in your Apify account. For a Redfin data download, pick a view or the full dataset there and choose a format.

![Redfin Scraper output table with price, beds, baths and status](IMAGE_URL_PLACEHOLDER)

- Choose Excel for a Redfin export to Excel.
- Choose CSV for a Redfin CSV export.
- JSON, XML and HTML are available too, so the Actor works as a Redfin downloader for listing tables.
- The main table has views for overview, price and value, home facts, location, dates and agents, rentals, taxes and records, neighborhood and risk, and media and tags.

Example output for one home, using example values from the dataset schema:

```json
{
    "url": "https://www.redfin.com/TX/Austin/6813-Doyal-Dr-78747/home/30992100",
    "property_id": 30992100,
    "listing_id": 220600318,
    "mls_id": "2763721",
    "listing_type": "for_sale",
    "status": "Active",
    "property_type": "House",
    "address": "6813 Doyal Dr",
    "city": "Austin",
    "state": "TX",
    "zip": "78747",
    "neighborhood": "McKinney Park East Sec 02",
    "latitude": 30.1523373,
    "longitude": -97.7399334,
    "price": 300000,
    "price_per_sqft": 180,
    "hoa_monthly": 25,
    "beds": 3,
    "baths": 3.0,
    "sqft": 1665,
    "lot_sqft": 3598,
    "year_built": 2004,
    "days_on_market": 107,
    "listed_date": "2026-07-09",
    "primary_photo": "https://ssl.cdn-redfin.com/photo/92/bigphoto/721/2763721_0.jpg",
    "photo_count": 13,
    "search_query": "Austin, TX",
    "error": null
}
```

#### Extra tables

The same run can fill these tables next to the main one.

| Table | One row per | Filled when |
|---|---|---|
| Photos | photo | `includeDetails` is on |
| Price history | listing or sale event | `includeDetails` is on |
| Tax history | tax year | `includeDetails` is on |
| Schools | nearby school | `includeDetails` is on |
| Open houses | scheduled open house | `includeDetails` is on |
| Rental units | available rental unit | rentals with `includeDetails` on |
| Searches | place or link you gave, with how many homes it returned | always |
| Failed inputs | place or link that could not be searched | when something fails |

A run summary with counts and timing is saved as well.

### ⚠️ Limitations and error handling

- Only public listing information is collected. Private data is not available.
- A field Redfin does not publish for a home stays empty. In states that do not disclose sale prices, `price` is empty for sold homes and `last_list_price` can hold the last asking price.
- `maxItems` counts homes across all places in a run. Run a small test first to confirm the volume you need.
- Very large searches are collected in parts. Homes without a listed price may be missed in such a search, and a search with more homes than can be collected may skip some.
- Some optional detail sections can be unavailable for a moment. The fields they fill then stay empty and the log says so.
- Filters Redfin does not recognise are skipped with a note in the log.
- If a minimum is larger than its maximum (price, bedrooms, size or year built), the run stops with an input message. Fix the values and start again.

The Failed inputs table lists every place or link that could not be searched, with a short reason. One row looks like this (example from the dataset schema):

```json
{
    "input": "Atlantis",
    "url": null,
    "error": "Redfin found no place or address for this text"
}
```

If deep details cannot be loaded for a home, that home is listed in the Failed inputs table and is not billed.

### 🔌 Integrating Redfin Scraper with other apps

You can start Redfin Scraper from the Apify Console, on a schedule or through the API, and pass the Redfin home data on to other tools. Think of it as a ready-made Redfin crawler that you start with one click. The API tab shows ready-made JavaScript, Python and CLI snippets, so developers who want Redfin API Python access can call the Actor with the Apify client for Python. Use the Redfin Scraper API, which is the Apify API for this Actor, to start runs from code. Reading the dataset over that API gives you a simple Redfin data API for your own apps.

- **Schedules:** repeat the same search every day or week with [Apify schedules](https://docs.apify.com/platform/schedules). Each run returns the current results for your input, so compare runs in your own tool to see what changed.
- **Webhooks:** trigger your own service when a run finishes with [Apify webhooks](https://docs.apify.com/platform/integrations/webhooks).
- **Integrations:** send the dataset to apps and workflows through the [Apify integrations](https://docs.apify.com/platform/integrations).
- **AI agents:** use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp) to let an agent run the Actor.
- **Python:** the [Apify client for Python](https://docs.apify.com/api/client/python) starts runs and reads the dataset from your own code.

To monitor a market, schedule a `newest` search with a small `maxItems`. For house price trends, schedule a `sold` search and keep each run's dataset.

### 🔗 More Apify Actors by crawl_craft

If you work with other property sites, this Redfin listings scraper has siblings in the same account.

| Actor | What it extracts | When to use it |
|---|---|---|
| [Zillow Search Scraper](https://apify.com/crawl_craft/zillow-search-scraper) | Listings from any Zillow search link, city or ZIP: for sale, for rent and sold, with price, Zestimate, beds, baths, photos, broker and agent details. | Use it when you want Zillow listings instead of Redfin listings, for example to compare the two sites. |
| [Zillow Detail Scraper](https://apify.com/crawl_craft/zillow-detail-scraper) | Full Zillow property details from links, addresses or zpids: price, Zestimate, rent estimate, price and tax history, schools, comps and agents. | Use it when you already have Zillow property links or addresses and need one record per property. |
| [ImmoScout24 Scraper - Listings and Price-Cut Archive (DE, AT)](https://apify.com/crawl_craft/immoscout24-immobilienscout24-price-cut-archive) | Listings in Germany and Austria with price, size, rooms, address, photos, agent contacts and costs, plus a price history between runs. | Use it for German or Austrian property listings, or when you want a price-cut archive that is kept between runs. |

### ⚖️ Is it legal to scrape Redfin?

Redfin Scraper collects what Redfin shows to any visitor, and it does not log in or collect private data. Redfin real estate data can still contain personal data, such as agent names and phone numbers, so collect it only with a legitimate reason and consider the GDPR (Regulation (EU) 2016/679) and Redfin's terms. This is not legal advice: consult a lawyer if you are unsure. Apify explains the topic in [is web scraping legal](https://blog.apify.com/is-web-scraping-legal/) and [ethical web scraping](https://blog.apify.com/what-is-ethical-web-scraping-and-how-do-you-do-it/).

### ❓ FAQ

#### How much does Redfin Scraper cost?

The Apify Redfin Scraper is pay-per-event: $5 per 1,000 results at the Free tier price, falling to $3.5 at the top tier price. See the Pricing tab for current rates and the tier table above.

#### Can you scrape Redfin without an account?

Yes. The input has no field for a Redfin login or an API key, so you only add places or Redfin links.

#### How many homes can I get?

Set `maxItems` to `0` for everything Redfin has for your places. Very large searches are collected in parts, and the Limitations section explains the edge cases.

#### Why is price empty for some sold homes?

In states that do not disclose sale prices, Redfin does not publish the sold price. There `price` is empty, `last_list_price` can hold the last asking price and the sold date is still filled when Redfin provides it.

#### Can I scrape one specific home?

Yes. Paste its Redfin home link into `urls` and it is returned with deep details.

#### Is Redfin Scraper a Redfin API alternative?

It gives you Redfin listing data as a structured dataset that you can start and read through the Apify API. Check the field table above to see whether the fields you need are covered.

#### Do I need proxies?

No. By default the Actor runs without a proxy, and `proxyConfiguration` is optional.

#### Can I run Redfin Scraper every day?

Yes. Use an Apify schedule to start the same input on a timetable, and add a webhook or integration to pass each dataset on.

#### Can I scrape private data?

No. Only information that Redfin shows publicly is collected.

### 💬 Your feedback

Found a bug or a missing field? Open an issue from the Issues tab of the Actor page and include the input you used. For custom solutions, write to hello.crawlcraft@gmail.com.

# Actor input Schema

## `urls` (type: `array`):

One per line: a city (Austin, TX), ZIP code, neighborhood, county, street address, a Redfin search or map link with its filters, or a single home link. Duplicates are removed. Add as many as you like.

## `category` (type: `string`):

For sale (active listings), recently sold, or for rent. A Redfin link that is already a sold or rental search keeps its own category.

## `soldWithin` (type: `string`):

Only used when the category is recently sold: how far back to look.

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

Total homes to return for the whole run, across all places. Use 0 for everything Redfin has.

## `sortBy` (type: `string`):

Order of the homes. Relevance is Redfin's default order.

## `includeDetails` (type: `boolean`):

Adds Redfin Estimate, rent estimate and yield, price cuts, price and tax history, schools, Walk/Transit/Bike Score, flood/fire/heat risk, agent data and all photos. Slower, because each home needs more data.

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

Keep only these property types. Leave empty for all types.

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

Lowest price in US dollars (monthly rent for rentals).

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

Highest price in US dollars (monthly rent for rentals).

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

Fewest bedrooms.

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

Most bedrooms.

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

Fewest bathrooms.

## `minSqft` (type: `integer`):

Smallest interior size in square feet.

## `maxSqft` (type: `integer`):

Largest interior size in square feet.

## `minYearBuilt` (type: `integer`):

Earliest year built, for example 2000.

## `maxYearBuilt` (type: `integer`):

Latest year built, for example 2020.

## `extraFilters` (type: `array`):

Other Redfin filters, one per line, written like Redfin's own link filters, for example has-pool, min-lot-size=0.25-acre or max-days-on-market=30. Filters Redfin does not recognise are skipped with a note.

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

Optional connection settings. By default no proxy is used.

## `autoProxyUpgrade` (type: `boolean`):

By default the run starts without a proxy. If Redfin refuses the connection, it automatically switches to Apify datacenter proxy and then residential proxy, which uses your Apify proxy credit. Turn this off to use only the connection you chose above.

## Actor input object example

```json
{
  "urls": [
    "Austin, TX"
  ],
  "category": "forSale",
  "soldWithin": "1yr",
  "maxItems": 10,
  "sortBy": "relevance",
  "includeDetails": false,
  "propertyTypes": [],
  "extraFilters": [],
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "autoProxyUpgrade": true
}
```

# Actor output Schema

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

One row per home.

## `priceAndValue` (type: `string`):

Prices, price cuts, Redfin Estimate and rental yield.

## `photos` (type: `string`):

One row per photo (deep details on).

## `priceHistory` (type: `string`):

One row per listing or sale event (deep details on).

## `taxHistory` (type: `string`):

One row per tax year (deep details on).

## `schools` (type: `string`):

Nearby schools per home (deep details on).

## `openHouses` (type: `string`):

Scheduled open houses (deep details on).

## `rentalUnits` (type: `string`):

Rental units per building (rentals with deep details on).

## `searches` (type: `string`):

One row per place or link you gave, with how many homes it returned.

## `failedInputs` (type: `string`):

Places or links that could not be searched.

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

Counts and timing of the run.

# 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 = {
    "urls": [
        "Austin, TX"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawl_craft/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 = {
    "urls": ["Austin, TX"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("crawl_craft/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 '{
  "urls": [
    "Austin, TX"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call crawl_craft/redfin-scraper --silent --output-dataset

```

## MCP server setup

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