# Doctoralia Scraper: Doctors in Europe & LatAm (`reventadata/doctoralia-scraper`) Actor

Scrape Doctoralia doctors and clinics by specialty and city in Spain, Brazil, Mexico, Poland (ZnanyLekarz) and Italy (MioDottore). Name, specialties, address, city, province, rating, opinions, services, online and booking flags, photo and profile link. Unofficial.

- **URL**: https://apify.com/reventadata/doctoralia-scraper.md
- **Developed by:** [reventadata](https://apify.com/reventadata) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Doctoralia Scraper

> **Unofficial.** This Actor is not affiliated with, authorised by, endorsed by, or in any
> way officially connected to Doctoralia, ZnanyLekarz, MioDottore or Docplanner Group. These names are trademarks of their
> respective owners and are used here only to describe what this tool reads. It reads the same public directory pages a
> browser does.

Doctoralia Scraper extracts medical practitioner and clinic directory listings from [Doctoralia Spain](https://www.doctoralia.es) (doctoralia.es), [Brazil](https://www.doctoralia.com.br) (doctoralia.com.br), [Mexico](https://www.doctoralia.com.mx) (doctoralia.com.mx), [Chile](https://www.doctoralia.cl) (doctoralia.cl), [Colombia](https://www.doctoralia.co) (doctoralia.co), [Peru](https://www.doctoralia.pe) (doctoralia.pe), [ZnanyLekarz Poland](https://www.znanylekarz.pl) (znanylekarz.pl), [MioDottore Italy](https://www.miodottore.it) (miodottore.it), [Jameda Germany](https://www.jameda.de) (jameda.de), [ZnamyLekar Czechia](https://www.znamylekar.cz) (znamylekar.cz) or [DoktorTakvimi Turkey](https://www.doktortakvimi.com) (doktortakvimi.com), chosen with the `country` input, by specialty and city: full name, profile URL, entity type (`doctor` or `clinic`), primary specialization, all listed specializations, practice street address, city, province, review rating, review counts, available consultation services, online appointment availability, and profile photo. Optionally it also adds the phone numbers each practitioner or clinic publishes on their own profile page (`includeContactDetails`).

### What data can you extract from Doctoralia?

The practitioner cards Doctoralia returns for your chosen specialty and city, up to your item and page caps.

### Why scrape Doctoralia?

- **Medical practitioners and clinics in Spain, Brazil, Mexico, Chile, Colombia, Peru, Poland, Italy, Germany, Czechia and Turkey**: Any specialty in the chosen site's own words (e.g. `psicologo`, `ginecologo`, `dentista`, `dermatologo`, `cardiologo`, `medico-general`; Poland uses Polish words such as `psycholog`, Germany German ones such as `zahnarzt`; Czechia Czech ones such as `zubar`; Turkey Turkish ones such as `dis-hekimi`) and any city (e.g. `madrid`, `barcelona`, `valencia` for Spain; `sao-paulo`, `rio-de-janeiro` for Brazil; `ciudad-de-mexico` for Mexico; `santiago` for Chile; `bogota` for Colombia; `lima` for Peru; `warszawa` for Poland; `roma` for Italy; `berlin` for Germany; `praha` for Czechia; `istanbul` for Turkey) or `online` for video teleconsultations.
- **Directory listings**: Reads the public directory listing for your specialty and city.
- **Rich provider metadata**: Captures practitioner names, profile links, specialties, addresses, star ratings, review counts, available services, and booking calendar flags.
- **Proxy handled for you**: Proxy configuration is handled automatically by default.
- **Optional phone numbers**: Switch on `includeContactDetails` to open each profile page and add the numbers it publishes, with the practice names they are listed under.
- **Clean pagination**: Walks through all available result pages up to your configured item or page cap.

### How to scrape Doctoralia

1. Choose the `country` (`es` for Spain, the default, `br` for Brazil, `mx` for Mexico, `cl` for Chile, `co` for Colombia, `pe` for Peru, `pl` for Poland, `it` for Italy, `de` for Germany, `cz` for Czechia or `tr` for Turkey), a `specialty` slug (e.g. `psicologo`, `dentista`, `ginecologo`) and a `city` slug (e.g. `madrid`, `barcelona`, or `online`).
2. Set optional caps on `maxItems` and `maxPages`.
3. Optionally switch on `includeContactDetails` to add phone numbers (see below).
4. Run the Actor. Results are saved directly into the default dataset.

#### Input

| Field | Type | Description |
|---|---|---|
| `country` | string | `es` (Spain, doctoralia.es, default), `br` (Brazil, doctoralia.com.br), `mx` (Mexico, doctoralia.com.mx), `cl` (Chile, doctoralia.cl), `co` (Colombia, doctoralia.co), `pe` (Peru, doctoralia.pe), `pl` (Poland, znanylekarz.pl), `it` (Italy, miodottore.it), `de` (Germany, jameda.de), `cz` (Czechia, znamylekar.cz) or `tr` (Turkey, doktortakvimi.com). Slugs must be the ones that site uses, in its own language. |
| `specialty` | string | Medical specialty slug in singular form as in the directory URLs of the chosen site, e.g. `psicologo`, `dentista`, `ginecologo`, `dermatologo`. Default `psicologo` (`psycholog` for Poland, `zahnarzt` for Germany, `zubar` for Czechia, `dis-hekimi` for Turkey). |
| `city` | string | City or location slug as in the directory URLs of the chosen site, e.g. `madrid`, `barcelona`, `valencia` (Spain), `sao-paulo` (Brazil), `ciudad-de-mexico` (Mexico), `santiago` (Chile), `bogota` (Colombia), `lima` (Peru), `warszawa` (Poland), `roma` (Italy), `berlin` (Germany), `praha` (Czechia), `istanbul` (Turkey), or `online`. Default `madrid` for Spain, `sao-paulo` for Brazil, `ciudad-de-mexico` for Mexico, `santiago` for Chile, `bogota` for Colombia, `lima` for Peru, `warszawa` for Poland, `roma` for Italy, `berlin` for Germany, `praha` for Czechia, `istanbul` for Turkey. |
| `maxItems` | integer | Maximum number of practitioner cards to collect. Default `100`. |
| `maxPages` | integer | Optional limit on directory pages to crawl (~20-34 doctors per page). |
| `includeContactDetails` | boolean | Off by default. Opens each practitioner's or clinic's own profile page and adds a `phones` list to the row. One extra page per row, so the run is slower. Each row returned with at least one phone number is charged as a separate `contact-details` event. |
| `proxyConfiguration` | object | Proxy settings. Handled for you by default. |

```json
{
    "country": "es",
    "specialty": "psicologo",
    "city": "madrid",
    "maxItems": 10
}
```

#### Output

One row from a real run on 2026-11-19 (specialty `psicologo`, city `madrid`):

```json
{
  "id": "70548",
  "name": "Víctor Alejandro Briones",
  "url": "https://www.doctoralia.es/perfil/victor-alejandro-briones",
  "entityType": "doctor",
  "specialization": "Psicólogo",
  "specializationIds": "60",
  "allSpecializations": "Psicólogo",
  "streetAddress": "Calle de Canarias 4",
  "city": "Madrid",
  "province": "Madrid",
  "addressId": "225088",
  "isOnlineOnly": false,
  "rating": 5.0,
  "opinionsCount": 93,
  "isFirstClass": true,
  "resultType": "first-class",
  "services": [
    "Consulta de psicología",
    "Consulta online"
  ],
  "imageUrl": "https://s3-eu-west-1.amazonaws.com/doctoralia.es/doctor/dbd5da/dbd5da568022a1f1ac4f4982f03dff1a_large.jpg",
  "hasCalendar": true,
  "hasCalendarWithSlots": true,
  "searchUrl": "https://www.doctoralia.es/psicologo/madrid"
}
```

#### Phone numbers (`includeContactDetails`)

With the option on, every row gets a `phones` field read from the practitioner's or clinic's own profile page: one entry per distinct number, written as the page writes it, with the practice or consultation names the page lists it under (`places`, empty when the page names none; clinic pages never name them). A profile that publishes no number gives an empty list. A profile page that could not be read gives `null`, the row is still returned, and the run log says so once. Only numbers the profile publishes are returned: no e-mail address or website is added. Rows with at least one number are charged one `contact-details` event each; rows without a number are not.

One row from a real run on 2026-11-20 (`includeContactDetails` on):

```json
{
  "id": "146566",
  "name": "Cristina Saiz Manceñido",
  "url": "https://www.doctoralia.es/perfil/cristina-saiz-mancenido",
  "entityType": "doctor",
  "specialization": "Psicóloga",
  "specializationIds": "60",
  "allSpecializations": "Psicóloga",
  "streetAddress": "Plaza del Callao 1",
  "city": "Madrid",
  "province": "Madrid",
  "addressId": "202973",
  "isOnlineOnly": false,
  "rating": 5.0,
  "opinionsCount": 56,
  "isFirstClass": true,
  "resultType": "first-class",
  "services": [
    "Primera visita Psicología",
    "Consulta online"
  ],
  "imageUrl": "https://pixel-p2.s3.eu-central-1.amazonaws.com/doctor/avatar/65bd4936/65bd4936-f3ab-4693-a626-8701a78e0604_large.jpg",
  "hasCalendar": true,
  "hasCalendarWithSlots": true,
  "searchUrl": "https://www.doctoralia.es/psicologo/madrid",
  "phones": [
    {
      "number": "609 88 77 14",
      "places": [
        "Centro Crisam Psicólogos"
      ]
    }
  ]
}
```

### Pricing

The Actor uses pay-per-event pricing. The current price of a result and of the optional `contact-details` event is on the Actor's Pricing tab.

# Actor input Schema

## `country` (type: `string`):

Which directory site to read: 'es' Spain (doctoralia.es), 'br' Brazil (doctoralia.com.br), 'mx' Mexico (doctoralia.com.mx), 'cl' Chile (doctoralia.cl), 'co' Colombia (doctoralia.co), 'pe' Peru (doctoralia.pe), 'pl' Poland (znanylekarz.pl), 'it' Italy (miodottore.it), 'de' Germany (jameda.de), 'cz' Czechia (znamylekar.cz) or 'tr' Turkey (doktortakvimi.com). Specialty and city slugs must be the ones that site uses, in its own language.

## `specialty` (type: `string`):

Medical specialty slug in singular form as in the directory URLs of the chosen site, for example 'psicologo', 'dentista', 'ginecologo', 'dermatologo', 'cardiologo', 'medico-general'. Poland uses Polish words, for example 'psycholog'; Germany uses German ones, for example 'zahnarzt'; Czechia uses Czech ones, for example 'zubar'; Turkey uses Turkish ones, for example 'dis-hekimi'. Left empty: 'psycholog' for Poland, 'zahnarzt' for Germany, 'zubar' for Czechia, 'dis-hekimi' for Turkey, 'psicologo' for the other countries.

## `city` (type: `string`):

City or location slug as in the directory URLs of the chosen site, for example 'madrid', 'barcelona', 'valencia' (Spain) or 'sao-paulo', 'rio-de-janeiro' (Brazil), 'ciudad-de-mexico' (Mexico), 'santiago' (Chile), 'bogota' (Colombia), 'lima' (Peru), 'warszawa' (Poland), 'roma' (Italy), 'berlin' (Germany), 'praha' (Czechia), 'istanbul' (Turkey), or 'online' for video teleconsultations. Left empty: 'madrid' for Spain, 'sao-paulo' for Brazil, 'ciudad-de-mexico' for Mexico, 'santiago' for Chile, 'bogota' for Colombia, 'lima' for Peru, 'warszawa' for Poland, 'roma' for Italy, 'berlin' for Germany, 'praha' for Czechia, 'istanbul' for Turkey.

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

Maximum number of practitioner cards to collect.

## `maxPages` (type: `integer`):

Optional limit on directory pages to crawl (~20-34 doctor cards per page).

## `includeContactDetails` (type: `boolean`):

Open each practitioner's or clinic's own profile page and add the phone numbers it publishes to the row, in a `phones` list (each number with the practice names it is listed under). Costs one extra page per row, so the run is slower. Each row returned with at least one phone number is charged as a separate pay-per-event "contact-details" event (see the Store page for pricing); a profile that cannot be read, or that publishes no number, is not charged and its row has `phones` empty or null.

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

Proxy handled for you. You do not need to set this.

## Actor input object example

```json
{
  "country": "es",
  "specialty": "psicologo",
  "city": "madrid",
  "maxItems": 10,
  "maxPages": 1,
  "includeContactDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Items scraped from the target website.

# 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 = {
    "country": "es",
    "specialty": "psicologo",
    "city": "madrid",
    "maxItems": 10,
    "maxPages": 1,
    "includeContactDetails": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("reventadata/doctoralia-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 = {
    "country": "es",
    "specialty": "psicologo",
    "city": "madrid",
    "maxItems": 10,
    "maxPages": 1,
    "includeContactDetails": False,
}

# Run the Actor and wait for it to finish
run = client.actor("reventadata/doctoralia-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 '{
  "country": "es",
  "specialty": "psicologo",
  "city": "madrid",
  "maxItems": 10,
  "maxPages": 1,
  "includeContactDetails": false
}' |
apify call reventadata/doctoralia-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,reventadata/doctoralia-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/UCqGFwFqgxNTGh9Yx/builds/oM0EtHjk2hxdtUglO/openapi.json
