# Redfin Property Search Scraper (`thescrappa/redfin-property-search-scraper`) Actor

Scrape Redfin property search listings with prices, beds, baths, square footage, addresses, coordinates, URLs, MLS numbers, and listing IDs.

- **URL**: https://apify.com/thescrappa/redfin-property-search-scraper.md
- **Developed by:** [Scrappa](https://apify.com/thescrappa) (community)
- **Categories:** Business, Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.30 / 1,000 property results

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?

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 Property Search Scraper

Scrape Redfin property search results by region, market, price, beds, baths,
property type, status, and page. The actor is a thin Apify wrapper around
Scrappa's Redfin API and saves one dataset item per property listing.

Recommended paid pricing: **$0.30 per 1,000 saved property listings** using the
`property-result` pay-per-event charge.

### Example input

```json
{
  "region_id": 16163,
  "region_type": 6,
  "market": "seattle",
  "num_homes": 50,
  "page": 1
}
```

### Batch input

Use `searches` to run multiple Redfin searches in one Apify run:

```json
{
  "searches": [
    { "region_id": 16163, "region_type": 6, "market": "seattle", "num_homes": 25 },
    { "region_id": 11203, "region_type": 6, "market": "socal", "num_homes": 25 }
  ]
}
```

### Output fields

Common top-level fields include:

- `property_id`
- `listing_id`
- `address`
- `city`
- `state`
- `zip`
- `price`
- `beds`
- `baths`
- `sqft`
- `lot_size`
- `year_built`
- `property_type`
- `property_type_label`
- `status`
- `latitude`
- `longitude`
- `url`
- `mls_number`
- `request_search_index`
- `request_region_id`
- `request_region_type`
- `request_market`
- `request_min_price`
- `request_max_price`
- `request_num_beds`
- `request_num_baths`
- `request_property_types`
- `request_status`
- `request_status_label`
- `request_sold_within_days`
- `request_num_homes`
- `request_page`

# Actor input Schema

## `region_id` (type: `integer`):

Redfin region identifier from Scrappa's /api/redfin/locations endpoint. Example: 16163 for Seattle.

## `region_type` (type: `string`):

Redfin region type: 1=neighborhood, 2=ZIP, 4=postal code, 5=county, 6=city.

## `market` (type: `string`):

Redfin market identifier from the locations endpoint, such as seattle, socal, dc, or nyc.

## `min_price` (type: `integer`):

Minimum listing price.

## `max_price` (type: `integer`):

Maximum listing price.

## `num_beds` (type: `integer`):

Minimum number of bedrooms.

## `num_baths` (type: `number`):

Minimum number of bathrooms.

## `property_types` (type: `string`):

Comma-separated Redfin property type IDs from 1-8. Leave blank for all types.

## `status` (type: `string`):

Listing status: 1=active, 9=all, 130=pending, 131=active plus pending.

## `sold_within_days` (type: `integer`):

Include properties sold within this many days. Required for some sold-listing workflows.

## `num_homes` (type: `integer`):

Number of listings to return for each search.

## `page` (type: `integer`):

Results page to fetch.

## `searches` (type: `array`):

Run multiple Redfin region searches in one Apify run. When provided, top-level search fields are ignored.

## Actor input object example

```json
{
  "region_id": 16163,
  "region_type": "6",
  "market": "seattle",
  "property_types": "1,2,3",
  "status": "9",
  "num_homes": 50,
  "page": 1
}
```

# 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 = {
    "property_types": "1,2,3"
};

// Run the Actor and wait for it to finish
const run = await client.actor("thescrappa/redfin-property-search-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 = { "property_types": "1,2,3" }

# Run the Actor and wait for it to finish
run = client.actor("thescrappa/redfin-property-search-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 '{
  "property_types": "1,2,3"
}' |
apify call thescrappa/redfin-property-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thescrappa/redfin-property-search-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/Xa9ClmgD4tI9lHT91/builds/ve8V8JbgEbMGkhGaq/openapi.json
