# Realtor.com Agent Scraper (`scrapepilotapi/realtor-com-agent-scraper`) Actor

- **URL**: https://apify.com/scrapepilotapi/realtor-com-agent-scraper.md
- **Developed by:** [ScrapePilot](https://apify.com/scrapepilotapi) (community)
- **Categories:** Automation, Agents, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## 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

### 🧩 What does Realtor.com Agent Scraper do? 

The Realtor.com Agent Scraper is a powerful automation tool designed to extract detailed agent information from Realtor.com based on location-specific ZIP codes. It helps users gather real estate agent directory data, find a realtor agent near me, explore local realtor companies, and access realtor.com agent profile information—all in seconds.

This scraper is perfect for businesses, analysts, and marketers who need structured data without the manual effort of browsing pages. It improves SEO research, enriches lead databases, and provides insights into competitors within chosen ZIP code regions. Whether you're building a list of local realtors or analyzing the Realtor.com for agents ecosystem, this tool delivers clean, reliable, and ready-to-use data. 🏆

* * *

### 📦 What Realtor.com Agent Scraper Can I Extract?

Below is a clean overview of the data types the scraper can collect 👇

#### 📊 Extractable Data Table

| Data Type | Description |
| --- | --- |
| Agent Name | Full Realtor name as displayed on the profile |
| Phone Number | Public contact number for outreach |
| Email (if available) | Agent’s publicly shared email |
| Realtor.com Profile URL | Direct link to the realtor.com agent profile |
| Brokerage / Company | Name of local realtor companies |
| ZIP Code | The targeted ZIP code used for filtering |
| Ratings & Reviews | Agent performance insights |
| Service Areas | City/ZIP areas where the agent operates |
| License Info | Public license information (if listed) |

  

* * *

#### ⭐ Key Features of Realtor.com Agent Scraper

This scraper is built for speed, accuracy, and convenience. Here are the top features that make it a must-have tool for real estate professionals and marketers:

*   🚀 ZIP-Code Targeting: Extract agents from specific ZIPs (e.g., “Realtor com agents by zip code near me” or nationwide searches like “Realtor com agents by zip code USA”).  
      
    
*   📱 Comprehensive Agent Details: Capture names, contact info, brokerage details, ratings, and more from the real estate agent directory.  
      
    
*   🔗 Profile Deep-Dive: Automatically fetch data from each realtor.com agent profile without manual clicking.  
      
    
*   💼 Brokerage Insights: Retrieve information about local realtor companies and their associated agents.  
      
    
*   🔍 High Accuracy Parsing: Clean, structured data ready for CRM imports, marketing pipelines, or analytics dashboards.  
      
    
*   🧠 NLP-Optimized Output: Fields are organized to support machine learning tasks and SEO enrichment for companies analyzing agent trends.  
      
    
*   💾 Export Anywhere: Download results in JSON, CSV, Excel, or connect via API.  
      
    
*   🔐 Privacy-safe Workflow: Uses publicly available information without requiring realtor.com agent login credentials.  
      
    

* * *

### 🛠️ How to Use Realtor.com Agent Scraper

Using this tool is simple—even if you’re not technical. Follow this step-by-step guide to get accurate Realtor.com agent data fast:

1.  Log in to Apify — Create a free account or sign in.  
      
    
2.  Select the Actor — Search for “Realtor.com Agent Scraper” in the Apify Store.  
      
    
3.  Enter Input Data — Add your target ZIP codes inside the input field. You can input multiple ZIPs for bulk scraping.  
      
    
4.  Choose Options — Select filters such as pagination depth, number of agents, or extraction level.  
      
    
5.  Run the Actor — Click Start, and the scraper will automatically gather agent details such as names, phones, companies, and more.  
      
    
6.  Download Results — Export your dataset in JSON, CSV, Excel, or connect your workflow with API integrations.  
      
    

This process is ideal for marketers exploring realtors near me, researchers compiling a list of local realtors, and companies analyzing competitors across multiple ZIP code regions.

  

* * *

### 🎯 Use Cases

Here’s how different industries can benefit from the Realtor.com Agent Scraper:

*   📈 Lead Generation Agencies: Build a comprehensive real estate agent directory and sell hyperlocal leads.  
      
    
*   🏢 Brokerage Market Research: Compare competitor local realtor companies across ZIP codes.  
      
    
*   📊 Marketing Teams: Improve outreach lists using verified Realtor.com agent data.  
      
    
*   🧠 Data Analysts: Use structured data for trend detection, locality-based performance, or market segmentation.  
      
    
*   🏡 Real Estate Startups: Enhance apps with “realtor agent near me” features using accurate agent datasets.  
      
    
*   🤝 Recruiters: Identify top-performing agents for hiring pipelines.  
      
    
*   📚 Academic/Industry Research: Study regional patterns in real estate representation.  
      
    

* * *

### 🌟 Why Choose Us?

Our scraping solution stands out thanks to its reliability, precision, and user-friendly experience. Here’s why this tool beats competitors:

*   🔥 Highly Scalable: Designed to handle thousands of ZIP codes efficiently.  
      
    
*   📞 Rich Contact Data: Pulls relevant fields essential for outreach campaigns.  
      
    
*   🏆 Trusted Accuracy: We provide consistent, structured, verified results.  
      
    
*   🧹 Clean Data Output: No duplicates, broken links, or messy formatting.  
      
    
*   💬 SEO-Enhanced Fields: Perfect for building directories, blogs, or comparison platforms—especially for “realtor.com for agents.”  
      
    
*   👨‍💻 No Login Required: Zero need for realtor.com agent login credentials.  
      
    
*   💡 Continuous Support: Our team ensures smooth performance and regular updates.  
      
    

* * *

### 📈 How many results can you scrape with Realtor.com Agent Scraper?

This scraper is built for massive scalability. You can extract thousands—even tens of thousands—of Realtor.com agent records depending on how many ZIP codes you provide. Whether you need a realtor agent near me list for one ZIP or a nationwide Realtor.com agents dataset, the scraper handles it with ease.

Key scalability benefits:

*   🌎 Unlimited ZIP Input — Upload a list of any size.  
      
    
*   🚀 High-Speed Parallel Processing — Multiple ZIP codes can be scraped at once.  
      
    
*   🗂️ Structured Output — Easily import large datasets into CRMs, BI tools, or local databases.  
      
    
*   📥 Bulk Export — Download thousands of agent profiles quickly and without delays.  
      
    

The scraper adapts to your workflow—whether you're running small neighborhood analyses or building a real estate agent directory covering the entire U.S.

* * *

### ⚖️ Is it legal to scrape Realtor.com Agent?

Web scraping is generally legal when collecting publicly available information and using it responsibly. The Realtor.com Agent Scraper gathers only publicly accessible agent data without bypassing login walls, private accounts, or restricted information.

However, users should always:

*   ✔ Respect website terms  
      
    
*   ✔ Avoid automated actions that cause excessive load  
      
    
*   ✔ Use data ethically  
      
    
*   ✔ Comply with local laws and regulations  
      
    

The scraper does not require realtor.com agent login credentials and operates transparently for research, compliance, and directory-building purposes.

  

* * *

### 📝 Input Parameters

#### JSON Input Example

```json
{
  "zipCodes": ["07101", "00501"],
  "maxItemsPerZipcode": 100,
  "sortOrder": "RELEVANT_AGENTS",
  "maxRetries": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
````

### 📤 Output Format

#### JSON Output Example

```json
{
  "zip_code": "07101",
  "agent_name": "John Doe, agent",
  "website": "https://www.realtor.com/realestateagents/123456",
  "email": null,
  "listing_count": 5,
  "sold_count": 12,
  "office_phone": "(555) 123-4567",
  "mobile_phones": "(555) 987-6543",
  "areas_serviced": "Newark, Jersey City, Hoboken, Union City",
  "zip_codes_serviced": null,
  "office_company_name": "ABC Realty",
  "company_website": "https://www.abcrealty.com",
  "review_count": 25,
  "agent_photo": "https://ap.rdcpix.com/..."
}
```

### ❓ FAQ

#### 1️⃣ How accurate is the Realtor.com Agent Scraper?

It pulls real-time, publicly available agent data with high accuracy.

#### 2️⃣ Can it find a “realtor agent near me”?

Yes—simply enter ZIP codes for your target areas.

#### 3️⃣ Does this scraper require a Realtor.com login?

No, it works without a realtor.com agent login access.

#### 4️⃣ What formats can I export results in?

JSON, CSV, Excel, or API connections.

#### 5️⃣ Can I scrape all of the USA?

Yes—use the Realtor.com agents input mode with a ZIP list.

#### 6️⃣ Is the scraper suitable for building a real estate agent directory?

Absolutely. Many users create full real estate agent directory systems with it.

#### 7️⃣ Can marketers use this for lead generation?

Yes—great for building a list of local realtors, outreach campaigns, and local marketing.

### 🏁 Conclusion 🎉

The Realtor.com Agent Scraper delivers fast, accurate, location-based agent data for marketing, research, and lead generation. It streamlines workflows, enhances insights, and helps you quickly find top-performing realtors near you—making it an essential tool for real estate professionals and data-driven teams.

# Actor input Schema

## `zipCodes` (type: `array`):

Enter zip codes to scrape agents from (e.g., \['07101', '00501']). Supports bulk input for multiple locations! 🎯

## `maxItemsPerZipcode` (type: `integer`):

Maximum number of agents to extract per zip code. Set higher for more comprehensive results! ⬆️

## `sortOrder` (type: `string`):

Choose how to sort the agent results. Find the most relevant agents for your needs! 🎯

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

🛡️ Smart proxy management! Starts with no proxy by default. If Realtor.com blocks requests, automatically falls back to datacenter proxy, then residential proxy with 3 retries. Your scraping stays uninterrupted! ⚡

## Actor input object example

```json
{
  "zipCodes": [
    "07101",
    "00501"
  ],
  "maxItemsPerZipcode": 10,
  "sortOrder": "RELEVANT_AGENTS",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "zipCodes": [
        "07101",
        "00501"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapepilotapi/realtor-com-agent-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 = {
    "zipCodes": [
        "07101",
        "00501",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapepilotapi/realtor-com-agent-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 '{
  "zipCodes": [
    "07101",
    "00501"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call scrapepilotapi/realtor-com-agent-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Realtor.com Agent Scraper",
        "version": "0.1",
        "x-build-id": "FDd78CRVRXEzWnNiA"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapepilotapi~realtor-com-agent-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapepilotapi-realtor-com-agent-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/scrapepilotapi~realtor-com-agent-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scrapepilotapi-realtor-com-agent-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/scrapepilotapi~realtor-com-agent-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapepilotapi-realtor-com-agent-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",
                "required": [
                    "zipCodes"
                ],
                "properties": {
                    "zipCodes": {
                        "title": "📍 Zip Codes",
                        "type": "array",
                        "description": "Enter zip codes to scrape agents from (e.g., ['07101', '00501']). Supports bulk input for multiple locations! 🎯",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxItemsPerZipcode": {
                        "title": "📊 Max Items Per Zip Code",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum number of agents to extract per zip code. Set higher for more comprehensive results! ⬆️",
                        "default": 10
                    },
                    "sortOrder": {
                        "title": "🔀 Sort Order",
                        "enum": [
                            "RELEVANT_AGENTS",
                            "RATINGS_REVIEWS",
                            "MOST_SALES",
                            "MOST_RECENT_ACTIVITY",
                            "TESTIMONIALS_RECOMMENDATIONS"
                        ],
                        "type": "string",
                        "description": "Choose how to sort the agent results. Find the most relevant agents for your needs! 🎯",
                        "default": "RELEVANT_AGENTS"
                    },
                    "proxyConfiguration": {
                        "title": "🔒 Proxy Configuration",
                        "type": "object",
                        "description": "🛡️ Smart proxy management! Starts with no proxy by default. If Realtor.com blocks requests, automatically falls back to datacenter proxy, then residential proxy with 3 retries. Your scraping stays uninterrupted! ⚡"
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
