# FINESS Scraper: French Health & Social Establishments (`euroscrape/finess-scraper`) Actor

List French hospitals, nursing homes (EHPAD), clinics, labs and social services from the official FINESS file. Filter by department, category, name, opening date. Address, SIRET, phone, GPS. Legal entities only.

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

## Pricing

from $2.10 / 1,000 french health or social establishment

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## FINESS Scraper: French Health & Social Establishments

Get the **FINESS** register, the official national file of French health, medico-social and social establishments, as one clean row per establishment: name, category, address, SIRET, phone, funding mode, opening date and GPS position.

Filter by department, category (EHPAD, hospital, laboratory, SSIAD…), name or town, opening date and update date. No account, no API key. Establishments (legal entities) only: pharmacies, whose name is often a pharmacist's own name, are left out on purpose.

### At a glance

- **Source:** the "FINESS - Structures" file published by the French Agence du Numérique en Santé on data.gouv.fr under the Licence Ouverte (the daily file when one is online, otherwise the latest monthly extract).
- **One row per establishment**, with its legal entity number, SIRET, APE code, funding mode and dates.
- **Price:** $0.003 per establishment + $0.003 per run. **First 10 establishments of every run are free.**
- **Public data only:** establishments and their switchboard phone, no individuals, no pharmacies.
- **Monitoring:** schedule it with `monitorName` and receive only establishments not delivered before.

### Data Report (29 Nov 2026)

Open establishments in the daily FINESS file dated 28 November 2026, pharmacies excluded:

| Slice | Establishments |
|---|---|
| All establishments | 84,842 |
| With a registered SIRET | 71,659 |
| Service autonomie aide (SAA) | 9,997 |
| Nursing homes for dependent elderly people (EHPAD, category 500) | 7,410 |
| Medical biology laboratories | 4,586 |
| Health centres | 3,597 |
| Opened in 2025 | 2,453 |
| Opened in 2026 | 1,516 |
| Paris (75) | 2,700 |
| Rhône (69) | 2,377 |
| EHPAD in Rhône (69) | 157 |

### What you get

| Field | Example |
|---|---|
| finessId, legalEntityFinessId | 690003702, 690024229 |
| name, longName | EHPAD IRENEE |
| categoryCode, category, categoryGroup | 500, Etablissement d'hébergement pour personnes âgées dépendantes |
| address, postCode, city, department, departmentName | 28 R SAINT IRENEE, 69690, BESSENAY, 69, RHONE |
| phone, siret | 0474708867, 39810366300017 |
| fundingCode, funding | 43, ARS/PCD, Tarif global… |
| legalStatus | public hospital service status, e.g. Etablissement public de santé (null for most rows) |
| apeCode | APE code of the legal entity |
| openingDate, authorizationDate, updatedAt | 2000-01-27, 2017-01-03, 2020-07-01 |
| latitude, longitude | 45.780941, 4.545861 (metropolitan France; null elsewhere) |
| fileDate, scrapedAt | extraction date of the file, collection time |

### Input

- **departments**: codes such as `75`, `69`, `2A`, `971`.
- **categories**: words (`EHPAD`, `hospital`, `clinic`, `laboratory`, `SSIAD`, `HAD`, or any word of the FINESS category label) or numeric category codes such as `500`.
- **keywords**: matched in the establishment name and town.
- **openedSince**, **updatedSince**: dates `YYYY-MM-DD`.
- **onlyWithSiret**: skip establishments without SIRET.
- **maxItems**: stop after N establishments.
- **monitorName**: schedule the Actor and receive only establishments not delivered before.

```json
{ "departments": ["69"], "categories": ["EHPAD"], "maxItems": 50 }
```

Example output row (nursing home, Rhône):

```json
{
  "finessId": "690003702",
  "legalEntityFinessId": "690024229",
  "name": "EHPAD IRENEE",
  "categoryCode": "500",
  "category": "Etablissement d'hébergement pour personnes âgées dépendantes",
  "address": "28 R SAINT IRENEE",
  "postCode": "69690",
  "city": "BESSENAY",
  "department": "69",
  "phone": "0474708867",
  "siret": "39810366300017",
  "apeCode": "8710A",
  "openingDate": "2000-01-27",
  "updatedAt": "2020-07-01",
  "latitude": 45.780941,
  "longitude": 4.545861
}
```

### Pricing

Pay per event: $0.003 per establishment, plus $0.003 per run. **The first 10 establishments of every run are free.** Volume discounts apply on higher Apify plans.

### Use cases

- Sales and marketing to the health and elder-care sector: build regional lists of EHPAD, clinics, laboratories or home-care services.
- Market research: size the care offer by department or category.
- Lead generation on new openings: filter by `openedSince` and monitor weekly.
- Enrichment: join establishments to companies through SIRET.

### FAQ

**Is this legal?** Yes. FINESS is public data published on data.gouv.fr under the French Licence Ouverte; the Actor returns establishments, never individuals.

**Why are there no pharmacies?** Their FINESS name is often the pharmacist's own name, so category 620 is excluded on purpose.

**How fresh is the data?** Each run reads the latest file published on data.gouv.fr: the daily file when one is online, otherwise the monthly extract; `fileDate` tells you which one. Only establishments in activity are returned.

**Why are latitude and longitude sometimes null?** Some establishments have no coordinates in the file, notably overseas.

**Why is `siret` empty on some rows?** Not every establishment has one registered.

**How do I get only new establishments?** Set `monitorName` and schedule the Actor.

### Limits

- No bed counts, capacity or contact e-mails: they are not in the open file.
- The file is published daily or monthly, not in real time.
- A few establishments have a category code without a label: `categoryCode` is filled and `category` is null.
- Every run downloads the full file (about 50 MB compressed), so a run takes up to a minute or so whatever the filters.

### Source and legality

Data comes from the [FINESS - Structures dataset](https://www.data.gouv.fr/fr/datasets/finess-structures-1/) published on data.gouv.fr by the Agence du Numérique en Santé under the Licence Ouverte (Etalab).

### Support

Open an issue from the Actor page for any question or missing field.

# Actor input Schema

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

French department codes, e.g. 75, 69, 2A, 971. Empty = all France.

## `categories` (type: `array`):

Words of the FINESS category (e.g. EHPAD, hospital, clinic, laboratory, SSIAD) or numeric category codes (e.g. 500). Empty = all categories. Pharmacies (620) are never returned.

## `keywords` (type: `array`):

Words searched in the establishment name and town (any of them). Empty = no filter.

## `openedSince` (type: `string`):

Only establishments opened on or after this date (YYYY-MM-DD). Useful to find new openings.

## `updatedSince` (type: `string`):

Only records modified in FINESS on or after this date (YYYY-MM-DD).

## `onlyWithSiret` (type: `boolean`):

Skip establishments without a registered SIRET.

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

Maximum number of establishments to return (each beyond the first 10 is charged).

## `monitorName` (type: `string`):

Optional. Give the same name on every run to receive only establishments not returned by earlier runs under that name.

## Actor input object example

```json
{
  "departments": [
    "69"
  ],
  "categories": [
    "EHPAD"
  ],
  "onlyWithSiret": false,
  "maxItems": 100
}
```

# Actor output Schema

## `overview` (type: `string`):

One row per establishment.

## `runSummary` (type: `string`):

Rows read and output.

# 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 = {
    "departments": [
        "69"
    ],
    "categories": [
        "EHPAD"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("euroscrape/finess-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 = {
    "departments": ["69"],
    "categories": ["EHPAD"],
    "maxItems": 100,
}

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

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

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

```

## CLI example

```bash
echo '{
  "departments": [
    "69"
  ],
  "categories": [
    "EHPAD"
  ],
  "maxItems": 100
}' |
apify call euroscrape/finess-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,euroscrape/finess-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/c4CgjxIcahWrBuaac/builds/BTO65xVeWYPEfr4iZ/openapi.json
