# Realtor.com Scraper (US & International Real Estate) (`datablow/realtor-scraper`) Actor

Scrape real estate listings, homes for sale, apartments for rent, prices, beds, baths, sqft, photo galleries, and agent contacts from Realtor.com (US & International).

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

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 Real Estate Scraper (US & International)

Extract real estate properties, homes for sale, apartments for rent, prices, bedrooms, bathrooms, square footage, photo galleries, agent contacts, and property specifications from **Realtor.com** across both **US** and **International** markets.

Powered by the **Camoufox C++ Stealth Browser** and **Apify Residential Proxies** to bypass anti-bot and perimeter blocks without detection.

***

### 🚀 Key Features

- 🌎 **Full US & International Support**:
  - Scrape US cities, states, and zip codes (e.g. `Miami, FL`, `Austin, TX`, `90210`).
  - Scrape International listings worldwide (e.g. `https://www.realtor.com/international/in/Hyderabad/p58/`).
- 🏡 **All Listing Types**:
  - **For Sale (Buy)**: Single family homes, condos, townhomes, villas, apartments.
  - **For Rent**: Rental apartments and homes.
  - **Recently Sold**: Historic transaction prices and property data.
- 📸 **High-Resolution Photo Galleries**:
  - Extracts 20–50+ full-resolution photos per property.
- 📋 **Deep Property Details**:
  - Exact pricing (USD + Local currency e.g. INR, EUR), price per sqft.
  - Bedrooms, bathrooms, full/half baths, living sqft, lot sqft.
  - Full property descriptions, features, amenities, and year built.
  - Geolocation coordinates (`latitude`, `longitude`).
  - Listing agent and brokerage details with phone and office info.
- 🛡️ **Stealth Camoufox Engine**:
  - Bypasses PerimeterX, Kasada, and bot detection mechanisms.

***

### 📥 Input Configuration

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `startUrls` | Array | `["https://www.realtor.com/international/in/Hyderabad/p58/"]` | List of Realtor.com URLs (search catalog or direct property detail pages). |
| `location` | String | `"Hyderabad"` | Location query (`"Hyderabad"`, `"Miami, FL"`, `"Austin, TX"`). Used if no `startUrls` provided. |
| `mode` | String | `"BUY"` | Listing type: `"BUY"`, `"RENT"`, or `"SOLD"`. |
| `maxItems` | Integer | `20` | Maximum number of properties to scrape. |
| `maxPagesPerQuery` | Integer | `2` | Maximum pagination depth. |
| `scrapeDetails` | Boolean | `true` | When `true`, visits individual property pages for complete photo galleries and agent info. |
| `proxyConfiguration` | Object | `RESIDENTIAL` | Residential proxy configuration. |

#### Sample Input (JSON)

```json
{
  "startUrls": [
    {
      "url": "https://www.realtor.com/international/in/Hyderabad/p58/"
    }
  ],
  "maxItems": 10,
  "maxPagesPerQuery": 2,
  "scrapeDetails": true
}
```

***

### 📤 Output Dataset Example

```json
{
  "propertyId": "250107272083",
  "mlsId": null,
  "title": "Bongloor, Hyderabad, Telangana",
  "url": "https://www.realtor.com/international/in/bongloor-hyderabad-uttar-pradesh-250107272083/",
  "status": "FOR_SALE",
  "price": 178000,
  "priceFormatted": "$178,000",
  "localPrice": "INR ₹ 1,50,00,000",
  "pricePerSqFt": 89,
  "currency": "USD",
  "beds": 3,
  "baths": 3,
  "fullBaths": null,
  "halfBaths": null,
  "sqft": 2000,
  "lotSqft": null,
  "propertyType": "Villa",
  "yearBuilt": 2024,
  "address": "Bongloor, Hyderabad, Telangana",
  "city": "Hyderabad",
  "state": "Telangana",
  "zipCode": null,
  "country": "India",
  "coordinates": {
    "latitude": 17.2148,
    "longitude": 78.5832
  },
  "description": "Luxurious 3-bedroom independent villa in a gated community with modern amenities...",
  "features": [
    "Gated Community",
    "Car Parking",
    "Clubhouse",
    "24/7 Security"
  ],
  "thumbnail": "https://ap.rdcpix.com/39328402/photos/1.jpg",
  "photos": [
    "https://ap.rdcpix.com/39328402/photos/1.jpg",
    "https://ap.rdcpix.com/39328402/photos/2.jpg",
    "https://ap.rdcpix.com/39328402/photos/3.jpg"
  ],
  "agent": {
    "name": "Listing Advisor",
    "brokerName": "Premier Realty",
    "phone": "+91 9876543210",
    "email": null
  },
  "scrapedAt": "2026-09-11T17:40:00.000Z"
}
```

***

### 🐍 Python Client Example

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")

run_input = {
    "startUrls": [
        {"url": "https://www.realtor.com/international/in/Hyderabad/p58/"}
    ],
    "maxItems": 15,
    "scrapeDetails": True
}

run = client.actor("datablow/realtor-scraper").call(run_input=run_input)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"{item['title']} - {item['priceFormatted']} ({item['beds']} beds, {item['baths']} baths)")
```

***

### ⚖️ License

ISC

# Actor input Schema

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

List of Realtor.com URLs to scrape. Supports US search URLs, International catalog URLs (e.g. https://www.realtor.com/international/in/Hyderabad/p58/), or direct property detail URLs.

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

City, State, Zip Code, or International Region (e.g. 'Hyderabad', 'Miami, FL', 'Austin, TX', '90210'). Used if no Start URLs are specified.

## `mode` (type: `string`):

Property listing type to scrape when searching by location.

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

Maximum number of properties to scrape.

## `maxPagesPerQuery` (type: `integer`):

Maximum pagination pages to crawl per search URL or location.

## `scrapeDetails` (type: `boolean`):

If enabled, visits each property page to extract complete high-res photo galleries, descriptions, agent/broker info, and granular specs.

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

Proxy settings. Realtor.com uses advanced anti-bot protections; residential proxies are strongly recommended.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.realtor.com/international"
    }
  ],
  "location": "Hyderabad",
  "mode": "BUY",
  "maxItems": 20,
  "maxPagesPerQuery": 2,
  "scrapeDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Default dataset containing the scraped Realtor.com properties.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.realtor.com/international"
        }
    ],
    "location": "Hyderabad"
};

// Run the Actor and wait for it to finish
const run = await client.actor("datablow/realtor-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 = {
    "startUrls": [{ "url": "https://www.realtor.com/international" }],
    "location": "Hyderabad",
}

# Run the Actor and wait for it to finish
run = client.actor("datablow/realtor-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 '{
  "startUrls": [
    {
      "url": "https://www.realtor.com/international"
    }
  ],
  "location": "Hyderabad"
}' |
apify call datablow/realtor-scraper --silent --output-dataset

```

## MCP server setup

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