# Vezeeta Doctors Scraper (`black_rose/vezeeta-doctors-scraper`) Actor

Extract structured doctor and clinic data from `Vezeeta` listings and profiles. Handles pagination and returns specialties, locations, contacts, fees, ratings, and profile URLs in JSON. Supports start URLs, limit, and proxy configuration.

- **URL**: https://apify.com/black_rose/vezeeta-doctors-scraper.md
- **Developed by:** [Black Rose](https://apify.com/black_rose) (community)
- **Categories:** Automation, Other
- **Security:** Full permissions
- **Stats:** 18 total users, 0 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

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

## Vezeeta Doctors Scraper

This actor extracts doctors and clinic data from [Vezeeta](https://www.vezeeta.com/). It allows you to search and collect structured information for doctors, specialties, locations, and profiles.

![Vezeeta Doctors Cover](https://i.postimg.cc/0yP4m8hk/vezeeta-doctors-cover.png)

This actor helps collect structured provider information for:

- Provider discovery and directory building
- Market research and analytics
- Availability and coverage insights

***

### Features

- ✅ Search doctors/clinics by keywords and specialties
- ✅ Extract detailed profile information
- ✅ Handle pagination for listings
- ✅ Works with proxies for geo-specific scenarios

***

### Great for

- **Healthcare marketplaces** aggregating doctors and clinics
- **Healthtech platforms** building directories or analytics
- **Researchers** studying provider coverage and availability

***

### Input schema

Use these fields to control the crawl.

Example of what you input:

```json
{
  "startUrls": [
    {
      "url": "https://saudi.vezeeta.com/en/doctor/dentistry/saudi-arabia?country=SA"
    }
  ],
  "limit": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

- **startUrls**: array of objects with a `url` to listing or profile pages to start from.
- **limit**: maximum number of items to fetch (stop after reaching this count).
- **proxyConfiguration**: your Apify proxy settings. Set `useApifyProxy` to true or provide custom proxy options.

***

### Output schema

Each dataset item represents a doctor profile with location/contact contexts and related metadata.

- **Key fields**:
  - **DoctorId**: integer
  - **DoctorName**: string
  - **Url**: string (public profile URL)
  - **MainSpeciality**: object with keys like `PreferredName`, `Url`, `Name`, `Key`
  - **SecondarySpecialties**: array of specialty objects
  - **Contacts**: array of clinic/location entries with fields such as `City`, `Area`, `Entity`, `BranchDisplayName`, `Address`, `Latitude`, `Longitude`, `Fees`, `FirstAppointment`
  - **DoctorRatingViewModel**: object with ratings and counts
  - Additional fields may include: `Gender`, `ImageUrl`, `Endorsements`, `Badges`, `ContactHealthPlans`, etc.

Example output item (truncated for brevity):

```json
{
  "DoctorId": 189428,
  "DoctorName": "Laila Alsahali",
  "UrlName": "doctor-laila-alsahali-dentistry",
  "Gender": "FEMALE",
  "ImageUrl": "https://cdn-dr-images.vezeeta.com/.../doctor-laila-alsahali-dentistry_20250715194517261.jpg",
  "MainSpeciality": {
    "PreferredName": "Dentist",
    "Url": "dentistry",
    "Name": "Dentistry",
    "Key": "spec00000006SA"
  },
  "SecondarySpecialties": [
    {
      "Url": "cosmetic-dentistry",
      "Name": "Cosmetic Dentistry",
      "Key": "spec00000008SA"
    }
  ],
  "Contacts": [
    {
      "Fees": "150",
      "BookingType": "physical",
      "Area": { "Name": "Al Suwaidi" },
      "City": { "Name": "Riyadh" },
      "Entity": { "Type": "Clinic", "Name": "Bella" },
      "BranchDisplayName": "Al Suwaidi",
      "Address": "Aisha bint Abi Bakr Street",
      "Latitude": 24.5854138,
      "Longitude": 46.6553467,
      "FirstAppointment": "2025-09-20T00:00:00"
    }
  ],
  "DoctorRatingViewModel": {
    "DoctorOverallRating": 4.5,
    "FacilityOverallRating": 4,
    "RatingsCount": 53
  },
  "Url": "https://saudi.vezeeta.com/en/dr/doctor-laila-alsahali-dentistry"
}
```

***

### Responsible use policy

This scraper is intended for legitimate, beneficial use cases. By using it, you agree to:

- Respect Vezeeta's Terms of Use and applicable laws/regulations.
- Avoid spamming, abusive behavior, or any activity that degrades the service for others.
- Honor robots and anti-automation measures where applicable and lawful.
- Refrain from collecting or using personal data in ways that violate privacy or data-protection laws.
- Use proxies and geolocation ethically and in compliance with provider and site policies.

This project is not affiliated with, endorsed, or sponsored by Vezeeta. You are solely responsible for how you use this tool.

# Actor input Schema

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

URLs to scrape

## `limit` (type: `integer`):

The maximum number of items to fetch

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

Your proxy configuration from Apify

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://saudi.vezeeta.com/en/doctor/dentistry/saudi-arabia?country=SA"
    }
  ],
  "limit": 10,
  "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 = {
    "startUrls": [
        {
            "url": "https://saudi.vezeeta.com/en/doctor/dentistry/saudi-arabia?country=SA"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("black_rose/vezeeta-doctors-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 = { "startUrls": [{ "url": "https://saudi.vezeeta.com/en/doctor/dentistry/saudi-arabia?country=SA" }] }

# Run the Actor and wait for it to finish
run = client.actor("black_rose/vezeeta-doctors-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 '{
  "startUrls": [
    {
      "url": "https://saudi.vezeeta.com/en/doctor/dentistry/saudi-arabia?country=SA"
    }
  ]
}' |
apify call black_rose/vezeeta-doctors-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,black_rose/vezeeta-doctors-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/yRD7Zl46cWp1ZTure/builds/uInTcpJEC009K9y4H/openapi.json
