# Realtor Sales History Properties and Details Scraper (`w3crawler/realtor-sales-history-properties-and-details-scraper`) Actor

Realtor Sales History Properties and Details Scraper — permission-gated extraction of public property and sales-history fields. Dataset output contains validated property records only; failures are summarized in OUTPUT and reflected in native Actor status.

- **URL**: https://apify.com/w3crawler/realtor-sales-history-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 Sales History Properties and Details Scraper

Realtor Sales History Properties and Details Scraper — permission-gated extraction of public property and sales-history fields. Dataset output contains validated property records only; failures are summarized in OUTPUT and reflected in native Actor status.

### Source permission

Collection is disabled by default. The permission field is an operator attestation and does not itself grant permission. Enable it only when current written authorization covers automated collection and your intended use. The Actor does not bypass CAPTCHAs, authentication, paywalls, robots restrictions, or other access controls. Realtor Sales History Properties and Details Scraper — permission-gated extraction of public property and sales-history fields. Enable it only when current written authorization covers automated collection and your intended use. Realtor.com's Terms require express written permission for automated collection and separately prohibit AI/ML use of its content. This Actor makes no source request unless `authorizationConfirmed` is true.

### Get started

1. Read the source-permission requirement above and confirm that current written authorization covers automated collection and your intended use.
2. Open the [Actor Store page](https://apify.com/w3crawler/realtor-sales-history-properties-and-details-scraper) and select **Try for free** or open the **Input** tab.
3. Set `authorizationConfirmed` only after permission is confirmed, and supply `startUrls` explicitly.
4. Start the Actor. A default run makes zero source requests and reports `SKIPPED_POLICY`; only an authorized run can write dataset rows.

### Input

All fields are optional. The permission gate defaults to `false`; a default run makes zero source requests and writes no dataset rows. Unsupported values are rejected before any source request.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `authorizationConfirmed` | boolean | Optional | `false` | Required before any Realtor.com request. Set true only if you hold express written permission covering automated access, extraction, storage, and intended non-AI use. This does not authorize AI/ML use of Realtor.com content. |
| `startUrls` | string array | Optional | Not supplied | Public https://www.realtor.com URLs. up to 20 items. |
| `maxItems` | integer | Optional | `10` | Maximum property records emitted. 1–100. |
| `includeDescription` | boolean | Optional | `true` | Include publicly visible property description text. |
| `timeoutSecs` | integer | Optional | `45` | Maximum wait per public page request. 5–180. |

Default input:

```json
{
  "authorizationConfirmed": false,
  "maxItems": 10,
  "includeDescription": true,
  "timeoutSecs": 45
}
```

Do not enable `authorizationConfirmed` unless current written authorization covers your use. The checkbox is an attestation, not a permission grant.

### Output

The dataset is reserved for source-backed records. With the permission gate disabled, no rows are written. Optional fields are omitted when the source does not publish them; no diagnostic or placeholder rows are written.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `recordType` | string enum | Always | Record type label. |
| `recordId` | string | Always | Stable record identifier. |
| `actorRank` | integer | Always | Internal inventory rank recorded with the row. |
| `sourceActorName` | string | Always | Internal source-actor provenance name. |
| `sourceActorSlug` | string | Always | Internal source-actor provenance slug. |
| `sourceActorUrl` | string | Always | Internal source-actor provenance URL. |
| `propertyId` | string | When published | Source identifier for the property. |
| `address` | string | When published | Published address. |
| `city` | string | When published | Published city. |
| `state` | string | When published | Published state or region. |
| `postalCode` | string | When published | Published postal code. |
| `propertyUrl` | string | Always | Public URL for the property. |
| `sourceUrl` | string | Always | Public source URL for the record. |
| `propertyType` | string | When published | Property type label. |
| `beds` | number | When published | Published bedroom count. |
| `baths` | number | When published | Published bathroom count. |
| `livingAreaSqft` | number | When published | Living Area Sqft reported by the source. |
| `lotSizeSqft` | number | When published | Lot Size Sqft reported by the source. |
| `yearBuilt` | integer | When published | Year Built reported by the source. |
| `listPrice` | number | When published | List Price reported by the source. |
| `soldPrice` | number | When published | Sold Price reported by the source. |
| `soldDate` | string | When published | Sold Date reported by the source. |
| `pricePerSqft` | number | When published | Price Per Sqft reported by the source. |
| `salesHistory` | object array | When published | List of sales history reported by the source. up to 50 items. up to 50 items. |
| `description` | string | When published | Source description. |
| `images` | string array | When published | List of images reported by the source. up to 30 items. up to 30 items. |
| `status` | string enum | Always | Status reported by the source. |
| `scrapedAt` | string | Always | Time the record was saved, in ISO UTC. |

No dataset row was available in the saved run. The permission gate is disabled by default, so the dataset is empty unless collection is authorized.

```json
[]
```

### Run summary

**Run summary** is stored in the run's key-value store under `OUTPUT`.

No run-summary fields were available from a saved run.

| Status | Result status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `SKIPPED_POLICY` | Permission was not confirmed; zero source requests and zero dataset rows. |
| `SUCCEEDED` | `COMPLETED` / `COMPLETE` | An authorized run completed without a recorded failure. |
| `SUCCEEDED` | `PARTIAL` | Rows were saved before a later request, parser, or storage failure. |
| `FAILED` | `FAILED` | A failure occurred before any usable row was saved. |

### Coverage and limitations

The Actor is scoped to public Realtor.com data, but collection is disabled unless applicable written permission is confirmed. Realtor Sales History Properties and Details Scraper — permission-gated extraction of public property and sales-history fields. Enable it only when current written authorization covers automated collection and your intended use. Realtor.com's Terms require express written permission for automated collection and separately prohibit AI/ML use of its content. This Actor makes no source request unless `authorizationConfirmed` is true. The default gate makes zero source requests and writes no dataset rows. Optional fields are omitted when the source does not publish them; values are not inferred. Do not use Realtor.com content for AI/ML purposes where the source terms prohibit it.

### Usage and support

Run cost depends on Apify compute and the selected request limits. Start only after permission is confirmed and keep the configured limits small. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/realtor-sales-history-properties-and-details-scraper/issues) to report a problem. Include the run ID, input, and run summary; do not include credentials, cookies, or private data.

This Actor is not affiliated with Realtor.com or Move. Use it only when current written authorization covers your use, and comply with the source terms, robots guidance, privacy law, and applicable AI/ML restrictions.

# Actor input Schema

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

Required before any Realtor.com request. Set true only if you hold express written permission covering automated access, extraction, storage, and intended non-AI use. This does not authorize AI/ML use of Realtor.com content.

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

Public https://www.realtor.com URLs.

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

Maximum property records emitted.

## `includeDescription` (type: `boolean`):

Include publicly visible property description text.

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

Maximum wait per public page request.

## Actor input object example

```json
{
  "authorizationConfirmed": false,
  "maxItems": 10,
  "includeDescription": true,
  "timeoutSecs": 45
}
```

# Actor output Schema

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

No description

## `keyValueStore` (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-sales-history-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-sales-history-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-sales-history-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-sales-history-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/KUbD2dZZvHpTsrfEv/builds/sBLt4LysIEErZaFGI/openapi.json
