# Ameli Health Directory · Practitioners by Specialty & City (`corent1robert/ameli-practitioners-scraper`) Actor

Collect French health practitioners from the official Ameli directory. Filter by specialty, department, or city. Get names, phone numbers (mobile 06/07), addresses, sector — export-ready. No login needed.

- **URL**: https://apify.com/corent1robert/ameli-practitioners-scraper.md
- **Developed by:** [Corentin Robert](https://apify.com/corent1robert) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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.md):

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

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.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/platform/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

## Ameli Health Directory Scraper

Collect French health practitioners from the **official Ameli Annuaire Santé** (`annuairesante.ameli.fr`) — names, phone numbers (including mobile 06/07), addresses, convention sector, and practice type.

**60,000+ practitioners** across 30 medical specialties. Filter by specialty and location. Export-ready dataset, one row per practitioner.

**No login required. No API key. Public data only.**

---

### What you get


| Field                    | Description                                                     |
| ------------------------ | --------------------------------------------------------------- |
| `fullName`               | Full name with civility (M / Mme)                               |
| `raisonSociale`          | Cabinet or group practice name                                  |
| `specialite`             | Medical specialty                                               |
| `phone`                  | Phone number                                                    |
| `phoneType`              | `mobile` (06/07) or `landline`                                  |
| `voie`                   | Street address                                                  |
| `codePostal`             | Postal code                                                     |
| `ville`                  | City                                                            |
| `latitude` / `longitude` | GPS coordinates                                                 |
| `secteur`                | Convention sector: Secteur 1, Secteur 2, or Non conventionné    |
| `carteVitale`            | Accepts Carte Vitale (`true` / `false`)                         |
| `natureExercice`         | Practice type: Libéral intégral, Libéral activité salarié, etc. |
| `dateDebutExercice`      | Start date of current practice                                  |


---

### Quick start

1. Open the Actor and click **Start**
2. Pick a medical specialty from the dropdown (e.g. Médecin généraliste)
3. Choose a location — all of France, or a department (e.g. `75` for Paris, `69` for Lyon)
4. Optionally filter by mobile numbers only, independent practitioners, Carte Vitale, etc.
5. Click **Start** — results appear in the dataset in real time

---

### Input

#### Specialty

Select one or more specialties from the dropdown — généralistes, cardiologues, kinésithérapeutes, psychiatres, pédiatres, ORL, orthodontistes, orthoptistes, gériatres, and more. All specialties that return results in the Ameli directory are available.

You can combine several specialties in one run — results are merged and deduplicated automatically.

#### Location


| Option            | How to use                                                                                           |
| ----------------- | ---------------------------------------------------------------------------------------------------- |
| **All of France** | Default — covers all of metropolitan France                                                          |
| **By department** | Enter one or more department codes: `75` (Paris), `69` (Lyon), `13` (Marseille), `971` (Guadeloupe)… |


#### Filters


| Filter                         | What it does                                                  |
| ------------------------------ | ------------------------------------------------------------- |
| Mobile numbers only (06/07)    | Keep only practitioners reachable by mobile                   |
| Has phone number               | Keep only practitioners with any phone listed                 |
| Independent practitioners only | Keep only fully self-employed (`Libéral intégral`)            |
| Accepts Carte Vitale           | Keep only practitioners who accept the health card            |
| Max results                    | Cap the number of results — leave empty to collect everything |


---

### Example inputs

**Généralistes with mobile numbers across France (Console):**

```json
{
  "profession": "37",
  "locationMode": "all_france",
  "mobileOnly": true,
  "liberalOnly": true
}
````

**Psychiatres in the South-West (Console):**

```json
{
  "profession": "58",
  "locationMode": "department",
  "departments": ["33", "31", "34"]
}
```

**Multiple specialties at once — API / JSON only:**

```json
{
  "professions": ["8", "35", "58"],
  "locationMode": "department",
  "departments": ["75", "69"]
}
```

***

### Output sample

```json
{
  "fullName": "M Jean DUPONT",
  "raisonSociale": "Cabinet Médical du Centre",
  "specialite": "Médecin généraliste",
  "phone": "0612345678",
  "phoneType": "mobile",
  "voie": "12 rue de la Paix",
  "codePostal": "75001",
  "ville": "Paris",
  "secteur": "Secteur 1",
  "carteVitale": true,
  "natureExercice": "Libéral intégral"
}
```

***

### Performance

| Scope                     | Approx. results | Run time     |
| ------------------------- | --------------- | ------------ |
| 1 department              | 50–500          | < 30 seconds |
| All France, 1 specialty   | 1,000–70,000    | 2–5 minutes  |
| All France, 3 specialties | 10,000–150,000  | 8–15 minutes |

***

### Important notes

- **Public data only** — sourced from `annuairesante.ameli.fr`, the official Assurance Maladie directory
- **Coverage** — metropolitan France + DOM-TOM (Guadeloupe, Martinique, Guyane, Réunion, Mayotte)
- **Phone availability** — not every practitioner has a phone number listed; use the phone filters to keep only contactable records
- **Sector 2 / Non conventionné** — some practitioners charge above the standard rate; the `secteur` field identifies them
- **GPS coordinates** — present for most practitioners; may be `null` for recently registered records

***

### Support

Need a custom specialty, enrichment pipeline, or help with your data?
Contact <corentin@outreacher.fr>

# Actor input Schema

## `profession` (type: `string`):

Choose the specialty to collect. Select **All specialties** to export the full directory in one run.

## `locationMode` (type: `string`):

**All of France** — full metropolitan coverage (slower, 5–10 min per specialty).

**By department** — fastest for targeted prospecting. Enter one or more department codes below.

## `departments` (type: `array`):

Enter one or more French department codes — one per line.

**Examples:** `75` (Paris), `69` (Lyon), `13` (Marseille), `971` (Guadeloupe).

Corsica: `2A`, `2B`. DOM-TOM: `971`–`976`.

## `mobileOnly` (type: `boolean`):

Keep only practitioners who have a mobile phone number (starting with 06 or 07). Ideal for SMS outreach or direct contact.

## `hasPhone` (type: `boolean`):

Keep only practitioners who have any phone number listed in the directory — mobile or landline.

## `liberalOnly` (type: `boolean`):

Keep only practitioners with status `Libéral intégral` — those working exclusively in their own private practice. Excludes hospital-based and mixed salaried/private practitioners.

## `acceptsCarteVitale` (type: `boolean`):

Keep only practitioners who accept the French health insurance card (Carte Vitale).

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

Stop collecting after this many practitioners. Leave empty (or remove this field) to collect everything.

**Tip:** Set to `100` to test your configuration before a large run.

## Actor input object example

```json
{
  "profession": "37",
  "locationMode": "all_france",
  "departments": [
    "75"
  ],
  "mobileOnly": false,
  "hasPhone": false,
  "liberalOnly": false,
  "acceptsCarteVitale": false,
  "maxResults": 500
}
```

# Actor output Schema

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

All collected practitioners — one row per practitioner.

## `runLog` (type: `string`):

Live progress log: phases, counts, and duration.

# 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 = {
    "profession": "37",
    "departments": [
        "75"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("corent1robert/ameli-practitioners-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 = {
    "profession": "37",
    "departments": ["75"],
}

# Run the Actor and wait for it to finish
run = client.actor("corent1robert/ameli-practitioners-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 '{
  "profession": "37",
  "departments": [
    "75"
  ]
}' |
apify call corent1robert/ameli-practitioners-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Ameli Health Directory · Practitioners by Specialty & City",
        "description": "Collect French health practitioners from the official Ameli directory. Filter by specialty, department, or city. Get names, phone numbers (mobile 06/07), addresses, sector — export-ready. No login needed.",
        "version": "1.2",
        "x-build-id": "SIKCh6gJoeyVDi3zT"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/corent1robert~ameli-practitioners-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-corent1robert-ameli-practitioners-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/corent1robert~ameli-practitioners-scraper/runs": {
            "post": {
                "operationId": "runs-sync-corent1robert-ameli-practitioners-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/corent1robert~ameli-practitioners-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-corent1robert-ameli-practitioners-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": {
                    "profession": {
                        "title": "Medical specialty",
                        "enum": [
                            "ALL",
                            "37",
                            "20",
                            "21",
                            "35",
                            "32",
                            "58",
                            "51",
                            "62",
                            "66",
                            "52",
                            "61",
                            "8",
                            "22",
                            "28",
                            "54",
                            "60",
                            "27",
                            "48",
                            "57",
                            "64",
                            "24",
                            "50",
                            "17",
                            "14",
                            "15",
                            "47",
                            "67",
                            "69",
                            "46",
                            "53",
                            "29",
                            "68",
                            "11",
                            "55",
                            "74",
                            "75",
                            "72",
                            "9"
                        ],
                        "type": "string",
                        "description": "Choose the specialty to collect. Select **All specialties** to export the full directory in one run.",
                        "default": "37"
                    },
                    "locationMode": {
                        "title": "Location mode",
                        "enum": [
                            "all_france",
                            "department"
                        ],
                        "type": "string",
                        "description": "**All of France** — full metropolitan coverage (slower, 5–10 min per specialty).\n\n**By department** — fastest for targeted prospecting. Enter one or more department codes below.",
                        "default": "all_france"
                    },
                    "departments": {
                        "title": "Department code(s)",
                        "type": "array",
                        "description": "Enter one or more French department codes — one per line.\n\n**Examples:** `75` (Paris), `69` (Lyon), `13` (Marseille), `971` (Guadeloupe).\n\nCorsica: `2A`, `2B`. DOM-TOM: `971`–`976`.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "mobileOnly": {
                        "title": "Mobile numbers only (06 / 07)",
                        "type": "boolean",
                        "description": "Keep only practitioners who have a mobile phone number (starting with 06 or 07). Ideal for SMS outreach or direct contact.",
                        "default": false
                    },
                    "hasPhone": {
                        "title": "Has phone number (any)",
                        "type": "boolean",
                        "description": "Keep only practitioners who have any phone number listed in the directory — mobile or landline.",
                        "default": false
                    },
                    "liberalOnly": {
                        "title": "Independent practitioners only",
                        "type": "boolean",
                        "description": "Keep only practitioners with status `Libéral intégral` — those working exclusively in their own private practice. Excludes hospital-based and mixed salaried/private practitioners.",
                        "default": false
                    },
                    "acceptsCarteVitale": {
                        "title": "Accepts Carte Vitale",
                        "type": "boolean",
                        "description": "Keep only practitioners who accept the French health insurance card (Carte Vitale).",
                        "default": false
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Stop collecting after this many practitioners. Leave empty (or remove this field) to collect everything.\n\n**Tip:** Set to `100` to test your configuration before a large run."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
