DEV Community

Henk de Vries
Henk de Vries

Posted on

How to scrape doctor reviews from Zocdoc, Healthgrades, Vitals and WebMD in one run

Doctor reviews are spread over several sites. If you build reputation reports, lead lists or review monitoring for healthcare clients, you normally write one scraper per site and then reshape each output. The Healthcare Reviews Scraper on Apify (listed from $1.68/1K) puts that work into one run.

This tutorial covers what it does, why you might use it, and how to call it from code.

What it does

The Actor scrapes doctor reviews from four sources: Zocdoc, Healthgrades, Vitals and WebMD. You paste your links in any mix. Each link is detected and scraped, so you do not have to say which site a URL belongs to.

The output is one dataset. Each review has:

  • a rating (1-5)
  • the review text
  • the date
  • the reply
  • the source

The Actor is in the Apify Store categories Lead Generation and Marketing.

Page: https://apify.com/carabain-digital/healthcare-reviews

Why use it

One run instead of four. Mixed links go into a single input, so you do not manage separate tools per site.

One dataset. Every row carries the same kind of fields (rating, text, date, reply, source). The source field tells you which site a review came from, so you can filter or group by it afterwards.

Useful for agencies and developers. A marketing bureau can compare how a practice or doctor appears across sites. A developer can feed the dataset into a dashboard or a database without writing per-site parsers.

A note on maturity: at the time of writing (13 November 2026), the Store page shows 1 total run and 1 total user, with 0 users in the last 30 days. It is a new Actor. Test it on a small set of links before you build a client workflow on it.

How to use it

Step 1: Collect your links

Gather the doctor profile links you want reviews for. You can mix Zocdoc, Healthgrades, Vitals and WebMD URLs in the same list.

Step 2: Run it in the Apify Console

Open the Actor page, paste your links into the input, and start the run. When it finishes, open the dataset. You can view it in the Console or export it.

Step 3: Run it from code

The Actor ID follows from the page URL: carabain-digital/healthcare-reviews.

Important: the facts I have do not list the input field names. The field startUrls below is a placeholder. Open the Actor's Input tab and use the exact field name shown there.

JavaScript, using apify-client:

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

// Replace the field name and URLs with the ones from the Actor's Input tab.
const input = {
  startUrls: [
    { url: 'https://www.zocdoc.com/...' },
    { url: 'https://www.healthgrades.com/...' },
    { url: 'https://www.vitals.com/...' },
    { url: 'https://doctor.webmd.com/...' },
  ],
};

const run = await client.actor('carabain-digital/healthcare-reviews').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();

console.log(`Got ${items.length} reviews`);
Enter fullscreen mode Exit fullscreen mode

Python, using apify-client:

import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])

# Replace the field name and URLs with the ones from the Actor's Input tab.
run_input = {
    "startUrls": [
        {"url": "https://www.zocdoc.com/..."},
        {"url": "https://www.healthgrades.com/..."},
        {"url": "https://www.vitals.com/..."},
        {"url": "https://doctor.webmd.com/..."},
    ]
}

run = client.actor("carabain-digital/healthcare-reviews").call(run_input=run_input)
items = client.dataset(run["defaultDatasetId"]).list_items().items

print(f"Got {len(items)} reviews")
Enter fullscreen mode Exit fullscreen mode

Step 4: Work with the dataset

Because every row has a rating, text, date, reply and source, simple analysis is short. The field names below (rating, source, reply) are assumed from the field list; check them against your first dataset.

from collections import defaultdict

by_source = defaultdict(list)
for item in items:
    by_source[item.get("source")].append(item.get("rating"))

for source, ratings in by_source.items():
    ratings = [r for r in ratings if r is not None]
    if ratings:
        print(source, round(sum(ratings) / len(ratings), 2), len(ratings))

# Reviews without a reply, e.g. for a response-gap report
unanswered = [i for i in items if not i.get("reply")]
print(f"{len(unanswered)} reviews have no reply")
Enter fullscreen mode Exit fullscreen mode

Practical tips

  • Start with a few links from each site and check the dataset before scaling up.
  • Keep the source field in your exports so clients can see where each review came from.
  • Check the pricing section on the Actor page before large runs. The listed price starts from $1.68/1K.

Summary

The Healthcare Reviews Scraper takes mixed Zocdoc, Healthgrades, Vitals and WebMD links, detects each one, and returns one dataset with rating, text, date, reply and source. It is new and lightly used so far, so verify the output on a small sample first. Then wire it into your reporting with the Apify client.

Top comments (0)