# Realtor Scraper (`datahamster/realtor-scraper`) Actor

Realtor scraper for realtor.com homes for sale, recently sold and for rent by city, ZIP or pasted search URL: price, beds, baths, sqft, lot, $/sqft, list date, price cuts, brokerage, coordinates, photos. Monitor alerts on new listings and price drops.

- **URL**: https://apify.com/datahamster/realtor-scraper.md
- **Developed by:** [Viktor Dubnytskiy](https://apify.com/datahamster) (community)
- **Categories:** Real estate
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 result items

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

## Realtor Scraper

Get realtor.com listings as flat rows: homes for sale, recently sold homes and rentals, with address, price, beds, baths, square feet, lot size, price per square foot, property type, status, the exact list date, price reductions, the listing brokerage company, coordinates and photo count. Type a city or ZIP code, or paste any realtor.com search URL with your filters. No account and no cookies. Monitor mode turns a search into an alert on new listings and price drops.

**Try it:** the prefilled example returns 20 rows in about 35 seconds and costs about $0.023 (20 results at $0.001 plus about $0.003 of platform usage). Results cost $1.00 per 1,000.

Coverage: US listings on realtor.com, 42 per search page, read up to `maxResultsPerSearch` per search (210 by default). Every page goes through Apify's Web Unblocker, so a page takes 20-40 seconds; pages after the first are fetched three at a time. Agent and owner names, phones and e-mails are never collected.

### Why this one

Compared with the most-used Realtor actor in the Store, `epctex/realtor-scraper` (130 monthly users), and the runner-up `memo23/realtor-search-cheerio` (95), checked 2026-11-18:

- **Alerts on new listings and price drops.** Monitor mode keeps state per search and returns only listings that are new to the search, or whose price or status (for sale, pending, contingent, sold) changed, with the previous value in `previous.price`, and can post them to a webhook or Telegram. `epctex/realtor-scraper` has no monitor mode, no change field and no alert target in its input.
- **Price per square foot, computed and filterable.** Every row has `pricePerSqft`, and `maxPricePerSqft` keeps only listings at or under your number. Neither leader has a price-per-sqft filter; `epctex/realtor-scraper` has no price-per-sqft field in its output.
- **Every filter re-checked on the row.** Price, beds, baths, living area, $/sqft, property type, "price reduced only" and "listed within N days" are checked on each listing after it is read, so a pasted URL with no filters still gives exactly what you asked for, and rows realtor.com mixes in (promoted listings) do not slip through.
- **One row per home across searches.** Overlapping searches (a city and a ZIP inside it) return each home once; `RUN_SUMMARY`/`REALTOR_STATS` count the duplicates skipped.
- **No per-search fee, no 10-row cap.** $1.00 per 1,000 listings and nothing per search. `epctex/realtor-scraper` charges $0.01 per search on top of $0.001 per listing and caps Free-plan runs at 10 items; `memo23/realtor-search-cheerio` charges $0.005 per run plus $0.0015 per listing and has no rentals mode.

### What you get

Real rows from the prefilled example (`locations: ["Austin, TX"]`, for sale):

| address | status | price | beds / baths | sqft | $/sqft | listed | price cut | brokerage |
|---|---|---|---|---|---|---|---|---|
| 14300 Fallen Timber Dr, Austin, TX 78734 | pending | $699,000 | 7 / 5 | 11,486 | $60.86 | 2026-04-21 | $300,000 | eXp Realty, LLC |
| 1704 Shelbourne Dr, Austin, TX 78752 | pending | $400,000 | 3 / 2 | 1,556 | $257.07 | 2026-02-21 | | eXp Realty, LLC |
| 14515 Oliphant St, Austin, TX 78725 | for_sale | $184,900 | 4 / 2 | 1,662 | $111.25 | 2026-11-05 | | All City Real Estate |
| 4501 Whispering Valley Dr Apt 31, Austin, TX 78727 | for_sale | $279,999 | 2 / 2.5 | 1,119 | $250.22 | 2026-09-15 | | Keller Williams Realty |
| 2516 Hopsack Mills Rd, Austin, TX 78748 | for_sale | $395,000 | 3 / 2.5 | 2,407 | $164.10 | 2026-05-14 | $20,000 | Compass RE Texas LLC - Austin |

A sold search (`Phoenix, AZ`, recently sold) gives rows like `1948 W Black Hill Rd, Phoenix, AZ 85085`, sold for $690,000, 5 beds, 2,648 sqft; a rental search (`Austin, TX`, for rent) gives communities like `Creeks Edge Apartments`, 1124 Rutland Dr, $675-1,050, 1-2 beds, managed by Scarlet Key Properties.

Full row: `id` (realtor.com property id), `propertyId`, `listingId`, `url`, `listingType` (forSale, sold, forRent), `status`, `statusText`, `propertyType`, `address`, `street`, `unit`, `city`, `state`, `zip`, `latitude`, `longitude`, `price`, `priceMax` (rentals), `listPrice`, `soldPrice`, `pricePerSqft`, `beds`, `bedsMax`, `baths`, `bathsMax`, `sqft`, `sqftMax`, `lotSqft`, `listDate` (ISO UTC), `daysOnMarket`, `isPriceReduced`, `priceReducedAmount`, `isNewListing`, `isPending`, `isContingent`, `isComingSoon`, `isForeclosure`, `isNewConstruction`, `brokerage`, `builder`, `communityName`, `mlsSource`, `hasVirtualTour`, `photoCount`, `photos`, `isPromoted`, `search`, `rank`, `scrapedAt`.

### Use cases

- **New-listing and price-drop alerts** for a buyer's search: schedule monitor mode on a city or a pasted URL and get only what changed.
- **Deal screening**: houses under a price per square foot in a ZIP code, price-reduced only.
- **Sold comps**: recently sold homes with sold price (in states that disclose it) and size.
- **Rental market**: apartment communities with rent, bed and size ranges and the management company.

### Input

| Field | Meaning | Default |
|---|---|---|
| `locations` | "City, ST" or a 5-digit ZIP code | prefill: `Austin, TX` |
| `searchUrls` | realtor.com search pages with their filters (for sale, sold, rentals) | empty |
| `listingType` | `forSale`, `sold` or `forRent` (for `locations`) | `forSale` |
| `minPrice`, `maxPrice`, `minBeds`, `maxBeds`, `minBaths`, `minSqft`, `maxSqft`, `maxPricePerSqft`, `propertyTypes`, `priceReducedOnly`, `listedWithinDays` | Filters checked on every row; 0 or empty means not set. `listedWithinDays` uses the list date, also on sold searches (sold cards carry no closing date) | empty |
| `maxResultsPerSearch` | Listings checked per search (42 per page) | `210` |
| `maxItems` | Listings per run at most | `100` |
| `mode` | `scrape`, or `monitor` (only new and changed listings) | `scrape` |
| `monitorStateId`, `webhookUrl`, `telegramBotToken`, `telegramChatId` | Monitor state key and alert targets | empty |

For a for-sale location, `minPrice`, `maxPrice` and `minBeds` also go into the realtor.com search itself, so fewer pages are read.

### Monitor mode

Save the input as a task, set `"mode": "monitor"` and schedule it. The first run of each search reads it and records the listings as the baseline: it pushes nothing and charges only the `monitor-check` event ($0.005). Each later run reads the search again, for-sale searches newest first, up to `maxResultsPerSearch`, and pushes a listing when it is new to the search (`changeType: "new"`) or when its `price` or `status` changed (`changeType: "changed"`, with `changedFields` and `previous`). A for-sale listing counts as new when it was listed no more than 2 days before the newest listing of the previous run, so older listings that slide into the window (and older promoted listings realtor.com rotates into the results) are recorded silently. When `maxResultsPerSearch` is reached while the last page read still holds listings new since the previous run, the run keeps them but does not move the search forward, warns in the log and lists the search under `depthCutWithNewRows` in `REALTOR_STATS`: raise `maxResultsPerSearch` or schedule the monitor more often. Sold and rental cards carry no date that matches their order: keep `maxResultsPerSearch` at or above the number of matching listings for those, or older ones sliding into the window can arrive as "new". A run without changes charges only the check; a run that gets no page at all charges nothing and commits nothing. If a run dies, the next runs of the same task wait for its lease (up to its timeout) and end as `overlapping_run`; give the task a new `monitorStateId` to start over.

```json
{
  "mode": "monitor",
  "locations": ["78704"],
  "maxPrice": 800000,
  "propertyTypes": ["house"],
  "webhookUrl": "https://your-endpoint.example.com/hook"
}
```

### Limits

- US listings only (realtor.com's coverage). Locations are "City, ST" or a ZIP code; for neighborhoods, counties or a map area paste the realtor.com URL.
- realtor.com shows at most 200 pages per search; `maxResultsPerSearch` is at most 8,400.
- Speed: each page is read through Apify's Web Unblocker and takes 20-40 seconds, with retries when the Unblocker fails. A place realtor.com does not know and a failed page look the same (no page); the run log names such searches.
- Sold prices are empty in states that do not disclose them (for example Texas). Sold cards carry the list date, not the closing date.
- Search cards carry 2-3 photo URLs; `photoCount` is the full number of photos.
- No agent or owner fields, no phone numbers, no e-mails. Brokerage, builder and apartment management companies only; single-unit rentals carry no advertiser name. A single agent can be the brokerage of record ("Jane Doe, Broker"), so `brokerage` is kept only when the name reads as a company (Realty, Real Estate, Homes, Properties, LLC, Inc, Group and similar words, or a known brand) and is empty otherwise; about 1 in 12 company names without such a word (for example "Everyplace") is left empty too.

### Pricing

| Event | Price |
|---|---|
| result | $1.00 per 1,000 listings (Silver $0.90, Gold $0.80) |
| monitor-check | $0.005 per monitor run |
| change | $1.00 per 1,000 new or changed listings |

You pay only for rows actually pushed. Apify's platform usage (Web Unblocker requests and compute, about $0.004 per page of 42 listings) is billed to you on top.

### Related actors

- [Zillow Scraper](https://apify.com/datahamster/zillow-scraper): Zillow search results for whole cities with a new-listing and price monitor.
- [Redfin Scraper](https://apify.com/datahamster/redfin-scraper): Redfin homes for sale, sold and for rent with sold dates, HOA and year built.
- [Zillow Detail Scraper](https://apify.com/datahamster/zillow-detail-scraper): full Zillow property pages with Zestimate and price history.

### FAQ

**Does it need a realtor.com account?** No. Every request is made as a logged-out visitor.

**Are agent names or phone numbers included?** No. Only property facts and company names (brokerage, builder, apartment management company).

**What if realtor.com blocks a request?** Each page is tried up to four times through the Web Unblocker. A run that gets no page at all ends as `blocked` in `RUN_SUMMARY` instead of an empty dataset that looks like "no listings"; `REALTOR_STATS` in the run's key-value store shows pages, failed requests and why each search stopped.

### Changelog

- 0.1: first release. Locations and search URLs, for sale, sold and rentals, per-row filters incl. price per sqft, dedupe across searches, monitor mode for new listings and price/status changes.

***

If this actor saved you time, a short review on its Store page helps other people find it. Missing a field or found a wrong value? Open an issue on the **Issues** tab.

# Actor input Schema

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

Places to search: 'City, ST' or a 5-digit ZIP code, one per line. Example: Austin, TX or 78701. Uses the listing type and filters below.

## `searchUrls` (type: `array`):

Paste realtor.com search pages with any filters you set on the site (for sale /realestateandhomes-search/..., sold .../show-recently-sold, rentals /apartments/...). Example: https://www.realtor.com/realestateandhomes-search/Austin_TX/beds-3/price-300000-600000/type-single-family-home

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

What to search for at the locations above. A pasted URL keeps its own type.

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

Lowest price (list price, sold price, or monthly rent). Checked on every row. Example: 300000.

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

Highest price. Checked on every row. Example: 600000.

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

Example: 3.

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

Example: 5.

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

Example: 2.

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

Example: 1200.

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

Example: 3000.

## `maxPricePerSqft` (type: `integer`):

Keep only listings at or below this price per square foot (price / sqft, computed for every row). Example: 250.

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

Keep only these types (any of them). Empty = all.

## `priceReducedOnly` (type: `boolean`):

Keep only listings that carry a price reduction.

## `listedWithinDays` (type: `integer`):

Keep only listings whose list date is within this many days (sold searches too: sold cards carry the list date, not the closing date). Empty or 0 = not set. Example: 7.

## `maxResultsPerSearch` (type: `integer`):

How deep to read each search: listings checked before your filters, 42 per realtor.com page (210 = 5 pages). In monitor mode every run reads this deep. Example: 210.

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

Stop the whole run after this many listings (you are charged only for pushed listings). Shared between searches. Example: 20.

## `mode` (type: `string`):

scrape = full results; monitor = only new/changed items since the previous run of this task

## `monitorStateId` (type: `string`):

Optional state id when not running as a saved task (monitor mode)

## `webhookUrl` (type: `string`):

POST a change summary here in monitor mode

## `telegramBotToken` (type: `string`):

Optional: bot token for monitor-mode change summaries

## `telegramChatId` (type: `string`):

Optional: chat id that receives monitor-mode summaries

## Actor input object example

```json
{
  "locations": [
    "Austin, TX"
  ],
  "searchUrls": [],
  "listingType": "forSale",
  "propertyTypes": [],
  "priceReducedOnly": false,
  "maxResultsPerSearch": 210,
  "maxItems": 20,
  "mode": "scrape"
}
```

# Actor output Schema

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

All pushed rows (dataset, JSON)

## `resultsTable` (type: `string`):

Dataset in the Console viewer

## `runSummary` (type: `string`):

RUN_SUMMARY record

# 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"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("datahamster/realtor-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"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("datahamster/realtor-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"
  ],
  "maxItems": 20
}' |
apify call datahamster/realtor-scraper --silent --output-dataset

```

## MCP server setup

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