# Real Estate Search & Property Details Scraper (`ahmed_jasarevic/real-estate-search-property-details-scraper`) Actor

Real estate data scraper for searching properties by keywords or locations and extracting detailed property information, including valuations, tax records, APN data, and descriptions.

Not affiliated with, endorsed by, or sponsored by Redfin. All trademarks belong to their respective owners.

- **URL**: https://apify.com/ahmed\_jasarevic/real-estate-search-property-details-scraper.md
- **Developed by:** [Ahmed Jasarevic](https://apify.com/ahmed_jasarevic) (community)
- **Categories:** Real estate, Developer tools, Automation
- **Stats:** 10 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.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.

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 Scraper (Fast & Stealthy)

The **Redfin Scraper** is a high-performance, automated tool designed to extract comprehensive real-estate data from Redfin.com. Unlike basic scrapers, this tool utilizes a hybrid **Playwright + HTTP/2** approach to bypass AWS WAF protections while maintaining extreme speed.

Whether you need data from a **single property** or want to scrape **thousands of listings** from an entire city, this scraper handles it with ease.

### ✨ Features

- **City & Zip Code Scraping:** Extract hundreds of properties from any city or neighborhood URL in seconds.
- **Deep Property Scraping:** Get full details including historical prices, tax data (APN/FIPS), and lot sizes.
- **WAF & Bot Protection Bypass:** Integrated Playwright session management to handle AWS WAF tokens automatically.
- **Rich Data Output:** Includes listing descriptions, high-res thumbnails, geolocation (Lat/Long), and MLS status.
- **SEO & Lead Gen Ready:** Ideal for real estate investors, lead generation, and market analysis.

***

### 📥 Input Data

The scraper accepts an array of URLs (Cities or Properties) and a limit on the number of items.

```json
{
  "maxItems": 400,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "startUrls": [
    {
      "url": "https://www.redfin.com/AL/Huntsville/4113-Toftoy-Dr-SW-35805/home/125779794"
    },
    {
      "url": "https://www.redfin.com/city/11203/CA/Los-Angeles"
    }
  ]
}
```

***

### 📤 Output Examples

The scraper provides structured data in JSON format. It automatically detects if a URL is a single property or a search list.

#### 1. Detail Page (Single Property)

When provided with a direct home URL, the scraper extracts deep data including tax info and market status.

```json
{
	"status": {
		"displayValue": "Sold",
		"definition": "This listing sold and is now off the market.",
		"longerDefinitionToken": "sold"
	},
	"priceInfo": {
		"amount": 170000,
		"label": "Last Sold Price",
		"displayLevel": 1
	},
	"latestPriceInfo": {
		"amount": 170000,
		"label": "Last Sold Price",
		"displayLevel": 1
	},
	"sqFt": {
		"displayLevel": 1,
		"value": 1171
	},
	"pricePerSqFt": 159,
	"streetAddress": {
		"streetNumber": "4113",
		"directionalPrefix": "",
		"streetName": "Toftoy",
		"streetType": "Dr",
		"directionalSuffix": "SW",
		"unitType": "",
		"unitValue": "",
		"addressDisplayLevel": {
			"displayLevel": 1,
			"displayText": "",
			"dataSourceId": 252
		},
		"assembledAddress": "4113 Toftoy Dr SW",
		"includeStreetNumber": true,
		"includeUnitNumber": true,
		"includeStreetName": true
	},
	"latLong": {
		"latitude": 34.7111686,
		"longitude": -86.6245229
	},
	"beds": 3,
	"baths": 1.5,
	"yearBuilt": 1958,
	"city": "Huntsville",
	"state": "AL",
	"zip": "35805",
	"countryCode": "US",
	"soldDate": 1714719600000,
	"soldDateTimeZone": "US/Central",
	"lotSize": 10018,
	"fips": "01089",
	"apn": "17-02-10-2-002-062.000",
	"hasOpen": false,
	"hasAgc": false,
	"isRedfin": false,
	"isHot": false,
	"avmInfo": {
		"displayLevel": 1,
		"propertyId": 125779794,
		"predictedValue": 186271.47
	},
	"searchStatus": 4,
	"propertyType": 6,
	"listingType": 1,
	"isMappable": true,
	"userCanShare": true,
	"riftDataSource": "mls",
	"homeStatusLabel": "Off Market",
	"numFullBaths": 1,
	"numPartialBaths": 1,
	"staticMapUrl": "https://maps.google.com/maps/api/staticmap?sensor=false&style=feature%3Aadministrative.land_parcel%7Cvisibility%3Aoff&style=feature%3Alandscape.man_made%7Cvisibility%3Aoff&style=feature%3Atransit.station%7Chue%3A0xffa200&center=34.7111686%2C-86.6245229&channel=desktop_xdp_above_fold_static_preview&size=200x200&scale=1&format=jpg&zoom=11&client=gme-redfin&signature=xQ5ubDSlcCwXqQn27yhwUKGob1A=",
	"url": "https://www.redfin.com/AL/Huntsville/4113-Toftoy-Dr-SW-35805/home/125779794",
	"primaryPhotoUrl": "https://ssl.cdn-redfin.com/photo/252/bigphoto/663/21854663_2.jpg",
	"rawHalfBaths": 1,
	"rawThreeQuarterBaths": 0,
	"rawFullBaths": 1,
	"sourceType": "SINGLE_FAMILY_URL",
	"scrapedAt": "2026-04-12T16:39:11.826Z"
}
```

#### 2. Search Result (City/Keyword List)

When scraping a city, the tool uses the Redfin GIS API to bulk-fetch listings, including the full **agent description** without needing to visit each page.

```json
{
	"address": "1306 W 83rd",
	"city": "Los Angeles",
	"state": "CA",
	"zip": "90044",
	"countryCode": "US",
	"price": 730000,
	"beds": 4,
	"baths": 2,
	"sqFt": 1500,
	"pricePerSqFt": 487,
	"lotSize": 3676,
	"yearBuilt": 1912,
	"propertyType": 4,
	"uiPropertyType": 4,
	"listingType": 1,
	"daysOnMarket": 1,
	"timeOnRedfin": 66483478,
	"mlsId": "DW26078321",
	"mlsStatus": "Active",
	"location": "699 - Not Defined",
	"latitude": 33.9634496,
	"longitude": -118.2985274,
	"propertyId": 200654844,
	"listingId": 213951131,
	"numPictures": 3,
	"thumbnail": "https://ssl.cdn-redfin.com/photo/45/bigphoto/213951131_0.jpg",
	"description": "Move in ready Duplex, recently renovated. Each unit features 2 bedrooms and 1 bathroom, with its own private entrance and separate yard space, perfect for added privacy and comfortable living. Bright, functional layouts make both units feel warm and inviting. This is a great opportunity for first-time homebuyers or investors looking for strong rental potential. Conveniently located near schools, shopping, and major freeways for easy everyday access",
	"url": "https://www.redfin.com/CA/Los-Angeles/1306-W-83rd-St-90044/home/200654844",
	"sourceType": "CITY_GIS_LIST",
	"scrapedAt": "2026-04-12T16:39:16.303Z"
}
```

***

### 🚀 How to use

1. **Enter Start URLs:** Paste Redfin URLs for cities, neighborhoods, or specific homes.
2. **Set Max Items:** Define how many properties you want to extract.
3. **Run & Export:** The scraper will bypass bot detection and deliver the results in JSON, CSV, or Excel format.

# Actor input Schema

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

Enter Redfin City URLs (e.g., /city/11203/CA/Los-Angeles) or direct Home URLs.

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

Limit the number of properties to scrape.

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

Residential proxies are highly recommended for Redfin.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.redfin.com/city/11203/CA/Los-Angeles"
    }
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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/11203/CA/Los-Angeles"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ahmed_jasarevic/real-estate-search-property-details-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/11203/CA/Los-Angeles" }] }

# Run the Actor and wait for it to finish
run = client.actor("ahmed_jasarevic/real-estate-search-property-details-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/11203/CA/Los-Angeles"
    }
  ]
}' |
apify call ahmed_jasarevic/real-estate-search-property-details-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ahmed_jasarevic/real-estate-search-property-details-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/fXgHhJZJNQiyNBTLb/builds/lR8994vz3JthEkX3V/openapi.json
