# WebMD Doctor Scraper 👨‍⚕️ (`easyapi/webmd-doctor-scraper`) Actor

Scrape detailed doctor profiles from WebMD search results, including doctor information, specialties, ratings, reviews, locations and contact details. Perfect for healthcare provider research and analysis.

- **URL**: https://apify.com/easyapi/webmd-doctor-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** Lead generation, Integrations, Other
- **Features:** Limited permissions
- **Stats:** 71 total users, 1 monthly users, 100.0% runs succeeded, 5 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/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

## WebMD Doctor Scraper 👨‍⚕️

Extract comprehensive doctor information from WebMD search results. This actor helps you gather detailed data about healthcare providers, their practices, and patient reviews.

### 🔍 Features

- Scrapes detailed doctor profiles including:
  - Basic information (name, gender, NPI number)
  - Professional details (specialties, degrees, education)
  - Practice locations and contact information
  - Patient ratings and reviews
  - Insurance acceptance details
  - Profile photos and videos
  - Appointment booking links

### 💡 Use Cases

- Healthcare provider research and analysis
- Medical practice competitive analysis
- Patient satisfaction research
- Healthcare network development
- Insurance network analysis

### 📊 Output

The actor outputs JSON data containing detailed information for each doctor, including:

- Personal and professional information
- Practice locations and contact details
- Patient ratings and reviews
- Insurance acceptance
- Educational background
- Profile URLs and booking links

### 🔧 Input Parameters

The actor accepts the following input parameters:

- `searchUrls` (Required): Array of WebMD search result URLs to scrape
- `maxItems` (Optional): Maximum number of doctor profiles to scrape
- `proxyConfiguration` (Optional): Proxy settings for making requests

### 💪 Limitations

- Only works with WebMD doctor search result pages
- Rate limiting may affect scraping speed
- Some doctor profiles may have incomplete information

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "searchUrls": [
        "https://doctor.webmd.com/results?q=heart&d=40&newpatient=false&isvirtualvisit=false&entity=all&gender=all&exp=min_max&hospPromo=false&pt=33.9745,-118.2475&zc=90001&city=Los+Angeles&state=CA"
    ],
    "maxItems": 30
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "searchUrl": "https://doctor.webmd.com/results?q=heart&d=40&newpatient=false&isvirtualvisit=false&entity=all&gender=all&exp=min_max&hospPromo=false&pt=33.9745,-118.2475&zc=90001&city=Los+Angeles&state=CA",
        "providerid": "E4F63621-2D8F-4AA8-8D9E-3D7AB35FC879",
        "name": {
            "first": "Stephanie",
            "middle": "",
            "last": "Najarro",
            "full": "Stephanie Najarro",
            "suffix": ""
        },
        "gender": "F",
        "npi": "1376973354",
        "specialties": [
            "Family Medicine",
            "Internal Medicine",
            "Primary Care",
            "Preventative Medicine"
        ],
        "degrees": [
            "FNP-C"
        ],
        "education": {
            "graduationYear": 2019
        },
        "photos": {
            "profile": "https://img.lb.wbmdstatic.com/lhd/provider_prod/2882672_providerprofileimage_e57623f6-6795-4930-bbca-d01f2554100a.png"
        },
        "bio": "<p><b>What makes you passionate about being a healthcare provider?</b><br> I enjoy educating my patients about their health, preventive care, while being able to tailor care to each individual.</p><p><b>In your opinion, what should be the role of a primary care provider for a patient, taking into account both physical health and behavioral health needs?</b><br> Primary care providers are an essential part of the patient's healthcare team. Our goal is to support patient's in their health needs using a comprehensive and holistic approach to ensure their physical and behavioral health needs are supported. </p><p><b>Tell us a little bit about yourself. What do you like to do in your spare time?</b><br> I enjoy spending time with my loved ones and our 3 dogs, exploring new places, trying new food, and reading in front of the fire place or outdoors.</p><p>Patients love Circle Medical because we are a full-service primary care clinic, with over 350 board-certified providers offering easy-to-access care in 26 states. Circle Medical accepts most PPO insurance and Medicare, has no membership fees, and makes it easy to schedule same or next-day appointments that you can attend from anywhere. Our highly trained and friendly staff is accessible via our 4.8/5-star rated app, as well as three clinic locations, with more coming soon.</p><p>Circle medical offers a wide variety of appointment types including Annual Wellness Exams, Sleep Apnea treatment, Gender-Affirming care, Mental Healthcare, ADHD diagnosis and treatment, and much more. Circle Medical provides a safe space for all people to access exceptional quality, evidence-based healthcare. Book your appointment today.</p>",
        "ratings": {
            "reviewCount": 11,
            "averageRating": 5,
            "categoryRatings": {
                "c1": 5,
                "c2": 5,
                "c3": 5,
                "c4": 5
            }
        },
        "location": {
            "name": "Circle Medical",
            "address": "415 N Crescent Dr Ste 320",
            "city": "Beverly Hills",
            "state": "CA",
            "zipcode": "90210",
            "acceptsNewPatients": true,
            "acceptsMedicare": true,
            "acceptsMedicaid": false,
            "insurances": [
                "Aetna_48240_",
                "Blue Cross Blue Shield of Oklahoma_48335_",
                "Blue Cross Blue Shield_48310_",
                "Blue Shield of California_48359_",
                "CareFirst BlueCross BlueShield_48343_",
                "Meritain Health_48753_",
                "Moda Health_48768_",
                "Moda Health_48768_",
                "PacificSource Health Plans_48815_",
                "PacificSource Health Plans_48815_",
                "PacificSource Health Plans_48815_",
                "UnitedHealthcare_48957_"
            ],
            "coordinates": "34.0966,-118.412",
            "distance": "12.66"
        },
        "urls": {
            "profile": "https://doctor.webmd.com/doctor/stephanie-najarro-e4f63621-2d8f-4aa8-8d9e-3d7ab35fc879-overview",
            "appointment": "https://booking-v2.circlemedical.com/provider/?slug=stephanie-najarro-fnp-c?utm_source=webmd&utm_medium=web&utm_campaign=webmd&utm_id=referral",
            "website": "https://booking-v2.circlemedical.com/provider/?slug=stephanie-najarro-fnp-c?utm_source=webmd&utm_medium=web&utm_campaign=webmd&utm_id=referral"
        },
        "reviews": [
            {
                "rating": "5",
                "text": "Very compassionate and kind, Dr. Najarro has a very warm bedside manner. She is very professional and goes above and beyond to ensure quality care in everything she does. I felt very comfortable with her and wouldn’t hesitate to recommend her.",
                "date": "1/29/2025 12:38:35 PM",
                "isHighlighted": true
            },
            {
                "rating": "5",
                "text": "Very professional and insightful.",
                "date": "1/25/2024 1:30:13 PM",
                "isHighlighted": false
            },
            {
                "rating": "5",
                "text": "Very professional, kind & understanding. thank you.",
                "date": "1/24/2024 12:25:47 PM",
                "isHighlighted": false
            },
            {
                "rating": "5",
                "text": "Very thorough! Was very helpful",
                "date": "1/24/2024 12:24:08 PM",
                "isHighlighted": false
            },
            {
                "rating": "5",
                "text": "Very professional, listens great",
                "date": "1/23/2024 11:03:21 AM",
                "isHighlighted": false
            },
            {
                "rating": "5",
                "text": "Very thorough. Good listener. Excellent personality.",
                "date": "1/23/2024 11:02:49 AM",
                "isHighlighted": false
            },
            {
                "rating": "5",
                "text": "Warm, personable, and efficient! she makes care feel like a group project, and makes you feel like she’s on your side!",
                "date": "1/22/2024 2:27:54 PM",
                "isHighlighted": false
            },
            {
                "rating": "5",
                "text": "what an amazing provider. I’m incredibly impressed with Circle Medical now Just because of her. so much care and attention to detail",
                "date": "1/22/2024 2:27:23 PM",
                "isHighlighted": false
            },
            {
                "rating": "5",
                "text": "wonderful to work with. great listener and took time to hear all the issues before making a recommendation",
                "date": "1/19/2024 4:37:13 PM",
                "isHighlighted": false
            },
            {
                "rating": "5",
                "text": "wonderful. professional. thank you.",
                "date": "1/19/2024 4:36:45 PM",
                "isHighlighted": false
            },
            {
                "rating": "5",
                "text": "you are amazing",
                "date": "1/19/2024 4:36:16 PM",
                "isHighlighted": false
            }
        ]
    },
    ...
]
```

### Related Actors

- 👨‍⚕️ [Practo Doctor Scraper](https://apify.com/easyapi/practo-doctor-scraper) - Extract comprehensive doctor profiles from Practo.com with qualifications and practice details.
- 🏥 [Netmeds Product Scraper](https://apify.com/easyapi/netmeds-product-scraper) - Scrape detailed medical product information from Netmeds.com with prices and inventory status.
- 🔍 [Google Search Scraper](https://apify.com/easyapi/google-search-scraper) - Extract up to 5000 search results with flexible search options and language support.
- 📊 [Email & Contact Extractor From Any Web](https://apify.com/easyapi/email-contact-extractor-from-any-web) - Extract emails, phone numbers and social media profiles from any website.
- 🎯 [Discover & Verify Professional Emails](https://apify.com/easyapi/discover-verify-professional-emails) - Find and verify professional email addresses with smart pattern generation.
- 🔍 [Article Content Extractor](https://apify.com/easyapi/article-content-extractor) - Extract clean article content and metadata from any web page.
- 📚 [PubMed Search Scraper](https://apify.com/easyapi/pubmed-search-scraper) - Extract research papers and academic articles from PubMed with comprehensive metadata.
- 🔍 [Google Maps Scraper](https://apify.com/easyapi/google-maps-scraper) - Collect up to 5000 place results with detailed business information.
- 🏥 [Practo Doctor Scraper](https://apify.com/easyapi/practo-doctor-scraper) - Extract detailed healthcare provider information from Practo.com.
- 📱 [All-in-One Social Media Phone Number Scraper](https://apify.com/easyapi/all-in-one-social-media-phone-number-scraper) - Extract contact information across 30+ social platforms.
- 📧 [All-in-One Social Media Email Scraper](https://apify.com/easyapi/all-in-one-social-media-email-scraper) - Discover emails across 30+ social platforms.
- 🔍 [URL Metadata Crawler](https://apify.com/easyapi/url-metadata-crawler) - Extract comprehensive metadata from web pages.
- 🌍 [Countries Data Scraper](https://apify.com/easyapi/countries-data-scraper) - Extract comprehensive country information and geographical data.
- 🔍 [Keyword Discovery Tool](https://apify.com/easyapi/keyword-discovery-tool) - Discover new keyword ideas and uncover valuable search insights.
- 📊 [Text Sentiment Analysis](https://apify.com/easyapi/text-sentiment-analysis) - Analyze sentiment of text content with detailed breakdown reports.

# Actor input Schema

## `searchUrls` (type: `array`):

Array of WebMD doctor search result URLs to scrape

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

Maximum number of doctor profiles to scrape

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

Proxy settings for making requests

## Actor input object example

```json
{
  "searchUrls": [
    "https://doctor.webmd.com/results?q=heart&d=40&newpatient=false&isvirtualvisit=false&entity=all&gender=all&exp=min_max&hospPromo=false&pt=33.9745,-118.2475&zc=90001&city=Los+Angeles&state=CA"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

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

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/webmd-doctor-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/webmd-doctor-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call easyapi/webmd-doctor-scraper --silent --output-dataset

```

## MCP server setup

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

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/fmE8uy9CYrOBpIXy8/builds/xDTSIRAbh0jy7hKLO/openapi.json
