# Realtor.com Property Listings Scraper (`flamboyant_liner/realtor-listings-scraper`) Actor

Scrape Realtor.com property listings by ZIP, city, or neighborhood. Extracts full address, price, beds, baths, sqft, property type, year built, photos, listing agent source, and the listing URL for for-sale, rental, and sold homes. Built for real-estate lead generation, market analysis, and comps.

- **URL**: https://apify.com/flamboyant\_liner/realtor-listings-scraper.md
- **Developed by:** [Khrystyna Skotte](https://apify.com/flamboyant_liner) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN 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/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Realtor.com Property Listings Scraper

Scrape **Realtor.com** property listings by ZIP code, city, or neighborhood. Returns
structured real-estate data — full address, price, beds, baths, square footage,
property type, year built, photos, listing source, and the direct listing URL — for
**for-sale**, **rental**, and **recently sold** homes.

Ideal for real-estate lead generation, market analysis, investment research,
comparable-sales (comps) workflows, and feeding property data into CRMs or dashboards.

### What it scrapes

- For-sale listings, rentals, and recently sold homes
- Any U.S. location: ZIP (`10001`), city (`Brooklyn, NY`), or `ZIP, City, ST`
- Price, bed/bath/price filters
- Full pagination up to your `maxItems` cap

### Output fields

| Field | Description |
|---|---|
| `address`, `city`, `state`, `postalCode` | Full property address |
| `lat`, `lng` | Coordinates |
| `price` | Listing price (sale price or monthly rent) |
| `listPrice`, `listPriceMin`, `listPriceMax` | Raw price fields from the source |
| `beds`, `baths`, `sqft` | Size details |
| `propertyType`, `yearBuilt` | Property metadata |
| `status` | `for_sale`, `for_rent`, or `sold` |
| `listDate` | When the listing was posted |
| `isNewListing`, `isPriceReduced`, `isPending`, `isNewConstruction`, `isForeclosure` | Listing flags |
| `photoUrl`, `photoCount` | Primary photo and image count |
| `estimateUsd` | Estimated value |
| `dataSource` | Listing brokerage/source |
| `listingUrl` | Direct Realtor.com listing URL |
| `scrapedAt` | ISO timestamp of the scrape |

### Example input

```json
{}
````

Runs with defaults: for-sale listings in ZIP `10001`, 10 results.

Custom example:

```json
{
    "searchQuery": "Austin, TX",
    "status": "for_sale",
    "minPrice": 300000,
    "maxPrice": 800000,
    "minBeds": 3,
    "maxItems": 100
}
```

### Example output

```json
{
    "propertyId": "9124860867",
    "status": "for_sale",
    "address": "15 Hudson Yards Ph 88C",
    "city": "New York",
    "state": "NY",
    "postalCode": "10001",
    "price": 19950000,
    "beds": 4,
    "baths": 7,
    "sqft": 5139,
    "propertyType": "condos",
    "yearBuilt": 2019,
    "photoUrl": "https://ap.rdcpix.com/...jpg",
    "dataSource": "CorcoranGroup",
    "listingUrl": "https://www.realtor.com/realestateandhomes-detail/15-Hudson-Yards-88C_New-York_NY_10001_M91248-60867",
    "scrapedAt": "2026-05-18T00:00:00.000Z"
}
```

### Use cases

- **Lead generation** — build prospect lists for agents and brokerages
- **Market analysis** — track inventory, pricing, and days-on-market by area
- **Comps** — pull comparable sales for valuation
- **Investment research** — screen properties by price, beds, and location
- **Data enrichment** — feed listing data into CRMs, dashboards, and models

### Pricing

Pay-per-event: $0.05 per run start + $0.012 per listing scraped.

# Actor input Schema

## `searchQuery` (type: `string`):

ZIP, city, or 'ZIP, City, ST'. E.g. '10001', 'Brooklyn, NY', '92129, San Diego, CA'.

## `status` (type: `string`):

for\_rent, for\_sale, or sold.

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

Lower bound on list price.

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

Upper bound on list price.

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

0 = studio.

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

Maximum listings to return.

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

Apify residential proxy recommended.

## Actor input object example

```json
{
  "searchQuery": "10001",
  "status": "for_sale",
  "minPrice": 0,
  "maxPrice": 100000000,
  "minBeds": 0,
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# 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 = {
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("flamboyant_liner/realtor-listings-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 = { "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    } }

# Run the Actor and wait for it to finish
run = client.actor("flamboyant_liner/realtor-listings-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call flamboyant_liner/realtor-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=flamboyant_liner/realtor-listings-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Realtor.com Property Listings Scraper",
        "description": "Scrape Realtor.com property listings by ZIP, city, or neighborhood. Extracts full address, price, beds, baths, sqft, property type, year built, photos, listing agent source, and the listing URL for for-sale, rental, and sold homes. Built for real-estate lead generation, market analysis, and comps.",
        "version": "1.0",
        "x-build-id": "chDCBnj2r9NKOql0g"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/flamboyant_liner~realtor-listings-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-flamboyant_liner-realtor-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/flamboyant_liner~realtor-listings-scraper/runs": {
            "post": {
                "operationId": "runs-sync-flamboyant_liner-realtor-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/flamboyant_liner~realtor-listings-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-flamboyant_liner-realtor-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchQuery": {
                        "title": "Location to search",
                        "type": "string",
                        "description": "ZIP, city, or 'ZIP, City, ST'. E.g. '10001', 'Brooklyn, NY', '92129, San Diego, CA'.",
                        "default": "10001"
                    },
                    "status": {
                        "title": "Listing status",
                        "enum": [
                            "for_rent",
                            "for_sale",
                            "sold"
                        ],
                        "type": "string",
                        "description": "for_rent, for_sale, or sold.",
                        "default": "for_sale"
                    },
                    "minPrice": {
                        "title": "Min list price (USD)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Lower bound on list price.",
                        "default": 0
                    },
                    "maxPrice": {
                        "title": "Max list price (USD)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Upper bound on list price.",
                        "default": 100000000
                    },
                    "minBeds": {
                        "title": "Min bedrooms",
                        "minimum": 0,
                        "maximum": 10,
                        "type": "integer",
                        "description": "0 = studio.",
                        "default": 0
                    },
                    "maxItems": {
                        "title": "Max listings",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum listings to return.",
                        "default": 10
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify residential proxy recommended."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
