# Redfin Details Scraper (`kawsar/redfin-details-scraper`) Actor

Redfin real estate scraper that pulls property listings, prices, photos, and agent info from any Redfin city or zipcode page, so you can build market analyses without manual data entry.

- **URL**: https://apify.com/kawsar/redfin-details-scraper.md
- **Developed by:** [Kawsar](https://apify.com/kawsar) (community)
- **Categories:** Real estate, Automation, Developer tools
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Details Scraper

Pull property data from Redfin without copying fields by hand. Give it a city page, zipcode page, or a direct listing URL and it returns a structured dataset with prices, beds, baths, square footage, listing photos, GPS coordinates, agent info, and more.

---

### What it collects

For each property, the actor returns:

| Field | Description |
|---|---|
| `propertyUrl` | Full Redfin listing URL |
| `streetAddress` | Street address |
| `city`, `state`, `zipCode` | Location |
| `price` | Listing price (USD) |
| `listingStatus` | For Sale, Sold, or Pending |
| `beds` | Bedrooms |
| `baths` | Bathrooms |
| `sqft` | Interior square footage |
| `propertyCategory` | Property type (Single Family, Condo, etc.) |
| `yearBuilt` | Year the property was built |
| `latitude`, `longitude` | GPS coordinates |
| `listingRemarks` | Full agent description |
| `amenityFeatures` | List of features (parking, laundry, A/C, etc.) |
| `imageUrls` | All listing photo URLs |
| `mainImageUrl` | Primary photo URL |
| `mlsNumber` | MLS listing ID |
| `daysOnMarket` | Days active on market |
| `lotSize` | Lot size |
| `hoaFee` | HOA fee (if applicable) |
| `parkingInfo` | Garage and parking details |
| `agentName` | Listing agent name |
| `brokerageName` | Listing brokerage |
| `schoolInfo` | School district or nearby schools |
| `scrapedAt` | Timestamp of data collection |

---

### Input

#### Fields

| Field | Required | Description |
|---|---|---|
| `startUrls` | Yes | One or more Redfin URLs (city, zipcode, or property) |
| `maxItems` | No | Max properties to collect (default: 100, max: 1000) |
| `requestTimeoutSecs` | No | Per-request timeout in seconds (default: 30) |

#### Accepted URL formats

The actor accepts any of these Redfin URL types:

````

## City page

https://www.redfin.com/city/11387/OH/London

## Zipcode page

https://www.redfin.com/zipcode/32754

## Direct property page

https://www.redfin.com/OH/London/74-E-First-St-43140/home/40386455

````

For city and zipcode pages, the actor crawls the listing and collects all visible property detail pages, up to `maxItems`.

#### Example input

```json
{
  "startUrls": [
    {"url": "https://www.redfin.com/city/11387/OH/London"},
    {"url": "https://www.redfin.com/zipcode/32754"}
  ],
  "maxItems": 50
}
````

***

### Output

#### Example record

```json
{
  "propertyUrl": "https://www.redfin.com/OH/London/74-E-First-St-43140/home/40386455",
  "streetAddress": "74 E First St",
  "city": "London",
  "state": "OH",
  "zipCode": "43140",
  "country": "US",
  "price": 149900,
  "priceCurrency": "USD",
  "listingStatus": "For Sale",
  "beds": 3,
  "baths": 2,
  "sqft": 1350,
  "propertyCategory": "Single Family Residential",
  "yearBuilt": 1965,
  "latitude": 39.8870,
  "longitude": -83.4484,
  "listingRemarks": "Charming single-family home on a quiet street...",
  "amenityFeatures": [
    "Heating & cooling: Has A/C",
    "Parking: 2-car garage"
  ],
  "imageUrls": [
    "https://ssl.cdn-redfin.com/photo/52/bigphoto/455/40386455_1.jpg",
    "https://ssl.cdn-redfin.com/photo/52/bigphoto/455/40386455_2.jpg"
  ],
  "mainImageUrl": "https://ssl.cdn-redfin.com/photo/52/bigphoto/455/40386455_1.jpg",
  "mlsNumber": "224012345",
  "daysOnMarket": 14,
  "lotSize": "0.18 acres",
  "hoaFee": null,
  "parkingInfo": "Parking: 2-car garage",
  "agentName": "Jane Smith",
  "brokerageName": "RE/MAX Associates",
  "schoolInfo": "London City School District",
  "inputUrl": "https://www.redfin.com/city/11387/OH/London",
  "scrapedAt": "2026-04-06T10:23:45.123456+00:00",
  "error": null
}
```

***

### Use cases

- Real estate investors building comps and deal analysis
- Agents who want current market data for a city or zip
- Analysts tracking price trends across neighborhoods
- Developers feeding listing data into apps and dashboards
- Researchers studying housing market patterns

***

### Tips

- City and zipcode URLs return multiple properties per run. Direct property URLs scrape one listing at a time.
- Lower `maxItems` to 10 or 20 when testing a new URL.
- Data reflects what is publicly visible on the Redfin page at the time of scraping.

***

# Actor input Schema

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

One or more Redfin URLs to scrape. Accepts city pages (e.g. https://www.redfin.com/city/11387/OH/London), zipcode pages (e.g. https://www.redfin.com/zipcode/32754), or direct property pages (e.g. https://www.redfin.com/OH/London/123-Main-St-43140/home/12345678).

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

Maximum number of property records to collect per run.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.redfin.com/city/11387/OH/London"
    }
  ],
  "maxItems": 100,
  "requestTimeoutSecs": 30
}
```

# 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/11387/OH/London"
        },
        {
            "url": "https://www.redfin.com/zipcode/32754"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kawsar/redfin-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/11387/OH/London" },
        { "url": "https://www.redfin.com/zipcode/32754" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("kawsar/redfin-details-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 '{
  "startUrls": [
    {
      "url": "https://www.redfin.com/city/11387/OH/London"
    },
    {
      "url": "https://www.redfin.com/zipcode/32754"
    }
  ]
}' |
apify call kawsar/redfin-details-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Redfin Details Scraper",
        "description": "Redfin real estate scraper that pulls property listings, prices, photos, and agent info from any Redfin city or zipcode page, so you can build market analyses without manual data entry.",
        "version": "0.0",
        "x-build-id": "6T6icJ1JVGANzHYGB"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/kawsar~redfin-details-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-kawsar-redfin-details-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/kawsar~redfin-details-scraper/runs": {
            "post": {
                "operationId": "runs-sync-kawsar-redfin-details-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/kawsar~redfin-details-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-kawsar-redfin-details-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Redfin URLs",
                        "type": "array",
                        "description": "One or more Redfin URLs to scrape. Accepts city pages (e.g. https://www.redfin.com/city/11387/OH/London), zipcode pages (e.g. https://www.redfin.com/zipcode/32754), or direct property pages (e.g. https://www.redfin.com/OH/London/123-Main-St-43140/home/12345678).",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum number of property records to collect per run.",
                        "default": 100
                    },
                    "requestTimeoutSecs": {
                        "title": "Request timeout (seconds)",
                        "minimum": 5,
                        "maximum": 120,
                        "type": "integer",
                        "description": "Per-request timeout in seconds.",
                        "default": 30
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
