# Alodokter Doctor Directory Scraper (Indonesia) (`matakupanlabs/alodokter-doctor-directory-scraper`) Actor

Scrape Alodokter doctor directory: specialist doctors, medical qualifications, hospital affiliations, practice locations, consultation fees, and booking links across Indonesia.

- **URL**: https://apify.com/matakupanlabs/alodokter-doctor-directory-scraper.md
- **Developed by:** [uzi](https://apify.com/matakupanlabs) (community)
- **Categories:** Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

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

## Alodokter Doctor Directory Scraper (Indonesia)

Tested in the wild: pulls real doctor profiles — names, qualifications, hospitals,
consultation fees in IDR, ratings, and booking links — straight from Alodokter's
public specialist directory. $0 proxy, no browser, no captcha.

[![Apify Actor](https://img.shields.io/badge/Apify-Actor-blue)](https://apify.com/fauzimatakupan/alodokter-doctor-directory-scraper)
[![License](https://img.shields.io/badge/license-ISC-green)]()

Scrape medical specialist directory listings from [Alodokter](https://www.alodokter.com/cari-dokter),
Indonesia's leading healthcare platform. Extract doctor profiles, medical specialities,
affiliated hospitals/clinics, practice addresses, cities, consultation fees, and
appointment booking links.

### Pricing

Pay per event — you only pay for doctor records actually returned. Platform usage is included.

| Doctors | Cost |
|---|---|
| 100 | ~$0.10 |
| 1,000 | $1.00 |
| 10,000 | $10.00 |

Failed pages and empty runs cost almost nothing (a tiny $0.0005 start fee).

### Example tasks

Try it without configuring anything — pre-configured runs against live specialities:

- [Dokter Penyakit Dalam — Jakarta](https://apify.com/fauzimatakupan/alodokter-doctor-directory-scraper/dokter-penyakit-dalam-jakarta)
- [Dokter Anak — Semarang](https://apify.com/fauzimatakupan/alodokter-doctor-directory-scraper/dokter-anak-semarang)
- [Dokter Jantung (Kardiologi) — Konsultasi](https://apify.com/fauzimatakupan/alodokter-doctor-directory-scraper/kardiologi-jasa-konsultasi)

Open one, press *Start*, and inspect the output before writing your own input.

### Features

- **Specialist directory data** — doctor full name, professional title (Sp.PD, Sp.A,
  Sp.PD-KKV, …), medical speciality, and profile photo.
- **Hospital & location** — affiliated hospital/clinic name, full address, parsed city/regency.
- **Pricing & booking** — consultation fee (IDR, normalized), rating percentage,
  total ratings, booking count, and direct canonical booking URLs.
- **Robots.txt compliant** — strictly follows Alodokter's `Disallow: /*?` by using pure
  path-based routing without query strings.
- **Smart speciality normalization** — colloquial Indonesian terms (`anak`, `kandungan`,
  `kulit`, `tht`, `jantung`) auto-mapped to canonical medical slugs (`pediatri`,
  `ginekologi`, `kulit-dan-kelamin`, `tht-kl`, `kardiologi`).
- **Deduplication** — doctors appearing in multiple specialities are deduplicated by `skuId`.
- **Fast & lightweight** — 100% headless HTTP; zero browser overhead; direct datacenter
  connection ($0 proxy).

### Note on pagination & data volume

Alodokter renders ~10 featured doctors per speciality listing page in SSR. Because
`robots.txt` disallows query-string URLs, this scraper does not fetch `?page=2`.
Each speciality yields up to 10 verified doctors; provide 10–20 speciality slugs to
collect 100–200 unique records.

### Supported medical specialities

| Speciality | Canonical Slug | Aliases Accepted |
|---|---|---|
| Dokter Penyakit Dalam | `penyakit-dalam` | `penyakit-dalam`, `dokter-penyakit-dalam`, `internis` |
| Dokter Anak | `pediatri` | `anak`, `dokter-anak`, `pediatri` |
| Dokter Kandungan & Kebidanan | `ginekologi` | `kandungan`, `dokter-kandungan`, `kebidanan`, `ginekologi` |
| Dokter Kulit & Kelamin | `kulit-dan-kelamin` | `kulit`, `dokter-kulit`, `dermatologi` |
| Dokter THT | `tht-kl` | `tht`, `dokter-tht` |
| Dokter Jantung | `kardiologi` | `jantung`, `dokter-jantung`, `kardiologi` |
| Dokter Mata | `optalmologi` | `mata`, `dokter-mata` |
| Dokter Paru | `pulmonologi` | `paru`, `dokter-paru` |
| Dokter Gigi & Mulut | `gigi-dan-mulut` | `gigi`, `dokter-gigi` |
| Dokter Saraf | `neurologi` | `saraf`, `dokter-saraf` |
| Dokter Jiwa | `psikiatri` | `jiwa`, `psikiater`, `dokter-jiwa` |
| Dokter Bedah Umum | `bedah-umum` | `bedah`, `bedah-umum` |
| Dokter Bedah Tulang | `ortopedi` | `tulang`, `ortopedi` |
| Dokter Urologi | `urologi` | `urologi` |
| Dokter Kanker | `onkologi` | `onkologi` |

### Input configuration

| Parameter | Type | Default | Description |
|---|---|---|---|
| `specialities` | `array` | `["penyakit-dalam", "pediatri"]` | Slugs or Indonesian names of specialities to scrape. |
| `maxDoctors` | `integer` | `100` | Maximum doctor records to collect. |
| `proxyConfiguration` | `object` | `{"useApifyProxy": false}` | Optional Apify proxy configuration. |

#### Sample input

```json
{
  "specialities": ["penyakit-dalam", "pediatri", "kulit-dan-kelamin", "kardiologi"],
  "maxDoctors": 50
}
```

### Output dataset schema

```json
{
  "name": "dr. Stefanus Budiman Bunde, Sp.PD",
  "speciality": "Dokter Penyakit Dalam",
  "hospitalName": "RS Grestelina",
  "hospitalAddress": "RS Grestelina, Panakukkang, Makassar",
  "city": "Makassar",
  "productUrl": "https://www.alodokter.com/cari-dokter/dr-stefanus-budiman-bunde-sppd?sku_id=63082a6aa6839d7867012f1e",
  "imageUrl": "https://images.alodokter.com/...",
  "doctorSlug": "dr-stefanus-budiman-bunde-sppd",
  "skuId": "63082a6aa6839d7867012f1e",
  "price": "Rp200.000",
  "ratingPercentage": "100%",
  "totalRating": 55,
  "bookingCount": 790,
  "doctorId": "62c25f137dcb1f0de50dbcd3",
  "hospitalId": "62be50045c36e60de6b7e5e1",
  "scrapedAt": "2026-10-24T11:30:00.000Z"
}
```

### Use with AI agents (MCP)

Expose this Actor as a tool to Claude, Cursor, Codex, or any MCP client:

```
https://mcp.apify.com/?tools=fauzimatakupan/alodokter-doctor-directory-scraper
```

Keywords: Alodokter scraper, Indonesia doctor directory, Indonesian healthcare data,
dokter Indonesia, jadwal dokter, hospital data Indonesia, telehealth market research,
medical provider directory.

### Related Actors

Building an Indonesian market-data pipeline? Check our other Actors:

- [OLX Indonesia Listings Scraper](https://apify.com/fauzimatakupan/olx-indonesia-listings-scraper) —
  classified ads & products from olx.co.id with IDR prices, locations, and seller info.
- [Indonesia Tech Jobs Scraper](https://apify.com/fauzimatakupan/indonesia-tech-jobs-scraper) —
  unified Glints + Kalibrr job listings.
- [Indonetwork B2B Directory Scraper](https://apify.com/fauzimatakupan/indonetwork-b2b-directory-scraper) —
  Indonesian B2B suppliers and products with company profiles.
- [Halodoc Pharmacy Scraper](https://apify.com/fauzimatakupan/halodoc-pharmacy-scraper) —
  medicines & vitamins with IDR prices, BPOM, and prescription status (the telehealth
  sister-Actor: Halodoc for products, Alodokter for doctors).

### Usage notes

- Use the data for market research, healthcare access analysis, and competitive
  studies; respect Alodokter's terms and personal-data rules (no mass messaging,
  no re-identification of individuals).
- Consultation fees change; schedule regular runs for fresh pricing.
- If a speciality slug is invalid, the Actor logs it and continues with the rest.

# Actor input Schema

## `specialities` (type: `array`):

Daftar slug atau nama spesialisasi medis Alodokter (contoh: 'penyakit-dalam', 'pediatri', 'kulit-dan-kelamin', 'ginekologi', 'tht-kl', 'kardiologi').

## `maxDoctors` (type: `integer`):

Batas maksimum jumlah dokter yang dikumpulkan secara total (opsional).

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

Konfigurasi proxy Apify (opsional, Alodokter dapat diakses langsung dari VPS tanpa proxy).

## Actor input object example

```json
{
  "specialities": [
    "penyakit-dalam",
    "pediatri"
  ],
  "maxDoctors": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

# 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("matakupanlabs/alodokter-doctor-directory-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("matakupanlabs/alodokter-doctor-directory-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 matakupanlabs/alodokter-doctor-directory-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,matakupanlabs/alodokter-doctor-directory-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/Jh8Ksjy3DaNN7tqIc/builds/DUZQKquy049iaUhLc/openapi.json
