# Realtor Autocomplete Scraper (Cheap) (`w3crawler/realtor-autocomplete-scraper`) Actor

Return public Realtor.com location autocomplete suggestions with cities, ZIP codes, neighborhoods, schools, universities, counties, slugs, geo IDs, scores, and coordinates.

- **URL**: https://apify.com/w3crawler/realtor-autocomplete-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 autocomplete suggestions

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 Autocomplete Scraper (Cheap)

Query the public Realtor.com location autocomplete service for ranked suggestions. Use it for search-parameter discovery and location autofill across cities, ZIP codes, addresses, neighborhoods, schools, universities, and counties. It returns suggestions and coordinates, not property listings or agent leads.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/realtor-autocomplete-scraper) and select **Try for free** or open the **Input** tab.
2. Enter a `query`, such as a city, ZIP code, address fragment, neighborhood, school, or university.
3. Set `maxResults` and leave `areaTypes` empty to preserve the source ranking across all suggestion types.
4. Start the Actor, open the dataset, and export the rows as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT_SUMMARY`) to check request and suggestion counts.

### 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 |
| --- | --- | --- | --- | --- |
| `query` | string | Optional | `Austin, TX` | City, ZIP code, address fragment, neighborhood, school, or university name, from 1 to 200 characters. |
| `maxResults` | integer | Optional | `20` | Ranked suggestions to request and emit, from 1 to 100. |
| `areaTypes` | string array | Optional | `[]` | Optional local filter, such as `["city", "postal_code"]`. Up to 30 unique values; empty keeps all source types. |
| `includeRaw` | boolean | Optional | `false` | Include a bounded copy of the source suggestion object in each row. |
| `timeoutSeconds` | integer | Optional | `30` | Timeout for the public autocomplete request, from 5 to 120 seconds. |
| `retries` | integer | Optional | `2` | Maximum retries after the first request, from 0 to 3. |
| `requestDelayMs` | integer | Optional | `250` | Delay between bounded retry attempts, from 0 to 10,000 ms. |

Full default input:

```json
{
  "query": "Austin, TX",
  "maxResults": 20,
  "areaTypes": [],
  "includeRaw": false,
  "timeoutSeconds": 30,
  "retries": 2,
  "requestDelayMs": 250
}
```

The Actor makes one public HTTPS autocomplete request plus bounded retries. `areaTypes` is applied locally after the response, so filtering can return fewer rows than `maxResults`.

### Output

The dataset contains one row per returned public suggestion. Fields that do not apply to a suggestion type are **omitted** (not written as `null`); they are not inferred. Operational fields (`recordType`, `sourceWebsite`, `proxyConfigured`, `dataAvailable`) are **not** written to dataset rows — they live in `OUTPUT_SUMMARY` only. Past documentation claiming they appeared in rows was inaccurate.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `recordId` | string | Always | Stable identifier built from the suggestion entity ID. |
| `query` | string | Always | Input query used for the request. |
| `rank` | integer | Always | One-based position in the ranked response. |
| `type` | string | Always | Suggestion type, such as `city`, `postal_code`, `neighborhood`, `school`, `university`, or `county`. |
| `displayName` | string | Always | Display label returned for the suggestion. |
| `city` | string or null | When applicable | City associated with the suggestion. |
| `stateCode` | string or null | When applicable | Two-letter state or region code. |
| `postalCode` | string or null | When applicable | ZIP or postal code. |
| `country` | string or null | When applicable | Country label returned by the source. |
| `neighborhood` | string or null | When applicable | Neighborhood name. |
| `school` | string or null | When applicable | School name. |
| `university` | string or null | When applicable | University name. |
| `county` | string or null | When applicable | County name. |
| `countyFips` | string or null | When applicable | County FIPS code (first published county). |
| `counties` | object array | When applicable | All counties published by the source for the suggestion (name, fips, stateCode) — multi-county places are preserved. |
| `sourceTotalHits` | integer | When reported | Total matching suggestions reported by the source for the query. |
| `addressLine` | string or null | When applicable | Street-address fragment or address line. |
| `score` | number | Always | Source ranking score; larger values rank higher. |
| `latitude` | number | When applicable | Suggestion centroid latitude. |
| `longitude` | number | When applicable | Suggestion centroid longitude. |
| `slugId` | string | Always | Source slug identifier. |
| `geoId` | string | Always | Source geographic identifier. |
| `entityId` | string | Always | Source entity identifier used in `recordId`. |
| `sourceUrl` | string | Always | Exact public autocomplete request URL, including query and limit. |
| `raw` | object | When `includeRaw` is enabled | Bounded source suggestion object for traceability. |
| `scrapedAt` | string | Always | Time the row was saved, in ISO UTC. |

The example below is a representative saved row (fields not applicable to the suggestion type are omitted).

```json
{
  "recordId": "suggestion:city:tx_austin",
  "query": "Austin, TX",
  "rank": 1,
  "type": "city",
  "displayName": "Austin, TX",
  "city": "Austin",
  "stateCode": "TX",
  "country": "USA",
  "county": "Travis",
  "countyFips": "48453",
  "counties": [
    { "name": "Travis", "fips": "48453", "stateCode": "TX" },
    { "name": "Williamson", "fips": "48491", "stateCode": "TX" }
  ],
  "sourceTotalHits": 2756,
  "score": 36032.387,
  "latitude": 30.2986219,
  "longitude": -97.7541339,
  "slugId": "Austin_TX",
  "geoId": "426c3033-22a7-50c7-ba07-1f2bb51db2d1",
  "entityId": "city:tx_austin",
  "sourceUrl": "https://parser-external.geo.moveaws.com/suggest?input=Austin%2C+TX&client_id=rdc-x&limit=5",
  "scrapedAt": "2026-08-30T00:45:33.666Z"
}
```

### Run summary

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

| Field | Meaning |
| --- | --- |
| `source` | Source label, `Realtor.com public location autocomplete`. |
| `status` | Actor outcome: `SUCCEEDED` or `FAILED`. A clean empty result is `SUCCEEDED`. |
| `query` | Query sent to the autocomplete endpoint. |
| `suggestionsScanned` | Suggestions returned by the source before local filtering. |
| `suggestionsEmitted` | Suggestion rows saved. |
| `datasetWriteFailureCount` | Dataset writes that failed. |
| `outputWriteFailureCount` | Summary writes that failed. |
| `diagnosticCount` | Operational issues recorded in the summary. |
| `diagnosticsStored` | Diagnostic dataset rows; always `0`. |
| `sourceTotalHits` | Total matching suggestions reported by the source, or `null` when absent. |
| `requestAttempts` | Autocomplete requests attempted, including retries. |
| `retryCount` | Retries performed after the first attempt. |
| `proxyConfigured` | Whether proxy routing was configured. |
| `dataAvailable` | Whether at least one suggestion row was saved. |
| `failedRequests` | Request attempts that failed. |
| `dataStatus` | Saved-data completeness: `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `runStatus` | Run execution status: `SUCCEEDED` when a row was written or the run completed cleanly with no results; `FAILED` only when an operational failure occurred before any row was written. |
| `finishedAt` | Time the summary was written, in ISO UTC. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | Suggestions were saved without a request or dataset-write failure. |
| `SUCCEEDED` | `PARTIAL` | Suggestions were saved, but a request or dataset write failed afterward. |
| `SUCCEEDED` | `NO_RESULTS` | The request completed cleanly and returned no suggestions. |
| `FAILED` | `FAILED` | A request failed before any suggestion was saved. |

Example `OUTPUT_SUMMARY` from the saved 2026-08-30 run. That run predates the expanded summary schema, so the later fields above were not written and are absent from this JSON.

```json
{
  "source": "Realtor.com public location autocomplete",
  "status": "SUCCEEDED",
  "query": "Austin, TX",
  "suggestionsScanned": 5,
  "suggestionsEmitted": 5,
  "diagnosticCount": 0,
  "sourceTotalHits": 2757,
  "proxyConfigured": false,
  "finishedAt": "2026-08-30T00:45:33.684Z"
}
```

The source reported 2,757 total hits, while the request's `limit=5` returned and saved five suggestions. A high `sourceTotalHits` therefore does not mean every hit was emitted.

### Coverage and limitations

The Actor uses the public HTTPS endpoint already used by the Realtor.com search experience:

`https://parser-external.geo.moveaws.com/suggest?input={query}&client_id=rdc-x&limit={maxResults}`

It does not require a login or API secret and does not bypass CAPTCHAs, access challenges, rate limits, or other controls. The endpoint is not a documented public API and can change or reject requests without notice. Suggestions reflect the source index at request time; ZIP boundaries, school assignments, and place names can change.

`areaTypes` is applied locally, so a filtered run can emit fewer rows than `maxResults`. `includeRaw` adds a bounded source object but does not change ranking. Inapplicable suggestion fields are **omitted**, not guessed. Use `rank` (not the source-specific `score`) for ordering. Blocked, empty, or partial responses are reported in `OUTPUT_SUMMARY`, not as fabricated suggestions.

### Usage and support

Each run makes one bounded public request plus only the configured retry attempts, so compute and transfer usage are predictable. Start with a small `maxResults` and no filter, inspect the dataset and `OUTPUT_SUMMARY`, then add `areaTypes` or `includeRaw` as needed. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/realtor-autocomplete-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 Realtor.com. Use it only for public data and in accordance with the source's terms, robots guidance, and applicable law.

# Actor input Schema

## `query` (type: `string`):

A city, ZIP code, address fragment, neighborhood, school, or university name.

## `maxResults` (type: `integer`):

Number of ranked public suggestions to request and emit.

## `areaTypes` (type: `array`):

Optional local filter, for example \["city", "postal_code"]. Leave empty to keep the source ranking across all public types.

## `includeRaw` (type: `boolean`):

Include the bounded source suggestion object for traceability.

## `timeoutSeconds` (type: `integer`):

Timeout for the public autocomplete request.

## `retries` (type: `integer`):

Maximum bounded retries after the first public autocomplete request.

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

Delay between bounded retry attempts.

## Actor input object example

```json
{
  "query": "Austin, TX",
  "maxResults": 20,
  "areaTypes": [],
  "includeRaw": false,
  "timeoutSeconds": 30,
  "retries": 2,
  "requestDelayMs": 250
}
```

# 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 = {
    "query": "Austin, TX",
    "maxResults": 20,
    "includeRaw": false,
    "timeoutSeconds": 30,
    "retries": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/realtor-autocomplete-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 = {
    "query": "Austin, TX",
    "maxResults": 20,
    "includeRaw": False,
    "timeoutSeconds": 30,
    "retries": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/realtor-autocomplete-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 '{
  "query": "Austin, TX",
  "maxResults": 20,
  "includeRaw": false,
  "timeoutSeconds": 30,
  "retries": 2
}' |
apify call w3crawler/realtor-autocomplete-scraper --silent --output-dataset

```

## MCP server setup

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