Doctolib scraper avatar

Doctolib scraper

Pricing

from $3.99 / 1,000 results

Go to Apify Store
Doctolib scraper

Doctolib scraper

Extract medical professionals data from Doctolib.fr, Doctolib.it, and Doctolib.de. Scrapes doctor profiles, contact information, specializations, and clinic details across France, Italy, and Germany. Supports multiple cities, professions, and automated pagination with structured JSON output.

Pricing

from $3.99 / 1,000 results

Rating

0.0

(0)

Developer

Coding Frontned

Coding Frontned

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a month ago

Last modified

Categories

Features

Limited permissions

Share

What this Doctolib scraper does

This Actor extracts public medical professional and clinic information from Doctolib.fr, Doctolib.it, and Doctolib.de pages. It reads public HTML and JSON-LD only; it never logs in, books appointments, solves human checks, or requests patient information.

Normal rows contain sourceId, name, specialty, address, telephone, city, country, url, canonicalUrl, sourceUrl, sourceDomain, and scrapedAt. Opt-in reader rows additionally carry provenance=public-doctolib-reader and readerUrl. They omit row-type, extraction, transport, and run instrumentation fields. When a page cannot be read or contains no public professional evidence, the Actor emits a diagnostic row with recordType: "diagnostic", diagnosticType, source provenance, url, error, errorCode, and scrapedAt.

Input

startUrls accepts doctor, clinic, specialty, city, and search pages on the three supported country domains. The compatibility aliases urls, searchUrls, and url are also accepted. Each URL must use HTTPS and a Doctolib.fr, Doctolib.it, or Doctolib.de hostname.

FieldDefaultLimits
startUrlshttps://www.doctolib.fr/At most 20 public URLs
maxItems201–200 normal professional rows
followProfileLinkstrueBounded enrichment of discovered profile links
maxRequests20Listing plus profile requests
requestTimeoutSecs305–120 seconds per request

The Actor uses HTTPS requests with a descriptive user agent and does not bypass access controls. proxyConfiguration optionally enables standard Apify Proxy routing for public requests; publicReaderFallback optionally performs a bounded reader request after that source attempt, using the supplied official public URL and an explicitly labeled Jina Reader representation. OUTPUT_SUMMARY reports source/reader counts and preserves the original boundary in fallbackEvidence. A non-success response, Cloudflare/human-check page, timeout, or empty public page becomes an explicit diagnostic rather than a fabricated professional.

Example input

{
"startUrls": [
{ "url": "https://www.doctolib.fr/cardiologue/paris" },
{ "url": "https://www.doctolib.it/cardiologo/roma" }
],
"maxItems": 25,
"maxRequests": 30,
"followProfileLinks": true,
"requestTimeoutSecs": 30
}

Output

Normal rows contain only public business fields plus source provenance. Diagnostic rows use the shape below:

{
"recordType": "diagnostic",
"diagnosticType": "ACCESS_BOUNDARY",
"url": "https://www.doctolib.fr/cardiologue/paris",
"sourceUrl": "https://www.doctolib.fr/cardiologue/paris",
"error": "access_restricted_http_403",
"errorCode": "ACCESS_RESTRICTED",
"scrapedAt": "2026-09-10T00:00:00.000Z"
}

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel. The Actor's OUTPUT_SUMMARY key-value entry contains the local run summary with counts, request usage, duplicates, and dropped-record reasons and is mirrored to the legacy OUTPUT key.

Local development

npm install
npm test
npm run lint
npm run validate
npm run check

For a local fixture run, set APIFY_LOCAL_STORAGE_DIR to an isolated directory and use test/fixtures/doctolib-page.html with a small JSON input. The repository's local contract test covers JSON-LD parsing, aliases, schema-safe sanitization, diagnostic shape, and Cloudflare classification.

Responsible use

Doctolib pages can contain personal and professional information protected by GDPR and other laws. Use public directory data for a legitimate, lawful purpose, keep request budgets modest, respect the site's terms and robots guidance, and do not use this Actor for patient profiling, appointment activity, or access-control circumvention.