# Realtor Scraper (Agent Details) (`coder_luffy/realtor-scraper-agent-details`) Actor

Realtor Scraper (Agent Details) extracts verified real estate agent data, including names, contact info, agencies, and active listings. Ideal for building agent databases, lead generation, and real estate market analysis.

- **URL**: https://apify.com/coder_luffy/realtor-scraper-agent-details.md
- **Developed by:** [Luffy](https://apify.com/coder_luffy) (community)
- **Categories:** Developer tools, Lead generation, Real estate
- **Security:** Limited permissions
- **Stats:** 127 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $2.99 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Scraper API – Agent Details](https://i.imgur.com/0WeNCIg.png)

## Realtor Scraper (Agent Details) – Real Estate Agent Data Extraction API

#### Overview

**Realtor Scraper (Agent Details)** is a high-accuracy data extraction API that automatically gathers verified real estate agent information from **Realtor.com** and other trusted platforms.
It provides **structured, deep-level Realtor agent data** — including names, contact details, offices, listings, and service areas — ready to use for **CRM enrichment, market analytics, or lead generation**.

Built for developers, marketers, and real estate professionals, this scraper ensures **clean, SEO-optimized, and reliable data output** in multiple formats.

***

#### How It Works

The API searches deeply across Realtor databases using one or more of these identifiers:

- `profile_id`
- `fulfillment_id`
- `nrds_id`

It returns detailed, verified Realtor agent profiles in JSON format.
You can later download the scraped data from **Apify** in **Excel (.xlsx)**, **CSV**, **JSON**, or **HTML** formats.

> ⚠️ *Each request may take slightly longer than usual, as the API performs a deep data search to ensure the most accurate and comprehensive results.*

***

#### Parameters

| Parameter        | Type    | Description                                      | Required |
| ---------------- | ------- | ------------------------------------------------ | -------- |
| `profile_id`     | String  | Realtor agent’s unique profile identifier        | Optional |
| `fulfillment_id` | Integer | Realtor internal fulfillment identifier          | Optional |
| `nrds_id`        | Integer | National Association of Realtors (NAR) member ID | Optional |

At least one parameter must be provided in every request.

***

#### Example Input

```json
{
  "work_type": "agent_details",
  "profile_id": "56bccec489a68901006d8aeb",
  "fulfillment_id": 2221674,
  "nrds_id": 123456
}
```

***

#### Example Output

![Example Realtor Agent Data](https://i.imgur.com/RbIzpiD.png)

```json
[
  {
    "fulfillment_id": 2221674,
    "profile_id": "56bccec489a68901006d8aeb",
    "fullname": "Michael Ryan Smith",
    "bio": "Licensed Realtor specializing in residential and commercial properties.",
    "email": "ryan@ryansmith.realtor",
    "website": "http://ryansmith.realtor/",
    "average_rating": 5,
    "reviews_count": 25,
    "office_name": "Wallace Real Estate",
    "office_phone": "(865) 342-4200",
    "served_areas": "Knoxville, Maryville, Gatlinburg",
    "specializations": "Buyer's Agent, Seller's Agent, Farm Properties",
    "recently_sold_listings": 12
  }
]
```

***

#### Key Features

- Extract Realtor agent data using `profile_id`, `fulfillment_id`, or `nrds_id`
- Retrieve contact info, ratings, listings, and agency details
- Export data directly from Apify in **Excel, CSV, JSON, or HTML**
- Accurate, deep-level search for complete agent profiles
- Real-time scraping ideal for automation and analytics
- Ready-to-use structured output for CRMs, dashboards, and data tools

***

#### Use Cases

- **CRM Integration** – Sync verified Realtor data automatically into contact databases
- **Lead Generation** – Identify and connect with top-performing agents
- **Real Estate Research** – Track regional agent performance and listing activity
- **Automation & Analytics** – Feed structured agent insights into marketing or BI tools

***

#### Data Formats Available

| Format            | Description                      | Best For                         |
| ----------------- | -------------------------------- | -------------------------------- |
| **JSON**          | Machine-readable structured data | API integration, data analysis   |
| **CSV**           | Tabular data for spreadsheets    | Bulk imports and quick filtering |
| **Excel (.xlsx)** | Well-formatted report version    | Business presentations, sharing  |
| **HTML**          | Human-readable format            | Quick viewing in browsers        |

***

#### Performance Note

Because this scraper performs a **deep Realtor.com data lookup**, each request may take **slightly more time** to complete.
Please allow the API to finish processing to ensure all agent details are fully captured and verified.

***

#### Summary

| Feature                   | Description                                        |
| ------------------------- | -------------------------------------------------- |
| **API Name**              | Realtor Scraper (Agent Details)                    |
| **Supported Identifiers** | `profile_id`, `fulfillment_id`, `nrds_id`          |
| **Output Formats**        | Excel, CSV, JSON, HTML                             |
| **Primary Function**      | Extract verified Realtor agent information         |
| **Ideal For**             | CRMs, marketing tools, analytics, lead generation  |
| **Accuracy**              | Deep search ensures up-to-date, comprehensive data |
| **Platform**              | Compatible with Apify for direct downloads         |

***

# Actor input Schema

## `profile_id` (type: `array`):

Enter one or more agent Profile IDs. Each ID should be on a new line. The API will process them individually and return detailed results.

## `fulfillment_id` (type: `array`):

Optional: Provide one or more Fulfillment IDs (numbers only, no quotes). These will automatically be converted into integers for processing.

## `nrds_id` (type: `array`):

Optional: Add one or more NRDS IDs (numeric values). Each entry will be handled separately and combined into a unified data response.

## Actor input object example

```json
{
  "profile_id": [
    "56c777800fa4170100766f1d"
  ],
  "fulfillment_id": [
    "2221674"
  ]
}
```

# 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 = {
    "profile_id": [
        "56c777800fa4170100766f1d"
    ],
    "fulfillment_id": [
        "2221674"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("coder_luffy/realtor-scraper-agent-details").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 = {
    "profile_id": ["56c777800fa4170100766f1d"],
    "fulfillment_id": ["2221674"],
}

# Run the Actor and wait for it to finish
run = client.actor("coder_luffy/realtor-scraper-agent-details").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 '{
  "profile_id": [
    "56c777800fa4170100766f1d"
  ],
  "fulfillment_id": [
    "2221674"
  ]
}' |
apify call coder_luffy/realtor-scraper-agent-details --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,coder_luffy/realtor-scraper-agent-details"
        }
    }
}
```

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/7dwTlPm1VQFi22Wjw/builds/ggsg7T9Q8OmLdDZi8/openapi.json
