# Doctolib practitioner directory

> List the files in Doctolib's German sitemap index.
> ReefAPI engine `doctolib` · 4 endpoints · clean JSON, no scraping or browsers to manage.

## How to call
- **Endpoint:** `POST https://api.reefapi.com/doctolib/v1/<action>` with a JSON body.
- **Auth:** header `x-api-key: <YOUR_REEFAPI_KEY>` — create one free (1,000 credits, no card): https://reefapi.com/signup
- **Response (every call):** `{ ok: boolean, data: ..., meta: { record_count, credits, ... }, error: { code, message } }` — branch on `ok`. Failed calls are free.
- **One key + one shared credit pool** across every ReefAPI API. Per-call credits are listed on each endpoint below.
- **Use it from an AI agent (MCP):** connect `https://api.reefapi.com/mcp` (remote streamable-http). Clients that add connectors by URL, such as ChatGPT and the Claude app, connect with OAuth 2.1 (the user pastes their key once on a ReefAPI page; discovery at `/.well-known/oauth-protected-resource/mcp`). Config files send the key as `Authorization: Bearer <key>`. `?key=<key>` in the URL also works as a last-resort fallback.

## Endpoints

### POST https://api.reefapi.com/doctolib/v1/sitemap_index — 1 credit
List the files in Doctolib's German sitemap index.

**Parameters:** none

**Returns:** German sitemap part numbers, file URLs and published modification timestamps.

### POST https://api.reefapi.com/doctolib/v1/sitemap_urls — 1 credit
Page through published URLs in one German sitemap part.

**Parameters:**
- `part` (integer, required) — File number returned by sitemap_index.
- `page` (integer, optional, default 1) — One-based page within the matching URLs of this part.
- `page_size` (integer, optional, default 100) — Maximum number of URLs in this response.
- `specialty_slug` (string, optional) — Match the exact first directory URL segment.
- `city_slug` (string, optional) — Match the exact second directory URL segment.

**Returns:** URLs and their sitemap modification timestamps in source order, with part-scoped totals.

**Example request body:**
```json
{
  "part": 8
}
```

### POST https://api.reefapi.com/doctolib/v1/search — 3 credits
Search practitioners by specialty and place in France or Germany, 20 per page.

**Parameters:**
- `country` (enum, required) — Doctolib country site. [one of: fr, de]
- `specialty` (string, required) — Specialty slug as in the site's URL.
- `place` (string, required) — Place slug as in the site's URL.
- `page` (integer, optional, default 1) — One-based page, 20 practitioners each.
- `insurance_sector` (enum, optional) — Germany: statutory or private insurance. [one of: public, private]
- `telehealth` (boolean, optional) — Only practitioners offering video consultations.
- `languages` (array, optional) — Spoken languages, e.g. ["gb"].

**Returns:** Practitioners with ids, address, coordinates, languages, booking and fee data, and the site's total.

**Example request body:**
```json
{
  "country": "de",
  "specialty": "internist",
  "place": "berlin"
}
```

### POST https://api.reefapi.com/doctolib/v1/profile — 1 credit
Read one practitioner or practice profile.

**Parameters:**
- `country` (enum, optional) — Country of the profile. [one of: fr, de]
- `slug` (string, optional) — Profile slug from search.
- `url` (string, optional) — Alternatively the practitioner page URL.

**Returns:** Name, specialty, bio, places with address, phone, coordinates and opening hours, fees, payment and legal ids.

**Example request body:**
```json
{
  "country": "de",
  "slug": "gunter-quinkler"
}
```

## At scale
- **Volume:** 5M+ requests a day, measured at 60 requests a second across the fleet with no
  central bottleneck. Per-key limits are raised for high-volume accounts; volume pricing on request.
- **Missing a source:** tell us a site we do not cover and it becomes an engine. A customer asked
  for bestprice.gr on 21 Sep 2026 and it was in the catalog on 22 Sep.
- **Support:** 2 minute median time from a question in the live chat to the first answer. Setup
  help included, no support tier to buy.
- **One key, one credit pool** across every API. No per-site plans, no separate subscriptions.

## More
- Try it live, no code: https://reefapi.com/playground?engine=doctolib
- Human docs page: https://reefapi.com/docs/doctolib
- Overview page: https://reefapi.com/doctolib-api
- Every ReefAPI API in one file (for your AI): https://reefapi.com/llms-full.txt
