# Jameda Scraper - German Doctor & Physician Directory (`blackfalcondata/jameda-scraper`) Actor

Scrape jameda.de — Germany's largest doctor-review platform — for physician name, specialty, clinic address, geo-coordinates, and patient rating by city and specialty. Detail enrichment adds phone and website for commercial profiles, plus opening hours and services.

- **URL**: https://apify.com/blackfalcondata/jameda-scraper.md
- **Developed by:** [Black Falcon Data](https://apify.com/blackfalcondata) (community)
- **Categories:** Business, Lead generation, Automation
- **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.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

### What does Jameda Scraper do?

Jameda Scraper searches [jameda.de](https://jameda.de) — Germany's largest doctor-review platform — by medical specialty (Fachrichtung) and city. It returns structured physician records: name, specialties, clinic/practice, address and geo-coordinates, and patient rating and review count. Detail enrichment is on by default (direct-fetch, no extra cost tier). It adds opening hours, languages spoken, accepted insurance types, offered services, and treated conditions. Phone and website are populated only for commercial/claimed profiles — jameda leaves both blank on free listings. jameda never publishes a doctor's email address, so this actor does not extract one.

### How to use this actor

- 👉 **Register for a free Apify account** — no credit card required.
- 🎉 Just click **[Sign up free on Apify →](https://console.apify.com/sign-up?fpr=1h3gvi&fp_sid=ctarich)** and complete a quick signup.
- 💰 A free Apify account includes $5 in monthly credits — enough to test this actor.
- ⏳ Scrape during the free trial, with no commitment or upfront payment required.

### Key features

<!-- KEY_FEATURES:START -->
- **🩺 Specialty + city search** — search by medical specialty (Fachrichtung, e.g. "hausarzt", "zahnarzt") and city; pass `["term1", "term2"]` to batch multiple specialties or cities in one run with shared dedup state.
- **📋 Full profile enrichment (on by default)** — direct-fetch, no extra cost tier: adds opening hours, languages spoken, accepted insurance types, offered services, and treated conditions from each doctor's own profile page.
- **🔗 Paste-mode** — mix keyword search with pasted jameda.de search or profile URLs in the same run; results dedupe by doctor ID.
- **📌 Change classification** — each record carries a `changeType` of NEW / UPDATED / UNCHANGED / REAPPEARED / EXPIRED. Default emits NEW + UPDATED + REAPPEARED; opt into the others with `emitUnchanged` / `emitExpired`.
- **🔔 Notifications** — Telegram, Slack, Discord, WhatsApp Cloud API, and generic webhook out of the box. Pair with incremental mode for alerts on new or changed listings.
- **📦 Compact mode** — AI-agent and MCP-friendly payloads with core fields only.
- **🔌 MCP connectors** — export your results into a connected app via Apify's MCP connector framework. Opt-in via the App connector field; no AI, deterministic field-mapping.
<!-- KEY_FEATURES:END -->

### What data can you extract from jameda.de?

Each result includes core profile fields (`name`, `academicTitle`, `specialties`, `specialty`, `clinicName`, and `profileUrl`, and more), rating and review count from the search page, and detail-page fields when enrichment is enabled (`openingHours`, `languages`, `insuranceTypes`, `services`, `treatedConditions`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

Phone and website are populated only for commercial/claimed profiles — expect `null` on free listings. jameda never publishes a doctor's email address, so this actor never returns one.


### Input

The main inputs are a search keyword, an optional location filter, and a result limit. Additional filters and options are available in the input schema.

Key parameters:

- **`query`** — Medical specialty/specialties to search, e.g. "hausarzt", "Zahnarzt", "hautarzt-dermatologe". Use a JSON array for multiple.
- **`country`** — Which jameda.de market to search. (default: `"DE"`)
- **`location`** — City to search, e.g. "Berlin", "muenchen". Use a JSON array for multiple.
- **`district`** — Narrow a city search to one district, e.g. "Charlottenburg-Wilmersdorf" or "Reinickendorf". Applies to query+location searches (ignored for startUrls).
- **`startUrls`** — Paste jameda URLs to scrape: a doctor profile URL (e.g. https://www.jameda.de/alexandra-steffes/hausarzt-allgemeinmediziner/berlin) returns that doctor; a search URL (e.g. https://www.jameda.de/hausarzt/berlin) returns all doctors on those listing pages.
- **`maxResults`** — Maximum total doctor profiles to return (0 = unlimited). (default: `25`)
- **`maxPages`** — Maximum result pages to scrape per search source. (default: `5`)
- **`includeDetails`** — Fetch each doctor's profile page for phone, website, opening hours, languages, insurance types, services, and treated conditions. Direct-fetch (no extra cost tier) — recommended on. (default: `true`)
- **`includeAvailability`** — Also fetch each doctor's next available appointment times (booking calendar). Adds extra requests per doctor — slower and only for doctors who offer online booking. (default: `false`)
- **`availabilityDays`** — How many days ahead to check for available appointments. Only used when Include Appointment Availability is on. (default: `14`)
- **`compact`** — Output only core fields (for AI-agent/MCP workflows). (default: `false`)
- **`incrementalMode`** — Compare against previous run state. stateKey is optional — defaults to a stable identifier derived from your search inputs (queries, locations, startUrls, country) so different filter sets never share state. (default: `false`)
- ...and 18 more parameters

### Input examples

**Basic search** — Keyword-driven search scoped to a city with a tight radius.

→ Full payload per result — all standard fields populated where the source provides them.

```json
{
  "query": "hausarzt",
  "location": "Berlin",
  "maxResults": 50
}
````

**Incremental tracking** — Only emit listings that changed since the previous run with this `stateKey`.

→ First run builds the baseline state. Subsequent runs emit only records that are new or whose tracked content changed. Set `emitUnchanged: true` to include unchanged records as well.

```json
{
  "query": "hausarzt",
  "maxResults": 200,
  "incrementalMode": true,
  "stateKey": "hausarzt-tracker"
}
```

**Compact output for AI agents** — Return only core fields for AI-agent and MCP workflows.

→ Small payload with the most important fields — ideal for piping into LLMs without token overhead.

```json
{
  "query": "hausarzt",
  "maxResults": 50,
  "compact": true
}
```

### Output

Each run produces a dataset of structured listing records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

### Example listing record

```json
{
  "listingId": "4533d72b489ace167f2dfeb7a56c243023db0c3831ed73786ef43cf7b66398f9",
  "listingKey": "424538",
  "doctorId": "424538",
  "name": "Dr. med. Philipp Lindemann",
  "academicTitle": "Dr. med.",
  "specialties": [
    "Hausarzt",
    "Allgemeinmediziner",
    "Internist"
  ],
  "specialty": "Hausarzt",
  "profileUrl": "https://www.jameda.de/philipp-lindemann-2/allgemeinmediziner-hausarzt-internist-hausarzt/berlin",
  "canonicalUrl": "https://www.jameda.de/philipp-lindemann-2/allgemeinmediziner-hausarzt-internist-hausarzt/berlin",
  "sourceUrl": "https://www.jameda.de/philipp-lindemann-2/allgemeinmediziner-hausarzt-internist-hausarzt/berlin",
  "clinicName": "Hausarztpraxis Dr.med. Philipp Lindemann Facharzt für Innere Medizin",
  "street": "Räuschstr. 57 a",
  "postalCode": "13509",
  "city": "Berlin",
  "region": "Berlin",
  "latitude": 52.583416,
  "longitude": 13.3012094,
  "phone": "030 4351065",
  "website": "http://www.praxis-dr-lindemann.de",
  "ratingValue": 5,
  "reviewCount": 128,
  "imageUrl": "https://s3-eu-west-1.amazonaws.com/jamedade/doctor/80e029/80e02907cc779c05acb8962f13382db4_220_square.jpg",
  "openingHours": "Mo 09:00–13:00, 14:00–17:00; Di 09:00–12:00, 14:00–17:00; Mi 09:00–12:00; Do 09:00–12:00, 14:00–17:00; Fr 09:00–12:00",
  "languages": [
    "Englisch",
    "Deutsch"
  ],
  "insuranceTypes": [
    "Gesetzlich versichert",
    "Privat versichert"
  ],
  "services": [
    "Allgemeine Sprechstunde",
    "Erstuntersuchung (Neupatient/in)",
    "Behandlung von akuten Beschwerden/Schmerzen",
    "Gesundheits-Check-up",
    "Impfung/Impfberatung"
  ],
  "treatedConditions": [
    "Bluthochdruck (Hypertonie)",
    "Diabetes",
    "Asthma",
    "Allergie",
    "Reizdarm",
    "... 5 more items"
  ],
  "isCommercial": true,
  "hasOnlineBooking": true,
  "videoConsultation": true,
  "isSponsored": false,
  "sourceCountry": "DE",
  "sourceDomain": "www.jameda.de",
  "searchQuery": "Hausarzt",
  "searchUrl": "https://www.jameda.de/hausarzt/berlin",
  "fetchedAt": "2026-07-16T21:29:16.905Z",
  "detailFetched": true,
  "contentQuality": "full",
  "changeType": "NEW",
  "trackedHash": "3fe8bf755a25c750b0cd61226ebf52364021a5043f7a12ce8ff330f33ce23b09",
  "firstSeenAt": "2026-07-16T21:29:16.905Z",
  "lastSeenAt": "2026-07-16T21:29:16.905Z",
  "stateKey": "live-verify-1784237355770",
  "isRepost": false
}
```

### Incremental fields

When incremental mode is on, each record also carries:

- `changeType` — one of `NEW`, `UPDATED`, `UNCHANGED`, `REAPPEARED`, `EXPIRED`. Default output covers `NEW` / `UPDATED` / `REAPPEARED`; set `emitUnchanged: true` or `emitExpired: true` to opt into the others.
- `firstSeenAt`, `lastSeenAt` — ISO-8601 timestamps tracking the listing across runs.
- `isRepost`, `repostOfId`, `repostDetectedAt` — populated when a new listing matches the tracked content of a previously expired one. Set `skipReposts: true` to drop detected reposts from the output.

### How to scrape jameda.de

1. Go to [Jameda Scraper](https://apify.com/blackfalcondata/jameda-scraper?fpr=1h3gvi) in Apify Console.
2. Enter a search keyword and optional location filter.
3. Set `maxResults` to control how many results you need.
4. Enable `includeDetails` if you need full descriptions, contact info.
5. Click **Start** and wait for the run to finish.
6. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Healthcare market research — map specialty and provider density across German cities.
- Provider directories and referral tools — build a searchable directory of specialists with structured contact and location data.
- Reputation monitoring — track jameda rating and review-count trends for specific practices or specialties over time.
- Lead generation for healthcare-adjacent vendors — find commercial/claimed practices with a listed phone number and website.
- Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.

### How much does it cost to scrape jameda.de?

Jameda Scraper uses [pay-per-event](https://docs.apify.com/platform/actors/paid-actors/pay-per-event) pricing. You pay a small fee when the run starts and then for each result that is actually produced.

- **Run start:** $0.0005 per run
- **Per result:** $0.002 per listing record

Example costs:

- 10 results: **$0.021**
- 25 results: **$0.051**
- 100 results: **$0.2**
- 200 results: **$0.4**
- 500 results: **$1**

#### Example: recurring monitoring savings

These examples compare full re-scrapes with incremental runs at different churn rates. Churn is the share of listings that are new or whose tracked content changed since the previous run. Actual churn depends on your query breadth, source activity, and polling frequency — the scenarios below are examples, not predictions.

Example setup: 100 results per run, daily polling (30 runs/month). Event-pricing examples scale linearly with result count.

| Churn rate | Full re-scrape run cost | Incremental run cost | Savings vs full re-scrape | Monthly cost after baseline |
|---|---:|---:|---:|---:|
| 5% — stable niche query | $0.20 | $0.01 | $0.19 (95%) | $0.32 |
| 15% — moderate broad query | $0.20 | $0.03 | $0.17 (85%) | $0.92 |
| 30% — high-volume aggregator | $0.20 | $0.06 | $0.14 (70%) | $1.81 |

Full re-scrape monthly cost at daily polling: $6.02. First month with incremental costs $0.51 / $1.08 / $1.96 for the 5% / 15% / 30% scenarios because the first run builds baseline state at full cost before incremental savings apply.

Platform usage is included in the per-result fee shown above.

### FAQ

#### How many results can I get from jameda.de?

The number of results depends on the search query and available listings on jameda.de. Use the `maxResults` parameter to control how many results are returned per run.

#### Does Jameda Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed listings on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

#### Can I integrate Jameda Scraper with other apps?

Yes. Jameda Scraper works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use Jameda Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use Jameda Scraper through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode and `excludeEmptyFields` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape jameda.de?

This actor extracts publicly available data from jameda.de. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/jameda-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [Agoda Reviews Scraper — Hotel Guest Reviews](https://apify.com/blackfalcondata/agoda-reviews-scraper?fpr=1h3gvi) — Scrape guest reviews for any Agoda hotel — star ratings, full review text in the original language.
- [Airbnb Reviews Scraper — Text, Rating, Date & Host Reply](https://apify.com/blackfalcondata/airbnb-reviews-scraper?fpr=1h3gvi) — Scrape Airbnb reviews as flat rows — review text, star rating, date, reviewer name & location,.
- [Booking Reviews Scraper — by hotel URL or destination](https://apify.com/blackfalcondata/booking-reviews-scraper?fpr=1h3gvi) — Scrape Booking.com guest reviews by hotel URL or destination. Each record carries the full review.
- [Clutch Scraper — B2B Agency Ratings & Reviews](https://apify.com/blackfalcondata/clutch-scraper?fpr=1h3gvi) — Scrape B2B service providers from Clutch — ratings, review counts, service lines, hourly rates,.
- [Kununu Scraper - Company Ratings & Employer Reviews (DACH)](https://apify.com/blackfalcondata/kununu-scraper?fpr=1h3gvi) — Scrape kununu.com across DACH — company ratings with 4-bucket distribution, 24-month score trends,.
- [ReclameAqui Scraper - Complaints, Reputation & Company Intel BR](https://apify.com/blackfalcondata/reclameaqui-scraper?fpr=1h3gvi) — Scrape ReclameAqui (Brazil): the full company reply thread, reputation scores, and company intel —.
- [Trustpilot $0.69💰 Reviews/Ratings/Replies/Bypass 200 Limit](https://apify.com/blackfalcondata/trustpilot-reviews-scraper?fpr=1h3gvi) — 💰 $0.69 per 1,000 reviews. Scrape full Trustpilot history for any company — bypass the 200-review.
- [Whatnot Scraper — Listings, Sellers & Shop Inventory](https://apify.com/blackfalcondata/whatnot-scraper?fpr=1h3gvi) — Scrape Whatnot listings and sellers — prices, bids, conditions, card attributes (Set, Grade, Year),.
- [Google Maps Scraper — Places, Contacts & Lead Score](https://apify.com/blackfalcondata/google-maps-scraper?fpr=1h3gvi) — General local-business directory scraper for names, phones, websites, ratings, and reviews across any industry.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi\&fp_sid=ctarich) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

### Disclaimer

This actor accesses only publicly available data on jameda.de. You are responsible for how you use the extracted data — in particular any personal information such as names, phone numbers, or email addresses — and for complying with Jameda's terms of use, applicable data-protection law (including the GDPR where it applies), and the anti-spam rules of your jurisdiction.

This actor is not affiliated with, endorsed by, or connected to Jameda.

### Search keywords

jameda scraper, jameda.de scraper, jameda.de data, jameda api, apify jameda, jameda data extraction.

# Actor input Schema

## `query` (type: `string`):

Medical specialty/specialties to search, e.g. "hausarzt", "Zahnarzt", "hautarzt-dermatologe". Use a JSON array for multiple.

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

Which jameda.de market to search.

## `location` (type: `string`):

City to search, e.g. "Berlin", "muenchen". Use a JSON array for multiple.

## `district` (type: `string`):

Narrow a city search to one district, e.g. "Charlottenburg-Wilmersdorf" or "Reinickendorf". Applies to query+location searches (ignored for startUrls).

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

Paste jameda URLs to scrape: a doctor profile URL (e.g. https://www.jameda.de/alexandra-steffes/hausarzt-allgemeinmediziner/berlin) returns that doctor; a search URL (e.g. https://www.jameda.de/hausarzt/berlin) returns all doctors on those listing pages.

## `maxResults` (type: `integer`):

Maximum total doctor profiles to return (0 = unlimited).

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

Maximum result pages to scrape per search source.

## `includeDetails` (type: `boolean`):

Fetch each doctor's profile page for phone, website, opening hours, languages, insurance types, services, and treated conditions. Direct-fetch (no extra cost tier) — recommended on.

## `includeAvailability` (type: `boolean`):

Also fetch each doctor's next available appointment times (booking calendar). Adds extra requests per doctor — slower and only for doctors who offer online booking.

## `availabilityDays` (type: `integer`):

How many days ahead to check for available appointments. Only used when Include Appointment Availability is on.

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

Proxy configuration for outbound requests. Recommended for large runs. Datacenter proxies are used by default; switch to residential if needed.

## `compact` (type: `boolean`):

Output only core fields (for AI-agent/MCP workflows).

## `incrementalMode` (type: `boolean`):

Compare against previous run state. stateKey is optional — defaults to a stable identifier derived from your search inputs (queries, locations, startUrls, country) so different filter sets never share state.

## `stateKey` (type: `string`):

Optional. Stable identifier for the tracked search universe (e.g. "us-software-nyc"). Leave empty to auto-generate from search inputs.

## `emitUnchanged` (type: `boolean`):

When incremental, also emit records that haven't changed.

## `emitExpired` (type: `boolean`):

When incremental, also emit records no longer found.

## `skipReposts` (type: `boolean`):

When incremental, skip listings whose content matches an expired listing from a prior run (cross-run duplicate detection).

## `telegramToken` (type: `string`):

Telegram bot token (from @BotFather). Required for Telegram notifications.

## `telegramChatId` (type: `string`):

Telegram chat or channel ID (e.g. "-100123456789"). Required when telegramToken is set.

## `discordWebhookUrl` (type: `string`):

Discord incoming webhook URL. Server Settings → Integrations → Webhooks → New Webhook.

## `slackWebhookUrl` (type: `string`):

Slack incoming webhook URL. api.slack.com/messaging/webhooks.

## `notificationLimit` (type: `integer`):

Maximum number of listings included in each notification message (1–20).

## `notifyOnlyChanges` (type: `boolean`):

When Incremental Mode is on, only send notifications for NEW and UPDATED listings. Has no effect outside incremental mode.

## `whatsappAccessToken` (type: `string`):

WhatsApp Cloud API permanent access token (System User token from Meta Business). Recipient must have messaged the business number within the last 24h (service-conversation window — free since Nov 2024).

## `whatsappPhoneNumberId` (type: `string`):

Your WhatsApp Business phone-number ID (numeric, from Meta dashboard). Required when whatsappAccessToken is set.

## `whatsappTo` (type: `string`):

Recipient phone in E.164 format without + (e.g. "436641234567"). Recipient must have messaged your business number within last 24h.

## `webhookUrl` (type: `string`):

Receives a JSON POST with {metadata, items} after each run. Universal escape hatch for n8n / Make / Zapier / custom backends.

## `webhookHeaders` (type: `object`):

Optional JSON object of custom headers (e.g. {"Authorization":"Bearer ..."}).

## `excludeEmptyFields` (type: `boolean`):

Drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards.

## `appConnector` (type: `string`):

Optional. Pick a connected app under Settings → API & Integrations to receive your results (including any contact details). Best-effort across MCP connectors as Apify expands its catalog.

## `mcpIssueTeam` (type: `string`):

Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one.

## Actor input object example

```json
{
  "query": "hausarzt",
  "country": "DE",
  "location": "Berlin",
  "maxResults": 5,
  "maxPages": 5,
  "includeDetails": true,
  "includeAvailability": false,
  "availabilityDays": 14,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "compact": false,
  "incrementalMode": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "skipReposts": false,
  "notificationLimit": 5,
  "notifyOnlyChanges": false,
  "excludeEmptyFields": 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 = {
    "query": "hausarzt",
    "location": "Berlin",
    "maxResults": 5,
    "proxyConfiguration": {
        "useApifyProxy": true
    },
    "excludeEmptyFields": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("blackfalcondata/jameda-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 = {
    "query": "hausarzt",
    "location": "Berlin",
    "maxResults": 5,
    "proxyConfiguration": { "useApifyProxy": True },
    "excludeEmptyFields": False,
}

# Run the Actor and wait for it to finish
run = client.actor("blackfalcondata/jameda-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "hausarzt",
  "location": "Berlin",
  "maxResults": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "excludeEmptyFields": false
}' |
apify call blackfalcondata/jameda-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=blackfalcondata/jameda-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Jameda Scraper - German Doctor & Physician Directory",
        "description": "Scrape jameda.de — Germany's largest doctor-review platform — for physician name, specialty, clinic address, geo-coordinates, and patient rating by city and specialty. Detail enrichment adds phone and website for commercial profiles, plus opening hours and services.",
        "version": "0.1",
        "x-build-id": "GrAxVUBgcqR0wMcY5"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/blackfalcondata~jameda-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-blackfalcondata-jameda-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/blackfalcondata~jameda-scraper/runs": {
            "post": {
                "operationId": "runs-sync-blackfalcondata-jameda-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/blackfalcondata~jameda-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-blackfalcondata-jameda-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "query": {
                        "title": "🔍 Specialties (Fachrichtung)",
                        "type": "string",
                        "description": "Medical specialty/specialties to search, e.g. \"hausarzt\", \"Zahnarzt\", \"hautarzt-dermatologe\". Use a JSON array for multiple."
                    },
                    "country": {
                        "title": "🌍 Country",
                        "enum": [
                            "DE"
                        ],
                        "type": "string",
                        "description": "Which jameda.de market to search.",
                        "default": "DE"
                    },
                    "location": {
                        "title": "📍 Cities",
                        "type": "string",
                        "description": "City to search, e.g. \"Berlin\", \"muenchen\". Use a JSON array for multiple."
                    },
                    "district": {
                        "title": "🏘️ District (Bezirk)",
                        "type": "string",
                        "description": "Narrow a city search to one district, e.g. \"Charlottenburg-Wilmersdorf\" or \"Reinickendorf\". Applies to query+location searches (ignored for startUrls)."
                    },
                    "startUrls": {
                        "title": "🔗 Start URLs",
                        "type": "array",
                        "description": "Paste jameda URLs to scrape: a doctor profile URL (e.g. https://www.jameda.de/alexandra-steffes/hausarzt-allgemeinmediziner/berlin) returns that doctor; a search URL (e.g. https://www.jameda.de/hausarzt/berlin) returns all doctors on those listing pages.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxResults": {
                        "title": "💯 Max Results",
                        "minimum": 0,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum total doctor profiles to return (0 = unlimited).",
                        "default": 25
                    },
                    "maxPages": {
                        "title": "📄 Max Pages",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "Maximum result pages to scrape per search source.",
                        "default": 5
                    },
                    "includeDetails": {
                        "title": "📋 Include Full Details",
                        "type": "boolean",
                        "description": "Fetch each doctor's profile page for phone, website, opening hours, languages, insurance types, services, and treated conditions. Direct-fetch (no extra cost tier) — recommended on.",
                        "default": true
                    },
                    "includeAvailability": {
                        "title": "📅 Include Appointment Availability",
                        "type": "boolean",
                        "description": "Also fetch each doctor's next available appointment times (booking calendar). Adds extra requests per doctor — slower and only for doctors who offer online booking.",
                        "default": false
                    },
                    "availabilityDays": {
                        "title": "🗓️ Availability Window (Days)",
                        "minimum": 1,
                        "maximum": 60,
                        "type": "integer",
                        "description": "How many days ahead to check for available appointments. Only used when Include Appointment Availability is on.",
                        "default": 14
                    },
                    "proxyConfiguration": {
                        "title": "🌐 Proxy Configuration",
                        "type": "object",
                        "description": "Proxy configuration for outbound requests. Recommended for large runs. Datacenter proxies are used by default; switch to residential if needed.",
                        "default": {
                            "useApifyProxy": true
                        }
                    },
                    "compact": {
                        "title": "📦 Compact Output",
                        "type": "boolean",
                        "description": "Output only core fields (for AI-agent/MCP workflows).",
                        "default": false
                    },
                    "incrementalMode": {
                        "title": "♻️ Incremental Mode",
                        "type": "boolean",
                        "description": "Compare against previous run state. stateKey is optional — defaults to a stable identifier derived from your search inputs (queries, locations, startUrls, country) so different filter sets never share state.",
                        "default": false
                    },
                    "stateKey": {
                        "title": "🔑 State Key",
                        "type": "string",
                        "description": "Optional. Stable identifier for the tracked search universe (e.g. \"us-software-nyc\"). Leave empty to auto-generate from search inputs."
                    },
                    "emitUnchanged": {
                        "title": "♻️ Emit Unchanged Records",
                        "type": "boolean",
                        "description": "When incremental, also emit records that haven't changed.",
                        "default": false
                    },
                    "emitExpired": {
                        "title": "⚰️ Emit Expired Records",
                        "type": "boolean",
                        "description": "When incremental, also emit records no longer found.",
                        "default": false
                    },
                    "skipReposts": {
                        "title": "🚫 Skip Reposts",
                        "type": "boolean",
                        "description": "When incremental, skip listings whose content matches an expired listing from a prior run (cross-run duplicate detection).",
                        "default": false
                    },
                    "telegramToken": {
                        "title": "🔑 Telegram Bot Token",
                        "type": "string",
                        "description": "Telegram bot token (from @BotFather). Required for Telegram notifications."
                    },
                    "telegramChatId": {
                        "title": "💬 Telegram Chat ID",
                        "type": "string",
                        "description": "Telegram chat or channel ID (e.g. \"-100123456789\"). Required when telegramToken is set."
                    },
                    "discordWebhookUrl": {
                        "title": "🎮 Discord Webhook URL",
                        "type": "string",
                        "description": "Discord incoming webhook URL. Server Settings → Integrations → Webhooks → New Webhook."
                    },
                    "slackWebhookUrl": {
                        "title": "💼 Slack Webhook URL",
                        "type": "string",
                        "description": "Slack incoming webhook URL. api.slack.com/messaging/webhooks."
                    },
                    "notificationLimit": {
                        "title": "📊 Max Listings Per Notification",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Maximum number of listings included in each notification message (1–20).",
                        "default": 5
                    },
                    "notifyOnlyChanges": {
                        "title": "🔄 Notify Only New/Updated",
                        "type": "boolean",
                        "description": "When Incremental Mode is on, only send notifications for NEW and UPDATED listings. Has no effect outside incremental mode.",
                        "default": false
                    },
                    "whatsappAccessToken": {
                        "title": "📱 WhatsApp Access Token",
                        "type": "string",
                        "description": "WhatsApp Cloud API permanent access token (System User token from Meta Business). Recipient must have messaged the business number within the last 24h (service-conversation window — free since Nov 2024)."
                    },
                    "whatsappPhoneNumberId": {
                        "title": "📞 WhatsApp Phone Number ID",
                        "type": "string",
                        "description": "Your WhatsApp Business phone-number ID (numeric, from Meta dashboard). Required when whatsappAccessToken is set."
                    },
                    "whatsappTo": {
                        "title": "📲 WhatsApp Recipient",
                        "type": "string",
                        "description": "Recipient phone in E.164 format without + (e.g. \"436641234567\"). Recipient must have messaged your business number within last 24h."
                    },
                    "webhookUrl": {
                        "title": "🪝 Generic Webhook URL",
                        "type": "string",
                        "description": "Receives a JSON POST with {metadata, items} after each run. Universal escape hatch for n8n / Make / Zapier / custom backends."
                    },
                    "webhookHeaders": {
                        "title": "📋 Webhook Headers",
                        "type": "object",
                        "description": "Optional JSON object of custom headers (e.g. {\"Authorization\":\"Bearer ...\"})."
                    },
                    "excludeEmptyFields": {
                        "title": "🧹 Exclude Empty Fields From Output",
                        "type": "boolean",
                        "description": "Drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards.",
                        "default": false
                    },
                    "appConnector": {
                        "title": "📤 Send Results to a Connected App",
                        "type": "string",
                        "description": "Optional. Pick a connected app under Settings → API & Integrations to receive your results (including any contact details). Best-effort across MCP connectors as Apify expands its catalog."
                    },
                    "mcpIssueTeam": {
                        "title": "🎫 Issue Tracker Team",
                        "type": "string",
                        "description": "Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
