# Realtor.com Agents Scraper — Contacts & B2B Leads (`blackfalcondata/realtor-agents-scraper`) Actor

Scrape realtor.com real-estate agents by US city or ZIP with full contacts: direct & office phone, agent & office website, office address, license number, and social media — plus broker, ratings, reviews, languages, and for-sale / recently-sold production stats. B2B agent lead generation.

- **URL**: https://apify.com/blackfalcondata/realtor-agents-scraper.md
- **Developed by:** [Black Falcon Data](https://apify.com/blackfalcondata) (community)
- **Categories:** Lead generation, Real estate, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 agents

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 Agents Scraper do?

Realtor.com Agents Scraper extracts the full real-estate agent directory from realtor.com for any US location. Every agent record carries name, brokerage, office, star rating, recommendation count, review count, and per-agent production stats — active for-sale listing count + price band, recently-sold count, and combined annual sales volume — plus a realtor.com profile link. Search by city + state or ZIP code, choose buyer's or seller's agents, optionally filter by spoken language, and run several locations in one job. Fast, no-browser, datacenter-friendly. Ideal for B2B agent lead-gen, recruiting, and market-share analysis.

### How to use this actor

- 👉 **Register for a free Apify account** — no credit card required.
- 🎉 Just click **[Sign up free on Apify →](https://console.apify.com/sign-up?fpr=1h3gvi&fp_sid=ctarich)** and complete a quick signup.
- 💰 A free Apify account includes $5 in monthly credits — enough to test this actor.
- ⏳ Scrape during the free trial, with no commitment or upfront payment required.

### Key features

<!-- KEY_FEATURES:START -->
- **🧑‍💼 Full agent directory** — Scrape every real-estate agent in a US city, ZIP, or area from realtor.com — name, broker, office, star rating, recommendations, review count, and per-agent production stats (active for-sale count + price range, recently-sold count, combined annual volume). Buyer's or seller's agents, with optional language filter.
- **📇 Full agent contacts** — contact enrichment (on by default) pulls each agent's direct & office phone, personal & office website, office address, license number and state, and social-media profiles (Facebook, Instagram, LinkedIn, X, YouTube, TikTok) — plus broker/office name and realtor.com profile link. Structured fields ready for CRM import and outreach. (Realtor does not publish agent email anywhere.)
- **🎯 Multi-location search** — pass several locations (cities + state, ZIP codes) in one run with a single shared dedup state — build a whole-market agent list in one job.
- **📊 Production stats** — rank agents by real production: active listing count + price band, recently-sold count, and combined annual sales volume — not just self-reported claims.
- **🔔 Notifications** — Telegram, Slack, Discord, WhatsApp Cloud API, and generic webhook out of the box. Pair with incremental for daily new-listing alerts without pipeline glue.
- **📦 Compact mode** — AI-agent and MCP-friendly payloads with core fields only.
- **📤 Export anywhere** — Download the dataset as JSON, CSV, or Excel from the Apify Console, or stream live via the Apify API and integrations (Make, Zapier, Google Sheets, n8n, …).
- **🔌 MCP connectors** — export your results into Notion via Apify's MCP connectors — a clean run-summary page, no glue code. Opt-in via the App connector field; deterministic field-mapping, no AI. Built on Apify's connector framework, so more destinations open up as their catalog grows.
<!-- KEY_FEATURES:END -->

### What data can you extract from Realtor.com Agents?

Each result includes Core listing fields (`agentId`, `fulfillmentId`, `name`, `isRealtor`, `isPaid`, `hasRps`, `avatarUrl`, and `agentUrl`, and more) and contact information (`agentPhone`, `agentPhones`, and `officePhone`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

### Input

The main inputs are a result limit. Additional filters and options are available in the input schema.

Key parameters:

- **`mode`** — Fixed to agents for this actor. (default: `"agents"`)
- **`agentLocations`** — One or more locations to find agents in: "City, ST" (e.g. "Austin, TX") or a ZIP code (e.g. "90210"). Each is searched independently.
- **`agentType`** — Which side the agent represents. (default: `"BUYER"`)
- **`agentLanguages`** — Filter by spoken language (e.g. "spanish", "mandarin").
- **`enrichAgentContacts`** — Fetch each agent's full contact profile — direct & office phone, website, office address, license number, and social media. On by default. (default: `true`)
- **`maxResults`** — Maximum agents to return (0 = full directory). (default: `200`)
- **`compact`** — Output only core agent fields (for AI-agent / MCP workflows). (default: `false`)
- **`excludeEmptyFields`** — Drop null / empty-string / empty-array fields from each record. (default: `false`)
- **`telegramToken`** — Telegram bot token (from @BotFather). Required for Telegram notifications.
- **`telegramChatId`** — Telegram chat or channel ID where alerts are sent.
- **`discordWebhookUrl`** — Discord incoming webhook URL.
- **`slackWebhookUrl`** — Slack incoming webhook URL.
- ...and 6 more parameters

### Input examples

**Buyer's agents in a city** — Enter one or more locations as "City, ST". Choose buyer's or seller's agents.

→ One record per agent with name, broker, office, rating, recommendations, reviews, and for-sale / recently-sold production stats.

```json
{
  "mode": "agents",
  "agentLocations": [
    "Austin, TX"
  ],
  "agentType": "BUYER",
  "maxResults": 200
}
````

**Seller's agents in a ZIP code** — Use a ZIP code to scope the agent directory tightly.

→ Seller-side agents in the ZIP, ranked by relevance, with full production stats.

```json
{
  "mode": "agents",
  "agentLocations": [
    "90210"
  ],
  "agentType": "SELLER",
  "maxResults": 200
}
```

**Language-filtered agents across cities** — Pass several locations and a spoken-language filter in one run.

→ Agents matching the language across all locations, deduplicated.

```json
{
  "mode": "agents",
  "agentLocations": [
    "Miami, FL",
    "Houston, TX"
  ],
  "agentLanguages": [
    "spanish"
  ],
  "maxResults": 500
}
```

**Compact output for a CRM** — Return only the core agent fields for a smaller, faster export.

→ Core fields only (name, broker, office, rating, stats, profile URL) — drop straight into a sheet or CRM.

```json
{
  "mode": "agents",
  "agentLocations": [
    "Dallas, TX"
  ],
  "compact": true,
  "maxResults": 200
}
```

### Output

Each run produces a dataset of structured property records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

### Example property record

```json
{
  "agentId": "56a649a10fa417010073f11b",
  "fulfillmentId": "1918615",
  "name": "Andra Cortez Jackson Realtor Austin TX",
  "isRealtor": true,
  "isPaid": true,
  "hasRps": false,
  "avatarUrl": "https://ap.rdcpix.com/1671514694/5926e52748f51f5e62858c04d77081dfa-e0rd-w144_h144.jpg",
  "agentUrl": "https://www.realtor.com/realestateagents/56a649a10fa417010073f11b",
  "brokerName": "Team West Real Estate - Broker",
  "brokerFulfillmentId": "3337315",
  "officeName": "Team West Real Estate",
  "avgRating": 5,
  "recommendationsCount": 62,
  "reviewsCount": 8,
  "forSaleCount": 2,
  "forSaleMin": 356000,
  "forSaleMax": 430000,
  "lastListingDate": "2026-05-11T14:35:41Z",
  "recentlySoldCount": 8,
  "annualVolumeMin": 356000,
  "annualVolumeMax": 356000,
  "servesBuyers": [
    "Personalized neighborhood guidance",
    "Access to market insights",
    "Early access to new listings",
    "Persuasive offer proposals",
    "Home inspection support",
    "Pre-approval assistance",
    "Lender referrals",
    "Other professional network referrals"
  ],
  "servesSellers": [
    "Professional photography",
    "Postcards and flyers",
    "Virtual tour",
    "Comparative market analysis"
  ],
  "agentPhone": "(512) 565-8448",
  "agentPhones": [
    {
      "type": "mobile",
      "value": "(512) 565-8448"
    },
    {
      "type": "mobile",
      "value": "(512) 565-8448"
    }
  ],
  "agentWebsite": "http://www.teamwestre.com",
  "officeWebsite": "http://teamwestre.com/",
  "officePhone": "(512) 296-0669",
  "officeAddress": "Austin, TX 78750",
  "licenseNumber": "0642309",
  "licenseState": "TX",
  "socialMedia": {
    "facebook": "https://www.facebook.com/AndraJacksonHomes",
    "instagram": "https://www.instagram.com/austinsfinestrealtor/",
    "linkedin": "https://www.linkedin.com/in/andra-cortez-jackson-jr-98737859/",
    "x": "https://twitter.com/andra_cortez"
  },
  "agentBio": "🏡 Andra Cortez Jackson Jr. | Trusted Austin-Area Realtor® | New Construction • Residential • Investment Properties\n\nReal estate should feel exciting — not overwhelming — and that’s exactly the experi...",
  "agentLanguages": [
    "English"
  ],
  "agentSpecializations": [
    "contracts",
    "expert",
    "location",
    "negotiation",
    "sales",
    "relocation",
    "education",
    "advising",
    "multi family",
    "commercial",
    "new construction",
    "Full Listing Services",
    "Buyer representation",
    "luxury real estate",
    "Buyer's agent",
    "Seller's agent"
  ],
  "agentExperience": "15 years 5 months of experience",
  "agentType": "BUYER",
  "searchLocation": "Austin, TX",
  "sourceDomain": "realtor.com",
  "scrapedAt": "2026-06-20T20:52:07.829Z",
  "contentHash": "fe94bdda0d1c4417ffee2222627fcba22b513f3bd256858438958515390a1932",
  "trackedHash": "71ec024b89901e2891024b566eaa62a7fbeb3fce77464ab3d8b3d504685c6661"
}
```

### How to scrape Realtor.com Agents

1. Go to [Realtor.com Agents Scraper](https://apify.com/blackfalcondata/realtor-agents-scraper?fpr=1h3gvi) in Apify Console.
2. Configure the input.
3. Set `maxResults` to control how many results you need.
4. Click **Start** and wait for the run to finish.
5. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Extract property data from Realtor.com Agents for market research and competitive analysis.
- Use structured location data for regional analysis, mapping, and geo-targeting.
- Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
- Export clean, structured data to dashboards, spreadsheets, or data warehouses.
- Benchmark seller / dealer reputation using rating fields.

### How much does it cost to scrape Realtor.com Agents?

Realtor.com Agents Scraper uses [pay-per-event](https://docs.apify.com/platform/actors/paid-actors/pay-per-event) pricing. You pay a small fee when the run starts and then for each result that is actually produced.

- **Run start:** $0.003 per run
- **Per result:** $0.0012 per property record

Example costs:

- 10 results: **$0.015**
- 25 results: **$0.033**
- 100 results: **$0.12**
- 200 results: **$0.24**
- 500 results: **$0.6**

### FAQ

#### How many results can I get from Realtor.com Agents?

The number of results depends on the search query and available listings on Realtor.com Agents. Use the `maxResults` parameter to control how many results are returned per run.

#### Can I integrate Realtor.com Agents Scraper with other apps?

Yes. Realtor.com Agents Scraper works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use Realtor.com Agents Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use Realtor.com Agents Scraper through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode and `excludeEmptyFields` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape Realtor.com Agents?

This actor extracts publicly available data from Realtor.com Agents. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/realtor-agents-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [Idealista Scraper — Spain, Portugal & Italy](https://apify.com/blackfalcondata/idealista-scraper?fpr=1h3gvi) — Scrape idealista.com / .pt / .it property listings with prices, photos, GPS, agent phone numbers.
- [Immowelt Scraper — German Real Estate Listings](https://apify.com/blackfalcondata/immowelt-scraper?fpr=1h3gvi) — Scrape immowelt.de — one of Germany's largest residential property portals — and pull every active.
- [Metrocuadrado Scraper — Colombia Real Estate Listings](https://apify.com/blackfalcondata/metrocuadrado-scraper?fpr=1h3gvi) — Scrape Metrocuadrado property listings across Colombia with full pricing, price-per-m², area,.
- [Realtor Scraper — US Real Estate Listings & Property Data](https://apify.com/blackfalcondata/realtor-scraper?fpr=1h3gvi) — Scrape US real estate from realtor.com — for-sale, for-rent & recently-sold listings with price &.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi\&fp_sid=ctarich) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

# Actor input Schema

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

Fixed to agents for this actor.

## `agentLocations` (type: `array`):

One or more locations to find agents in: "City, ST" (e.g. "Austin, TX") or a ZIP code (e.g. "90210"). Each is searched independently.

## `agentType` (type: `string`):

Which side the agent represents.

## `agentLanguages` (type: `array`):

Filter by spoken language (e.g. "spanish", "mandarin").

## `enrichAgentContacts` (type: `boolean`):

Fetch each agent's full contact profile — direct & office phone, website, office address, license number, and social media. On by default.

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

Maximum agents to return (0 = full directory).

## `compact` (type: `boolean`):

Output only core agent fields (for AI-agent / MCP workflows).

## `excludeEmptyFields` (type: `boolean`):

Drop null / empty-string / empty-array fields from each record.

## `telegramToken` (type: `string`):

Telegram bot token (from @BotFather). Required for Telegram notifications.

## `telegramChatId` (type: `string`):

Telegram chat or channel ID where alerts are sent.

## `discordWebhookUrl` (type: `string`):

Discord incoming webhook URL.

## `slackWebhookUrl` (type: `string`):

Slack incoming webhook URL.

## `webhookUrl` (type: `string`):

Universal escape hatch for n8n / Make / Zapier / custom HTTP backends. Receives a JSON POST per run.

## `webhookHeaders` (type: `object`):

Additional HTTP headers sent with the generic webhook POST.

## `notificationLimit` (type: `integer`):

Maximum number of agents included in each notification message (1–20).

## `notifyOnlyChanges` (type: `boolean`):

Reserved for incremental agent monitoring (coming soon); has no effect in the current directory-snapshot mode.

## `appConnector` (type: `string`):

Optional. Pick a connected app under Settings → API & Integrations to receive your results. A run-summary is written to the connected app; support is best-effort as Apify expands its connector catalog.

## `mcpIssueTeam` (type: `string`):

Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one.

## Actor input object example

```json
{
  "mode": "agents",
  "agentLocations": [
    "Austin, TX"
  ],
  "agentType": "BUYER",
  "agentLanguages": [],
  "enrichAgentContacts": true,
  "maxResults": 10,
  "compact": false,
  "excludeEmptyFields": false,
  "notificationLimit": 5,
  "notifyOnlyChanges": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "agentLocations": [
        "Austin, TX"
    ],
    "agentLanguages": [],
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("blackfalcondata/realtor-agents-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 = {
    "agentLocations": ["Austin, TX"],
    "agentLanguages": [],
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("blackfalcondata/realtor-agents-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 '{
  "agentLocations": [
    "Austin, TX"
  ],
  "agentLanguages": [],
  "maxResults": 10
}' |
apify call blackfalcondata/realtor-agents-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Realtor.com Agents Scraper — Contacts & B2B Leads",
        "description": "Scrape realtor.com real-estate agents by US city or ZIP with full contacts: direct & office phone, agent & office website, office address, license number, and social media — plus broker, ratings, reviews, languages, and for-sale / recently-sold production stats. B2B agent lead generation.",
        "version": "0.1",
        "x-build-id": "rZjZZYUtDZvInaVzQ"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/blackfalcondata~realtor-agents-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-blackfalcondata-realtor-agents-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/blackfalcondata~realtor-agents-scraper/runs": {
            "post": {
                "operationId": "runs-sync-blackfalcondata-realtor-agents-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/blackfalcondata~realtor-agents-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-blackfalcondata-realtor-agents-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": {
                    "mode": {
                        "title": "⚙️ Mode",
                        "type": "string",
                        "description": "Fixed to agents for this actor.",
                        "default": "agents"
                    },
                    "agentLocations": {
                        "title": "📍 Locations",
                        "type": "array",
                        "description": "One or more locations to find agents in: \"City, ST\" (e.g. \"Austin, TX\") or a ZIP code (e.g. \"90210\"). Each is searched independently.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "agentType": {
                        "title": "🤝 Agent Type",
                        "enum": [
                            "BUYER",
                            "SELLER"
                        ],
                        "type": "string",
                        "description": "Which side the agent represents.",
                        "default": "BUYER"
                    },
                    "agentLanguages": {
                        "title": "🗣️ Languages",
                        "type": "array",
                        "description": "Filter by spoken language (e.g. \"spanish\", \"mandarin\").",
                        "items": {
                            "type": "string"
                        }
                    },
                    "enrichAgentContacts": {
                        "title": "📇 Enrich Agent Contacts",
                        "type": "boolean",
                        "description": "Fetch each agent's full contact profile — direct & office phone, website, office address, license number, and social media. On by default.",
                        "default": true
                    },
                    "maxResults": {
                        "title": "💯 Max Results",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum agents to return (0 = full directory).",
                        "default": 200
                    },
                    "compact": {
                        "title": "📦 Compact Output",
                        "type": "boolean",
                        "description": "Output only core agent fields (for AI-agent / MCP workflows).",
                        "default": false
                    },
                    "excludeEmptyFields": {
                        "title": "🧹 Exclude Empty Fields",
                        "type": "boolean",
                        "description": "Drop null / empty-string / empty-array fields from each record.",
                        "default": false
                    },
                    "telegramToken": {
                        "title": "🔑 Telegram Bot Token",
                        "type": "string",
                        "description": "Telegram bot token (from @BotFather). Required for Telegram notifications."
                    },
                    "telegramChatId": {
                        "title": "💬 Telegram Chat ID",
                        "type": "string",
                        "description": "Telegram chat or channel ID where alerts are sent."
                    },
                    "discordWebhookUrl": {
                        "title": "🎮 Discord Webhook URL",
                        "type": "string",
                        "description": "Discord incoming webhook URL."
                    },
                    "slackWebhookUrl": {
                        "title": "💼 Slack Webhook URL",
                        "type": "string",
                        "description": "Slack incoming webhook URL."
                    },
                    "webhookUrl": {
                        "title": "🪝 Generic Webhook URL",
                        "type": "string",
                        "description": "Universal escape hatch for n8n / Make / Zapier / custom HTTP backends. Receives a JSON POST per run."
                    },
                    "webhookHeaders": {
                        "title": "🪝 Webhook Headers (optional)",
                        "type": "object",
                        "description": "Additional HTTP headers sent with the generic webhook POST."
                    },
                    "notificationLimit": {
                        "title": "📊 Max Agents Per Notification",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Maximum number of agents included in each notification message (1–20).",
                        "default": 5
                    },
                    "notifyOnlyChanges": {
                        "title": "🔄 Notify Only New/Updated",
                        "type": "boolean",
                        "description": "Reserved for incremental agent monitoring (coming soon); has no effect in the current directory-snapshot mode.",
                        "default": false
                    },
                    "appConnector": {
                        "title": "📤 Send results to a connected app",
                        "type": "string",
                        "description": "Optional. Pick a connected app under Settings → API & Integrations to receive your results. A run-summary is written to the connected app; support is best-effort as Apify expands its connector catalog."
                    },
                    "mcpIssueTeam": {
                        "title": "🏷️ Issue tracker team",
                        "type": "string",
                        "description": "Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
