# Realtor Leads Real Estate Agent Properties and Details Scraper (`w3crawler/realtor-leads-real-estate-agent-properties-and-details-scraper`) Actor

Policy-gated Realtor.com agent-profile Actor. It makes no source request by default; profile collection requires express written permission from Move and applicable third-party rights. The current terms prohibit AI/ML use of content.

- **URL**: https://apify.com/w3crawler/realtor-leads-real-estate-agent-properties-and-details-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

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 Leads Real Estate Agent Properties and Details Scraper

A permission-gated connector for public Realtor.com agent directory and profile pages. Realtor.com's current Terms of Use prohibit scraping and automated collection without Move's express written permission, and separately prohibit AI/ML use of its content. The Actor therefore makes **no source request by default**, writes no dataset rows, and records a `SKIPPED_POLICY` run with `policySkipCode: "AUTHORIZATION_REQUIRED"` in `OUTPUT_SUMMARY`. Selecting the authorization checkbox confirms that you have permission; it does not grant permission or prove an agreement.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/realtor-leads-real-estate-agent-properties-and-details-scraper) and select **Try for free** or open the **Input** tab.
2. Leave `authorizationConfirmed` off for a policy-only run, or enable it only when express written permission from Move and any necessary third-party rights cover your automated, non-ML collection.
3. When authorized, supply `location`, `name`, or an approved `startUrl`, and keep `maxItems` small for the first run.
4. Start the Actor and open **Run summary** (`OUTPUT_SUMMARY`). If records are saved, they appear in the dataset and can be exported as JSON, CSV, or Excel.

### Input

All fields are optional. The default authorization gate is closed, so the default run makes no source request. Unsupported field names and out-of-range values are rejected before requests start.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `location` | string | Optional | Not supplied | City, ZIP code, or region used in a permitted agent-directory query. |
| `name` | string | Optional | Not supplied | Agent or team name used in a permitted directory query. |
| `startUrl` | string | Optional | Not supplied | Explicit HTTPS directory or profile URL on `realtor.com` or `www.realtor.com`. No URL is used by default. |
| `authorizationConfirmed` | boolean | Optional | `false` | Confirms that express written permission from Move and any necessary third-party rights cover automated collection and your intended non-ML use. The checkbox does not create permission, and Realtor.com's terms separately prohibit AI/ML use. |
| `maxItems` | integer | Optional | `30` | Maximum public agent records to save, from 1 to 100. |

Full default input:

```json
{
  "authorizationConfirmed": false,
  "maxItems": 30
}
```

With the gate closed, the Actor performs no request and saves no record. With authorization confirmed, it reads the permitted public directory or profile response and omits absent fields instead of inferring them. It does not log in, submit inquiries, or contact agents.

### Output

The dataset contains one row per verified public agent profile. Optional fields are omitted when the permitted page does not publish them. No saved agent row is available in the repository storage, so the example below is empty; an empty dataset does not by itself prove that Realtor.com has no matching agents.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `recordType` | string | Required by schema | Record type; always `realtorAgent`. |
| `recordId` | string | Required by schema | Stable identifier derived from the profile URL, or from the agent name when no profile URL exists. |
| `authorizationConfirmed` | boolean | Required by schema | Authorization state recorded with the row; saved rows require `true`. |
| `generatedBy` | string | Required by schema | Build-generation label written by this Actor, not a source value. |
| `inventoryRank` | integer | Required by schema | Static rank value stored by this build; it is not a live Realtor.com ranking. |
| `actorStoreUrl` | string | Required by schema | Actor Store URL recorded in the build metadata. |
| `sourceActorName` | string | Required by schema | Display name of the source Actor recorded in the build metadata. |
| `sourceActorSlug` | string | Required by schema | Source-actor provenance slug recorded in the build metadata. |
| `sourceActorStoreUrl` | string | Required by schema | Source-actor provenance URL recorded in the build metadata. |
| `agentName` | string | Required by schema | Public agent or team name. |
| `profileUrl` | string | When published | Public HTTPS Realtor.com agent profile URL. |
| `email` | string | When published | Business email address published on the permitted profile. |
| `phone` | string | When published | Business phone number published on the permitted profile. |
| `brokerage` | string | When published | Brokerage or office name associated with the agent. |
| `licenseNumber` | string | When published | Public real-estate license number. |
| `bio` | string | When published | Public profile biography or description. |
| `location` | string or object | When published | Public location or structured address fields such as city, state, and postal code. |
| `rating` | number | When published | Public average client rating. |
| `reviewCount` | integer | When published | Number of public reviews behind the rating. |
| `socialLinks` | string array | When published | Public social or profile links, bounded to 30 entries. |
| `sourceUrl` | string | Required by schema | Exact Realtor.com page URL from which the record was extracted. |
| `locationQuery` | string | When published | `location` value used for the directory query. |
| `resultRank` | integer | When published | One-based position in the directory result set. |
| `fetchedAt` | string | Required by schema | Time the profile row was normalized, in ISO UTC. |

No saved agent row was available in storage, so the dataset example is empty.

```json
[]
```

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT_SUMMARY`. On the default policy path it reports zero requests, zero dataset rows, and `runStatus: "SKIPPED_POLICY"`; `policySkipCode` is present only for that path.

| Field | Meaning |
| --- | --- |
| `recordType` | Summary record type; `realtorAgent`. |
| `status` | Actor process outcome: `SUCCEEDED` or `FAILED`. |
| `runStatus` | Run outcome: `COMPLETED`, `PARTIAL`, `FAILED`, or `SKIPPED_POLICY`. It does not always match `status`. |
| `completionStatus` | Completion label; currently mirrors `runStatus`. |
| `nativeExitCode` | Process exit code: `0` or `1`. |
| `nativeExitCodeKnown` | Whether the exit code was determined. |
| `historicalReconciliation` | Whether the summary came from historical reconciliation rather than the current run. |
| `dataAvailable` | Whether at least one source-backed agent record was saved. |
| `authorizationConfirmed` | Authorization value read from the input. |
| `authorizationStateKnown` | Whether the authorization state was determined. |
| `source` | Source directory URL used by the permitted path. |
| `pagesVisited` | Public pages visited. |
| `requestCount` | Source requests attempted. |
| `itemsStored` | Records written to the dataset. |
| `itemCount` | Records saved; equals `itemsStored`. |
| `diagnosticsStored` | Diagnostic dataset rows; always `0` because diagnostics stay in the summary. |
| `diagnosticCount` | Number of bounded diagnostics recorded in the summary. |
| `datasetDiagnosticCount` | Diagnostic dataset rows; always `0`. |
| `failedRequestCount` | Requests that failed. |
| `failureCount` | Total failure count used to classify the run. |
| `failedUrls` | Bounded list of failed public URLs, without query strings. |
| `blockedReasons` | Bounded reason codes for failures or access barriers. |
| `diagnostics` | Bounded diagnostic objects with `code` and `message`. |
| `failureDetails` | Bounded failure objects with `code` and `message`. |
| `policySkipCode` | Present as `AUTHORIZATION_REQUIRED` when the run stops at the closed authorization gate. |
| `generatedBy` | Build-generation label. |
| `startedAt` | Run start time, in ISO UTC. |
| `completedAt` | Time the summary was written, in ISO UTC. |

| Status | Run status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETED` | A permitted run saved records without a failure. |
| `SUCCEEDED` | `SKIPPED_POLICY` | The authorization gate was closed; no source request was made. |
| `SUCCEEDED` | `PARTIAL` | Records were saved, but a later request or write failure occurred. |
| `FAILED` | `FAILED` | A fatal error occurred before any usable record was saved. |

No saved `OUTPUT_SUMMARY` was available to quote. On the documented default policy path the outcome is `SUCCEEDED` / `SKIPPED_POLICY`, with `itemCount: 0`, `requestCount: 0`, and `policySkipCode: "AUTHORIZATION_REQUIRED"`.

### Coverage and limitations

The Actor is a permission gate, not a claim that Realtor.com data is freely collectible. Automated collection requires express written permission from Move and any necessary third-party rights; Realtor.com's current terms also prohibit AI/ML use of its content. The checkbox does not establish either permission. With the gate closed, no source request is made and an empty dataset is expected.

When authorized, the Actor reads only the permitted public directory or profile response. It does not log in to private accounts, bypass access controls, submit inquiries, contact agents, or invent contact details. Profile pages change, and fields such as ratings, reviews, brokerage, license, and contact information may be absent or outdated. A blocked, empty, or partial response is reported in `OUTPUT_SUMMARY` and does not create a fabricated agent row.

### Usage and support

Default policy-only runs consume minimal compute because they make no source request. Authorized runs depend on the number of directory and profile pages, request duration, and any configured proxy traffic. Start with a small `maxItems`, inspect the dataset and `OUTPUT_SUMMARY`, then scale gradually. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/realtor-leads-real-estate-agent-properties-and-details-scraper/issues) to report a problem. Include the run ID, the input used, and `OUTPUT_SUMMARY`; do not include tokens, cookies, permission letters, or private data. This Actor is not affiliated with, endorsed by, or sponsored by Realtor.com or Move. Use it only with the required permission and in accordance with the applicable terms, robots guidance, and law. Agent profiles can contain personal information; use the output only for lawful purposes.

# Actor input Schema

## `location` (type: `string`):

Optional city, ZIP code, or region to use in a permitted agent-directory query.

## `name` (type: `string`):

Optional agent or team name to use in a permitted directory query.

## `startUrl` (type: `string`):

Optional explicit HTTPS directory or profile URL on realtor.com or www.realtor.com. No URL is used by default.

## `authorizationConfirmed` (type: `boolean`):

Confirm only if express written permission from Move and any necessary third-party rights cover automated collection and your intended non-ML use. This checkbox does not grant permission. Realtor.com terms separately prohibit AI/ML use of its content.

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

Maximum public agent records.

## Actor input object example

```json
{
  "authorizationConfirmed": false,
  "maxItems": 30
}
```

# Actor output Schema

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

Validated agent records only; default policy skips do not write dataset rows.

## `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-leads-real-estate-agent-properties-and-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 = {}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,w3crawler/realtor-leads-real-estate-agent-properties-and-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/L3fWdixGXvrYfoora/builds/gjpG6iZInJfwWSTyM/openapi.json
