# Realtor Properties Scraper (`w3crawler/realtor-properties-scraper`) Actor

Extract verified public Realtor.com property listings from supplied search or detail pages.

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

## Pricing

from $2.99 / 1,000 property results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Properties Scraper

Extract public Realtor.com property listings from supplied search, international search, or property-detail pages. The Actor reads public JSON-LD, embedded page data, and recognizable listing cards, then saves normalized property records with identity, positive price, address, optional property facts, and source provenance. When a page is blocked or produces no usable HTML, it can also save an exact four-field diagnostic row instead of inventing a listing.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/realtor-properties-scraper) and select **Try for free** or open the **Input** tab.
2. Add one or more approved public `startUrls` and set `maxItems`.
3. Keep `maxItems` and the request limits small for the first run. Leave `includeDiagnostics` enabled if you want blocked pages recorded in the dataset.
4. Start the Actor, open the dataset, and export the rows as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT_SUMMARY`) to check counts and the final status.

### Input

All fields are optional; the defaults below are ready to use. Unsupported field names and out-of-range values are rejected before requests start.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `startUrls` | object array | Optional | `[{"url":"https://www.realtor.com/realestateandhomes-search/Austin_TX"}]` | Public Realtor.com search, international search, or property-detail URLs; up to 20. |
| `maxItems` | integer | Optional | `10` | Maximum normal property records across all pages, from 1 to 100. Stored diagnostics do not consume this limit. |
| `timeoutSecs` | integer | Optional | `30` | Per-request timeout, from 5 to 120 seconds. |
| `requestDelayMs` | integer | Optional | `500` | Delay between requests and retries, from 0 to 2,000 ms. HTTP 429 retries also honor `Retry-After` when present. |
| `maxRequestRetries` | integer | Optional | `1` | Bounded retries for transient errors, HTTP 5xx, and HTTP 429, from 0 to 3. Access challenges remain fail-closed. |
| `includeDiagnostics` | boolean | Optional | `true` | Save an exact four-field diagnostic row when a public request is blocked, unavailable, or yields no usable HTML. |
| `proxyConfiguration` | object | Optional | Not supplied | Standard Apify Proxy settings for public Realtor.com requests. Leave empty for a direct connection. |

Full default input:

```json
{
  "startUrls": [
    {
      "url": "https://www.realtor.com/realestateandhomes-search/Austin_TX"
    }
  ],
  "maxItems": 10,
  "timeoutSecs": 30,
  "requestDelayMs": 500,
  "maxRequestRetries": 1,
  "includeDiagnostics": true
}
```

The Actor reads public Realtor.com HTML and structured data. It does not log in, call private endpoints, solve CAPTCHAs, spoof fingerprints, or bypass access controls. A page that is blocked or exposes no verifiable listing does not produce a property row.

### Output

The dataset can contain two row shapes: a normal property record, or a four-field diagnostic record when `includeDiagnostics` is enabled. Optional property fields are omitted when the page does not publish them. Normal property rows and diagnostic rows are both real dataset items; the diagnostic row is not a placeholder or a property.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `recordType` | string enum | Property rows (required) | Record type; always `realtor-property`. |
| `recordId` | string | Property rows (required) | Stable identifier derived from the listing identity. |
| `propertyId` | string | Property rows when published | Source property identifier. |
| `listingUrl` | string | Property rows (required) | Public Realtor.com listing URL. |
| `address` | object or string | Property rows (required) | Structured address with optional `line`, `city`, `state`, and `postalCode`, or a single address string. |
| `price` | number | Property rows (required) | Positive listing price. |
| `priceText` | string | Property rows when published | Price text as displayed by the source. |
| `currency` | string | Property rows when published | Currency code for the price. |
| `beds` | number | Property rows when published | Bedroom count. |
| `baths` | number | Property rows when published | Bathroom count. |
| `sqft` | number | Property rows when published | Living area in square feet. |
| `lotSize` | number | Property rows when published | Lot size in square feet when exposed. |
| `propertyType` | string | Property rows when published | Property type, such as single family or condo. |
| `listingStatus` | string | Property rows when published | Listing status, such as `for_sale`. |
| `description` | string | Property rows when published | Public listing description. |
| `photoUrl` | string | Property rows when published | Primary public listing photo URL. |
| `resultRank` | integer | Property rows when published | One-based position on the source page. |
| `sourceUrl` | string | Property rows (required) | Exact page URL requested for the property row. |
| `sourceWebsite` | string | Property rows (required) | Source website; `https://www.realtor.com/`. |
| `scrapedAt` | string | All saved rows | Time the row was saved, in ISO UTC. |
| `url` | string | Diagnostic rows (required) | Public URL whose request or extraction failed. |
| `error` | string | Diagnostic rows (required) | Bounded human-readable error message. |
| `errorCode` | string | Diagnostic rows (required) | Stable error code, such as `SOURCE_THROTTLED`. |

The saved runs for this build contain only a diagnostic row, not a normal property row. This is the real saved row from the 2026-09-09 run:

```json
{
  "url": "https://www.realtor.com/realestateandhomes-search/Austin_TX",
  "error": "Realtor.com returned an HTTP 429 access boundary.",
  "errorCode": "SOURCE_THROTTLED",
  "scrapedAt": "2026-09-09T05:38:47.068Z"
}
```

A normal property row would contain `recordType`, `recordId`, `listingUrl`, `address`, `price`, `sourceUrl`, `sourceWebsite`, and `scrapedAt`, plus any optional facts the page publishes.

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT_SUMMARY`.

| Field | Meaning |
| --- | --- |
| `actor` | Actor name, `realtor-properties-scraper`. |
| `recordType` | Summary record type; `run-summary`. |
| `status` | Run outcome: `SUCCEEDED`, `SUCCEEDED_WITH_DIAGNOSTICS`, `EMPTY`, `BLOCKED`, or `FAILED`. |
| `dataAvailable` | Whether at least one normal property row was saved. |
| `requestedPages` | Number of start URLs requested. |
| `sourceUrls` | Start URLs used for the run. |
| `pagesVisited` | Pages visited. |
| `requestsAttempted` | Requests attempted, including retries. |
| `retryCount` | Retries performed. |
| `itemCount` | All dataset items saved, including diagnostics. |
| `propertyCount` | Normal property rows saved. |
| `diagnosticCount` | Operational issues observed. |
| `diagnosticsStored` | Diagnostic rows written to the dataset. |
| `maxItems` | Normal-property limit used for the run. |
| `diagnosticsEnabled` | Whether `includeDiagnostics` was enabled. |
| `failedRequestCount` | Requests that failed. |
| `failedUrls` | Public URLs that failed. |
| `blockedReasons` | Reason codes for access barriers or failures. |
| `proxyConfigured` | Whether proxy routing was configured. |
| `sourceWebsite` | Source website label, `https://www.realtor.com/`. |
| `startedAt` | Run start time, in ISO UTC. |
| `completedAt` | Time the summary was written, in ISO UTC. |
| `error` | Bounded fatal-error message when the run failed. |

| Status | Meaning |
| --- | --- |
| `SUCCEEDED` | Property rows were saved without a stored diagnostic. |
| `SUCCEEDED_WITH_DIAGNOSTICS` | Property rows were saved, and one or more page diagnostics were also stored. |
| `EMPTY` | The run completed cleanly and found no matching property rows. |
| `BLOCKED` | No property row was saved because a request hit an access barrier or source failure. |
| `FAILED` | A fatal error occurred before any usable row was saved. |

Example `OUTPUT_SUMMARY` from the saved 2026-09-09 run:

```json
{
  "actor": "realtor-properties-scraper",
  "recordType": "run-summary",
  "status": "BLOCKED",
  "dataAvailable": false,
  "requestedPages": 1,
  "sourceUrls": [
    "https://www.realtor.com/realestateandhomes-search/Austin_TX"
  ],
  "pagesVisited": 1,
  "requestsAttempted": 1,
  "retryCount": 0,
  "itemCount": 1,
  "propertyCount": 0,
  "diagnosticCount": 1,
  "diagnosticsStored": 1,
  "maxItems": 2,
  "diagnosticsEnabled": true,
  "failedRequestCount": 1,
  "failedUrls": [
    "https://www.realtor.com/realestateandhomes-search/Austin_TX"
  ],
  "blockedReasons": [
    "SOURCE_THROTTLED"
  ],
  "proxyConfigured": false,
  "sourceWebsite": "https://www.realtor.com/",
  "startedAt": "2026-09-09T05:38:46.512Z",
  "completedAt": "2026-09-09T05:38:47.075Z"
}
```

### Coverage and limitations

The Actor reads public Realtor.com search and detail pages. It does not log in, call private endpoints, solve CAPTCHAs, spoof fingerprints, bypass access controls, infer missing listings, or extract private data. Listings, prices, and property facts can change after the run; each row reflects the public page at collection time.

A request that is blocked or returns no usable HTML produces no property row. If `includeDiagnostics` is enabled, the Actor saves up to one four-field diagnostic row per failed page with `url`, `error`, `errorCode`, and `scrapedAt`; otherwise the failure is counted only in `OUTPUT_SUMMARY`. Normal property rows omit operational fields such as status, proxy state, and HTTP details. `maxItems` bounds normal property rows, not stored diagnostics.

### Usage and support

Cost grows with the number of source pages, request duration, proxy traffic when selected, retries, and rows written. Start with one search page and a small `maxItems`, inspect the dataset and summary, then scale gradually. Disable diagnostics only when you do not need per-page failure rows. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/realtor-properties-scraper/issues) to report a problem. Include the run ID, the input used, and `OUTPUT_SUMMARY`; do not include tokens, cookies, or private data. This Actor is not affiliated with or endorsed by Realtor.com. Use it only for public data and in accordance with the source's terms, robots guidance, and applicable law. Public listings can contain personal information; use the output only for lawful purposes.

# Actor input Schema

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

Public Realtor.com property-search or property-detail pages.

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

Maximum number of unique public pages to inspect.

## `timeoutSecs` (type: `integer`):

Maximum time allowed for each public request.

## `requestDelayMs` (type: `integer`):

Bounded delay between public requests and retry attempts; HTTP 429 retries also respect Retry-After when present.

## `maxRequestRetries` (type: `integer`):

Finite retries for transient errors, HTTP 5xx, and HTTP 429 responses; access challenges remain fail-closed.

## `includeDiagnostics` (type: `boolean`):

Store exact four-field source diagnostics in the Dataset when a request is blocked, unavailable, or empty.

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

Optional proxy settings for Realtor.com requests. Leave empty for a direct connection.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.realtor.com/realestateandhomes-search/Austin_TX"
    }
  ],
  "maxItems": 10,
  "timeoutSecs": 30,
  "requestDelayMs": 500,
  "maxRequestRetries": 1,
  "includeDiagnostics": true
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

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

Run status and counters stored by the Actor.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/realtor-properties-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/realtor-properties-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 '{}' |
apify call w3crawler/realtor-properties-scraper --silent --output-dataset

```

## MCP server setup

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