# WebMD Scraper — Doctors, Reviews & Provider Leads (`scrapesage/webmd-scraper`) Actor

Scrape WebMD doctors & healthcare providers by specialty and location. Get NPI, specialties, ratings, patient reviews, board certifications, accepted insurance, all practice locations, phones, fax & leads — plus optional practice-email enrichment and monitoring. No login, no key, no browser.

- **URL**: https://apify.com/scrapesage/webmd-scraper.md
- **Developed by:** [Scrape Sage](https://apify.com/scrapesage) (community)
- **Categories:** Lead generation, Other, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $12.00 / 1,000 provider scrapeds

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

## WebMD Scraper — Doctors, Reviews & Provider Leads (NPI, Insurance, Phones & Emails)

Extract **complete doctor & healthcare-provider data from the [WebMD](https://doctor.webmd.com) physician directory** — search by **specialty and location** (or paste profile URLs) and get the **richest provider dataset in the category**: NPI, specialty and sub-specialty expertise, star rating and review count, biography, years of experience, board certifications, state licenses, languages, conditions treated, procedures performed, accepted insurance, every practice location with **phone, fax and geo**, hospital affiliations and patient-experience scores. Optionally turn each provider into a **ready-to-contact lead** by crawling their practice website for **emails, phone numbers and social links**.

No login, no API key, no browser — fast JSON extraction straight from WebMD's own page data, reliable through the default Apify proxy.

### Why this WebMD scraper?

Most "doctor scrapers" return a name, a rating and not much else. This actor reads WebMD's full embedded provider state and ships **every field**, then adds the lead-gen layer competitors skip.

| Data | Typical scrapers | This actor |
|---|---|---|
| NPI number | ❌ | ✅ |
| Specialty + sub-specialty expertise | partial | ✅ |
| Star rating + review count | ✅ | ✅ |
| Full patient reviews (text, rating, date, reply) | ❌ | ✅ opt-in |
| Biography / years of experience | ❌ | ✅ |
| Board certifications + state licenses | ❌ | ✅ |
| Conditions treated + procedures performed | ❌ | ✅ |
| Accepted insurance (named plans) + Medicare/Medicaid | ❌ | ✅ |
| Every practice location (address, **phone, fax**, hours, geo) | partial | ✅ |
| Hospital affiliations | ❌ | ✅ |
| Practice **website + contact emails** (lead wedge) | ❌ | ✅ opt-in |
| Lead score (0–100) | ❌ | ✅ |
| Monitor mode — only new providers | ❌ | ✅ |

### Use cases

- **Healthcare lead generation** — medical practices buy EHR/RCM software, medical supplies, marketing, staffing, insurance and equipment. Score providers by reputation and contactability (`leadScore`) and reach them directly (`phone`, `fax`, `contactEmails`).
- **Provider network & directory building** — power referral apps, "find a doctor" tools and insurance directories with structured, NPI-keyed provider data for any specialty and city.
- **Market & competitive intelligence** — map provider density, ratings, accepted insurance and accepting-new-patients status by specialty and metro.
- **Reputation & review monitoring** — track ratings and patient reviews for a specialty or a specific provider over time.
- **Recruiting** — find physicians by specialty, sub-specialty, location, languages and credentials.

### How to use

1. [Sign up for Apify](https://console.apify.com/sign-up) — the free plan is enough to try this actor.
2. Open the **WebMD Scraper**, enter **specialties** and **locations** (or paste WebMD URLs), and click **Start**.
3. Watch results stream into the dataset table.
4. **Export** as JSON, CSV, Excel, XML, or RSS — or pull results programmatically via the [Apify API](https://docs.apify.com/api/v2).

### Input

```json
{
    "specialties": ["cardiovascular-disease", "Dentist"],
    "locations": ["texas/austin", "Miami, FL"],
    "maxResults": 200,
    "acceptingNewPatientsOnly": true,
    "includeProviderDetails": true,
    "includeReviews": true,
    "enrichPracticeEmails": true,
    "monitorMode": false
}
````

- **specialties** — friendly names (`Cardiology`, `Dentist`, `OB-GYN`, `Psychiatry`) or WebMD slugs (`cardiovascular-disease`, `family-medicine`, `dermatology`, `pediatrics`, `psychology`, `orthopaedic-surgery`, …). Combined with every location.
- **locations** — `state/city` (`texas/austin`), a plain `City, ST` (`Austin, TX`), or a whole state (`texas`). City-level searches return the most providers.
- **startUrls** — direct WebMD doctor profiles (`/doctor/…-overview`) or browse pages (`/providers/specialty/…`).
- **acceptingNewPatientsOnly / minRating / gender** — filters.
- **includeProviderDetails** *(default true)* — fetch each profile for the full record (bio, certifications, licenses, languages, conditions, procedures, insurance, all locations, hospital affiliations). One extra page per provider.
- **includeReviews** *(default false)* — emit patient reviews as separate records.
- **enrichPracticeEmails** *(default false)* — crawl the provider's own practice website (home + contact/about) for emails, phones and socials. WebMD never exposes emails — this is the only way to get them.
- **monitorMode** *(default false)* — remember providers from previous runs and emit only **new** ones next time. Perfect with [Schedules](https://docs.apify.com/platform/schedules).

### Output

One record per provider (`type: "provider"`), plus optional review records (`type: "review"`):

```json
{
    "type": "provider",
    "npi": "1285849406",
    "fullName": "Francia Rojas",
    "gender": "female",
    "degree": "MD",
    "specialty": "Cardiovascular Disease",
    "specialties": ["Cardiovascular Disease", "Electrophysiology"],
    "expertise": ["Electrophysiology"],
    "bio": "Dr. Francia Rojas is a board-certified cardiac electrophysiologist…",
    "rating": 4,
    "reviewCount": 4,
    "acceptsNewPatients": true,
    "boardCertifications": [{ "board": "Cardiovascular Disease", "issuer": "American Board of Internal Medicine", "year": "2026" }],
    "languages": ["Spanish", "English"],
    "conditionsTreated": ["Atrial fibrillation and atrial flutter", "Bradycardia (slow heartbeat)"],
    "proceduresPerformed": ["Cardiac devices implantation (pacemakers, defibrillators, loop recorders)"],
    "insuranceCount": 29,
    "insuranceAccepted": ["Aetna", "Cigna", "Humana", "UnitedHealthcare"],
    "acceptsMedicare": true,
    "acceptsMedicaid": true,
    "practiceName": "CLS Health Electrophysiology",
    "city": "Sugar Land",
    "state": "TX",
    "postalCode": "77478",
    "phone": "3463476654",
    "fax": null,
    "officeCount": 4,
    "offices": [{ "name": "CLS Health Electrophysiology", "street": "14100 Southwest Fwy Ste 500", "city": "Sugar Land", "state": "TX", "postalCode": "77478", "phone": "3463476654", "latitude": 29.6171, "longitude": -95.60594, "acceptsMedicare": true }],
    "hospitalAffiliations": [{ "name": "Houston Methodist Sugar Land Hospital", "url": "https://doctor.webmd.com/hospital/…" }],
    "patientExperience": [{ "aspect": "Listened and answered questions", "didWell": 2, "needsImprovement": 0 }],
    "website": "https://providers.example.health/francia-rojas",
    "contactEmails": ["info@clshealth.com"],
    "profileUrl": "https://doctor.webmd.com/doctor/francia-rojas-delgado-…-overview",
    "leadScore": 63,
    "searchSpecialty": "cardiovascular-disease",
    "searchLocation": "texas/austin",
    "scrapedAt": "2026-06-15T00:00:00.000Z"
}
```

### Automate & schedule

Run this actor on autopilot and pull results into your own stack:

- **[Apify API](https://docs.apify.com/api/v2)** — start runs, fetch datasets, and manage schedules over REST.
- **[apify-client for JavaScript](https://docs.apify.com/api/client/js/)** and **[apify-client for Python](https://docs.apify.com/api/client/python/)** — official SDKs.
- **[Schedules](https://docs.apify.com/platform/schedules)** — run it daily/weekly with `monitorMode` to capture only newly listed providers; perfect for lead pipelines and directory refreshes.
- **[Webhooks](https://docs.apify.com/platform/integrations/webhooks)** — trigger downstream actions (CRM import, Slack alert, email sequence) the moment a run finishes.

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'MY_APIFY_TOKEN' });

const run = await client.actor('scrapesage/webmd-scraper').call({
    specialties: ['cardiovascular-disease'],
    locations: ['texas/austin'],
    maxResults: 200,
    enrichPracticeEmails: true,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Got ${items.length} providers & leads`);
```

### Integrate with any app

Connect the dataset to 5,000+ apps — no code required:

- **[Make](https://docs.apify.com/platform/integrations/make)** — multi-step automation scenarios.
- **[Zapier](https://docs.apify.com/platform/integrations/zapier)** — push new provider leads straight into your CRM.
- **[Slack](https://docs.apify.com/platform/integrations/slack)** — get notified when a monitored search finds new providers.
- **[Google Drive / Sheets](https://docs.apify.com/platform/integrations/drive)** — auto-export every run to a spreadsheet.
- **[Airbyte](https://docs.apify.com/platform/integrations/airbyte)** — pipe results into your data warehouse.
- **[GitHub](https://docs.apify.com/platform/integrations/github)** — trigger runs from commits or releases.

### Use with AI assistants (MCP)

The output is clean, LLM-ready JSON. Call this actor from Claude, ChatGPT, or any agent framework through the **[Apify MCP server](https://docs.apify.com/platform/integrations/mcp)** — ask your assistant to "find cardiologists in Austin accepting new patients and list their practice contacts" and let it run this scraper for you.

### More scrapers from scrapesage

Build a complete **lead-gen stack** with our other actors:

- **[Healthgrades Scraper](https://apify.com/scrapesage/healthgrades-scraper)** — doctors, reviews & provider leads from Healthgrades (the perfect companion to this WebMD actor).
- **[Companies House Scraper](https://apify.com/scrapesage/companies-house-scraper)** — UK companies, directors & PSCs.
- **[SAM.gov Scraper](https://apify.com/scrapesage/sam-gov-scraper)** — federal contract opportunities & contacts.
- **[Eventbrite Scraper](https://apify.com/scrapesage/eventbrite-scraper)** — events + organizer leads.
- **[LinkedIn Jobs Scraper](https://apify.com/scrapesage/linkedin-jobs-scraper)** — job postings as hiring-intent signals.
- **[Product Hunt Scraper](https://apify.com/scrapesage/product-hunt-scraper)** — launches, makers & leads.
- **[Apple Podcasts Scraper](https://apify.com/scrapesage/apple-podcasts-scraper)** — shows, episodes & host leads.
- **[Google Play Scraper](https://apify.com/scrapesage/google-play-scraper)** — apps, reviews & developer leads.

### Tips

- **Specialty slugs**: friendly names are auto-mapped (`Cardiology` → `cardiovascular-disease`), but exact WebMD slugs always work. Browse [doctor.webmd.com/providers/specialty](https://doctor.webmd.com/providers/specialty) for the full list.
- **Exhaust a metro**: WebMD returns ~60 providers per page and paginates automatically; raise `maxResultsPerSearch` to go deeper, or split by specialty.
- **Cost control**: profile fetches and email enrichment are per-provider — keep `includeProviderDetails` on (cheap, one page) and turn on `enrichPracticeEmails` only when you need emails.
- **Proxies**: the default Apify Proxy (datacenter) is enough — WebMD serves clean pages to it.

### FAQ

**How do I scrape doctors for a specific city?** Put `state/city` in `locations` (e.g. `texas/austin`) or a plain `Austin, TX`, and add one or more `specialties`. City-level searches return the most providers.

**Where do the emails come from?** Never from WebMD (it doesn't publish emails). With `enrichPracticeEmails` on, the actor visits the provider's own practice website and extracts publicly listed contact emails — the same thing a human visitor would see.

**Can I export to Google Sheets, CSV, or Excel?** Yes — one click in the dataset view, or automatically on every run via the [Google Drive integration](https://docs.apify.com/platform/integrations/drive).

**How do I monitor new providers automatically?** Turn on `monitorMode` and create a [Schedule](https://docs.apify.com/platform/schedules). Each run emits only providers not seen before — it does not conflict with the scheduler.

**Is scraping WebMD legal?** This actor collects publicly available data only. You are responsible for using the data in compliance with applicable laws (GDPR/CCPA for personal data) and WebMD's terms.

**A field is null — why?** Some providers genuinely don't publish a website, fax, or full bio. Fields are `null` only when the data doesn't exist, not because the scraper skipped them.

### Need help?

Open an issue on the actor's **Issues** tab, or visit the [Apify help center](https://help.apify.com/). Feature requests are welcome — this actor is actively maintained.

# Actor input Schema

## `specialties` (type: `array`):

Medical specialties to browse, combined with every location. Friendly names work (e.g. Cardiology, Dentist, OB-GYN) and map to WebMD slugs like cardiovascular-disease, family-medicine, dermatology, pediatrics, psychiatry, psychology, dentistry. Full list at doctor.webmd.com/providers/specialty.

## `locations` (type: `array`):

Where to search. Use <code>state/city</code> (<code>texas/austin</code>, <code>california/los-angeles</code>), a plain <code>City, ST</code> (<code>Austin, TX</code>), or a whole state (<code>texas</code>, <code>TX</code>). City-level searches return the most providers.

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

Direct WebMD URLs: doctor profiles (<code>/doctor/...-overview</code>) or browse/directory pages (<code>/providers/specialty/...</code>). Used in addition to specialties + locations.

## `acceptingNewPatientsOnly` (type: `boolean`):

Only include providers currently accepting new patients.

## `minRating` (type: `integer`):

Only include providers with at least this WebMD star rating (1–5). 0 = no minimum.

## `gender` (type: `string`):

Filter providers by gender.

## `maxResultsPerSearch` (type: `integer`):

Maximum providers to collect per specialty × location combination.

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

Maximum number of providers to scrape across all searches.

## `includeProviderDetails` (type: `boolean`):

Fetch each profile for the full record: biography, sub-specialty expertise, years of experience, board certifications, state licenses, languages, conditions treated, procedures, accepted insurance, all practice locations and hospital affiliations. One extra page per provider.

## `includeReviews` (type: `boolean`):

Also emit each provider's patient reviews as separate records (star rating, text, author, date). Requires the profile fetch.

## `maxReviewsPerProvider` (type: `integer`):

Cap the number of review records emitted per provider.

## `enrichPracticeEmails` (type: `boolean`):

Crawl each provider's own practice website (home + contact/about, up to 3 pages) for contact emails, phone numbers and social links. WebMD never exposes emails — this is the only way to get them.

## `deduplicateProviders` (type: `boolean`):

Skip providers already emitted in this run (by NPI / provider id).

## `monitorMode` (type: `boolean`):

Remember providers seen in previous runs (in a named key-value store) and emit only NEW ones next time. Pair with Apify Schedules to track newly listed providers — it does not conflict with the scheduler.

## `monitorStoreName` (type: `string`):

Key-value store name used to remember seen providers across runs.

## `maxConcurrency` (type: `integer`):

Maximum parallel page fetches.

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

Proxies to use. The default Apify Proxy (datacenter) is enough — WebMD serves clean pages to it.

## Actor input object example

```json
{
  "specialties": [
    "cardiovascular-disease"
  ],
  "locations": [
    "texas/austin"
  ],
  "acceptingNewPatientsOnly": false,
  "minRating": 0,
  "gender": "any",
  "maxResultsPerSearch": 60,
  "maxResults": 100,
  "includeProviderDetails": true,
  "includeReviews": false,
  "maxReviewsPerProvider": 25,
  "enrichPracticeEmails": false,
  "deduplicateProviders": true,
  "monitorMode": false,
  "monitorStoreName": "webmd-monitor",
  "maxConcurrency": 6,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All scraped records in the default dataset. Provider rows carry the full profile, ratings, specialties, board certifications, insurance, practice locations, phones, lead data and enrichment; review rows carry their own fields.

# 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 = {
    "specialties": [
        "cardiovascular-disease"
    ],
    "locations": [
        "texas/austin"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapesage/webmd-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 = {
    "specialties": ["cardiovascular-disease"],
    "locations": ["texas/austin"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapesage/webmd-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 '{
  "specialties": [
    "cardiovascular-disease"
  ],
  "locations": [
    "texas/austin"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapesage/webmd-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "WebMD Scraper — Doctors, Reviews & Provider Leads",
        "description": "Scrape WebMD doctors & healthcare providers by specialty and location. Get NPI, specialties, ratings, patient reviews, board certifications, accepted insurance, all practice locations, phones, fax & leads — plus optional practice-email enrichment and monitoring. No login, no key, no browser.",
        "version": "0.1",
        "x-build-id": "5kRhZdy5VrHUWnEHg"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapesage~webmd-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapesage-webmd-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/scrapesage~webmd-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scrapesage-webmd-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/scrapesage~webmd-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapesage-webmd-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": {
                    "specialties": {
                        "title": "Specialties",
                        "type": "array",
                        "description": "Medical specialties to browse, combined with every location. Friendly names work (e.g. Cardiology, Dentist, OB-GYN) and map to WebMD slugs like cardiovascular-disease, family-medicine, dermatology, pediatrics, psychiatry, psychology, dentistry. Full list at doctor.webmd.com/providers/specialty.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "locations": {
                        "title": "Locations",
                        "type": "array",
                        "description": "Where to search. Use <code>state/city</code> (<code>texas/austin</code>, <code>california/los-angeles</code>), a plain <code>City, ST</code> (<code>Austin, TX</code>), or a whole state (<code>texas</code>, <code>TX</code>). City-level searches return the most providers.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Direct WebMD URLs: doctor profiles (<code>/doctor/...-overview</code>) or browse/directory pages (<code>/providers/specialty/...</code>). Used in addition to specialties + locations.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "acceptingNewPatientsOnly": {
                        "title": "Accepting new patients only",
                        "type": "boolean",
                        "description": "Only include providers currently accepting new patients.",
                        "default": false
                    },
                    "minRating": {
                        "title": "Minimum rating",
                        "minimum": 0,
                        "maximum": 5,
                        "type": "integer",
                        "description": "Only include providers with at least this WebMD star rating (1–5). 0 = no minimum.",
                        "default": 0
                    },
                    "gender": {
                        "title": "Gender",
                        "enum": [
                            "any",
                            "female",
                            "male"
                        ],
                        "type": "string",
                        "description": "Filter providers by gender.",
                        "default": "any"
                    },
                    "maxResultsPerSearch": {
                        "title": "Max results per search",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum providers to collect per specialty × location combination.",
                        "default": 60
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of providers to scrape across all searches.",
                        "default": 100
                    },
                    "includeProviderDetails": {
                        "title": "Include full provider profiles",
                        "type": "boolean",
                        "description": "Fetch each profile for the full record: biography, sub-specialty expertise, years of experience, board certifications, state licenses, languages, conditions treated, procedures, accepted insurance, all practice locations and hospital affiliations. One extra page per provider.",
                        "default": true
                    },
                    "includeReviews": {
                        "title": "Include patient reviews",
                        "type": "boolean",
                        "description": "Also emit each provider's patient reviews as separate records (star rating, text, author, date). Requires the profile fetch.",
                        "default": false
                    },
                    "maxReviewsPerProvider": {
                        "title": "Max reviews per provider",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Cap the number of review records emitted per provider.",
                        "default": 25
                    },
                    "enrichPracticeEmails": {
                        "title": "Enrich practice emails from their website",
                        "type": "boolean",
                        "description": "Crawl each provider's own practice website (home + contact/about, up to 3 pages) for contact emails, phone numbers and social links. WebMD never exposes emails — this is the only way to get them.",
                        "default": false
                    },
                    "deduplicateProviders": {
                        "title": "Deduplicate providers",
                        "type": "boolean",
                        "description": "Skip providers already emitted in this run (by NPI / provider id).",
                        "default": true
                    },
                    "monitorMode": {
                        "title": "Monitor mode (only new providers)",
                        "type": "boolean",
                        "description": "Remember providers seen in previous runs (in a named key-value store) and emit only NEW ones next time. Pair with Apify Schedules to track newly listed providers — it does not conflict with the scheduler.",
                        "default": false
                    },
                    "monitorStoreName": {
                        "title": "Monitor store name",
                        "type": "string",
                        "description": "Key-value store name used to remember seen providers across runs.",
                        "default": "webmd-monitor"
                    },
                    "maxConcurrency": {
                        "title": "Max concurrency",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Maximum parallel page fetches.",
                        "default": 6
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Proxies to use. The default Apify Proxy (datacenter) is enough — WebMD serves clean pages to it.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
