Carabain Digital Apify Actors

WebMD Reviews Scraper

WebMD Reviews Scraper exports the patient reviews of a doctor in WebMD's physician directory (doctor.webmd.com), with star rating, comment text, date, reviewer name and the doctor's reply. Medical practices and healthcare marketers use it to monitor provider reputation on one of the best-known US health sites.

Run it on ApifyCreate a free Apify account

The Apify Free plan includes $5 of credit every month, no credit card needed.

One review in your dataset
published_at
Publication date, ISO 8601 UTC
rating
Rating as 1-5 stars
author
Reviewer name as shown on WebMD
title
Review title, if the site has one
text
Review text
reply
The doctor's public reply
source_url
The WebMD URL that was scraped

and 2 more fields, see Output

Who it is for

Private practices, specialist clinics, health system communications teams and healthcare reputation agencies. The job is usually a regular look at what patients wrote about each doctor on staff.

What you can do with the data

Alert the practice to a bad review

Schedule a run per doctor with cutoff_date and filter the output on rating of 1 or 2. Send those rows to the practice manager through Slack or email so someone can follow up quickly.

Onboard a new agency client

When an agency takes on a practice, it can export the full WebMD history of each doctor, one run per profile. That gives a baseline rating and review count to report progress against.

Study patient experience by region

Researchers can collect the reviews of doctors in the same specialty across several states. With the AI review analysis add-on each comment gets a sentiment score and topics, ready for comparison without manual coding.

Merge with other review sites

The output uses the same core fields as the other review scrapers in this collection. Stack the WebMD export with reviews from other doctor directories to see a provider's ratings everywhere in one table.

Tutorial

How to send new 1 and 2 star WebMD reviews to your team

  1. Create a free Apify account and click the Run it on Apify button on this page.
  2. Find the doctor on doctor.webmd.com and copy the profile address. It starts with https://doctor.webmd.com/doctor/ and often ends in -overview.
  3. Paste it into url. Set cutoff_date to today's date so the first scheduled run picks up only reviews from then on.
  4. Keep the default proxyConfiguration with the US residential proxy.
  5. Save it as a task and schedule it daily. Add a webhook or the Slack integration, and filter on rating in your automation so only the low scores reach the team. Move cutoff_date forward, or deduplicate on id, so a review is not sent twice.

Examples

Export WebMD reviews to CSV or Excel

Download the newest 100 reviews of a doctor on WebMD: star rating, review text, date, reviewer name and the doctor's reply. Replace the example URL with any doctor's WebMD page and export the result to CSV, Excel or JSON.

{
  "url": "https://doctor.webmd.com/doctor/anne-allen-39dc0b60-ef7b-47d0-9893-e7ac395a44db-overview",
  "limit": 100
}
Run this input from the Apify API (curl)
curl -X POST 'https://api.apify.com/v2/acts/carabain-digital~webmd-reviews/run-sync-get-dataset-items' \
  -H "Authorization: Bearer $APIFY_TOKEN" -H 'Content-Type: application/json' \
  -d '{"url": "https://doctor.webmd.com/doctor/anne-allen-39dc0b60-ef7b-47d0-9893-e7ac395a44db-overview", "limit": 100}'
Run it from Python
# pip install apify-client
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("carabain-digital/webmd-reviews").call(run_input={'url': 'https://doctor.webmd.com/doctor/anne-allen-39dc0b60-ef7b-47d0-9893-e7ac395a44db-overview', 'limit': 100})
items = client.dataset(run["defaultDatasetId"]).list_items().items

Monitor new WebMD reviews of your practice

Fetch the 20 newest reviews of a doctor on WebMD. Schedule this task daily or weekly to track new ratings and replies, send them to Google Sheets, Slack or your own app, and pay only for the reviews you fetch.

{
  "url": "https://doctor.webmd.com/doctor/anne-allen-39dc0b60-ef7b-47d0-9893-e7ac395a44db-overview",
  "limit": 20
}
Run this input from the Apify API (curl)
curl -X POST 'https://api.apify.com/v2/acts/carabain-digital~webmd-reviews/run-sync-get-dataset-items' \
  -H "Authorization: Bearer $APIFY_TOKEN" -H 'Content-Type: application/json' \
  -d '{"url": "https://doctor.webmd.com/doctor/anne-allen-39dc0b60-ef7b-47d0-9893-e7ac395a44db-overview", "limit": 20}'
Run it from Python
# pip install apify-client
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("carabain-digital/webmd-reviews").call(run_input={'url': 'https://doctor.webmd.com/doctor/anne-allen-39dc0b60-ef7b-47d0-9893-e7ac395a44db-overview', 'limit': 20})
items = client.dataset(run["defaultDatasetId"]).list_items().items

Set APIFY_TOKEN to your token from Apify Console, Settings, Integrations. The curl call waits up to 5 minutes; for bigger runs see running from the API and Python. AI agents can call it through the Apify MCP server: https://mcp.apify.com/?actors=carabain-digital/webmd-reviews.

Input

FieldTypeWhat it does
url
WebMD doctor URL
stringThe doctor profile (doctor.webmd.com/doctor/...), e.g. https://doctor.webmd.com/doctor/anne-allen-39dc0b60-ef7b-47d0-9893-e7ac395a44db-overview
limit
Max reviews
integerStop after this many reviews (newest first). Leave empty for all.
cutoff_date
Only reviews after
stringSkip reviews published before this date (YYYY-MM-DD). Useful for incremental runs.
aiAnalysis
AI review analysis (add-on)
booleanAdds sentiment (positive, neutral, negative or mixed), a score from -1 to 1, up to 5 topics and a one-line summary to each review with text, using AI. Charged as the AI review analysis add-on per analysed review; reviews without text are not charged.
Default: false

Output

One dataset item per review. Export the dataset as JSON, CSV, Excel or XML from Apify Console or the API.

FieldTypeDescription
idstringWebMD review ID, stable across runs
authorstringReviewer name as shown on WebMD
ratingintegerRating as 1-5 stars
titlestringReview title, if the site has one
textstringReview text
published_atstringPublication date, ISO 8601 UTC
replystringThe doctor's public reply
replied_atstringReply date, ISO 8601 UTC, if published
source_urlstringThe WebMD URL that was scraped

Frequently asked questions

How much does it cost to scrape WebMD reviews?

$2 per 1,000 reviews. A group of 25 doctors with 60 reviews each is 1,500 reviews, or $3. The AI review analysis add-on is $3 per 1,000 reviews that have text.

Do I need a proxy or a WebMD account?

You need no account. WebMD blocks data-center IPs, so a US residential proxy is switched on by default and its cost is in the price. A blocked request gets one retry from another IP.

Which WebMD link do I use?

The doctor's profile in the physician directory, under doctor.webmd.com/doctor/. Other WebMD pages, such as search results or health articles, are not doctor profiles; the run then stops with an "Invalid input" or "not found" message.

How do I avoid paying for the same reviews twice?

Move cutoff_date forward on each run so you get only newer reviews. Each review also carries a stable id if you want to deduplicate yourself.

What data is not included?

The doctor's address, insurance or specialty are not part of the output; it holds the reviews only. When WebMD shows no reply date, replied_at is empty.

Can I cover all doctors of a hospital in one run?

One run handles one profile. For a hospital, create a task per doctor, or loop over the profile links with the Apify API.

Is it legal to scrape WebMD reviews?

The Actor reads only patient reviews that WebMD publishes openly. Reviewer names and health remarks can be personal data under laws such as the GDPR, so handle them carefully and check your use case with a lawyer. See Is web scraping legal?.

All 60 customer reviews Actors