# France Schools Directory (`euroscrape/france-schools-directory`) Actor

Official directory of French schools: primary, middle and high schools with address, phone, institutional email, website, SIRET, public or private status, boarding, sections and GPS. Filter by department, town or academy. Monitor new or changed schools. Unofficial.

- **URL**: https://apify.com/euroscrape/france-schools-directory.md
- **Developed by:** [EuroScrape](https://apify.com/euroscrape) (community)
- **Categories:** Lead generation
- **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 school results

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

## France Schools Directory

Get the official directory of French schools: primary schools, middle schools (collèges) and high schools (lycées), public and private. One row per school with its address, phone, institutional email, website, SIRET, status, academy, GPS position and declared features (boarding, canteen, international section, apprenticeship…). Filter by department, post code, town, academy, type or feature. Schedule it to be told about new or changed records.

### At a glance

- **Source:** the education directory (annuaire de l'éducation) published by the French Ministry of National Education on data.education.gouv.fr under the Licence Ouverte 2.0.
- **One row per** school site. A few establishments have several sites under the same UAI code: each site has its own row.
- **Price:** $0.003 per school plus $0.003 per run. **The first 10 schools of every run are free.**
- **Institutional contacts only:** no head teacher or staff names. Email addresses that look personal are removed.
- **Monitoring:** give a `monitorName` and the next runs return only new or changed schools.

### Who uses it

- Edtech and textbook publishers building a list of schools by level, status or territory.
- School catering companies, furniture and equipment suppliers.
- Tutoring, language-stay and school-trip providers.
- Local authorities, researchers and journalists mapping the school offer.
- Parents and relocation services looking for schools with boarding, an international section or a given option.

### Data Report (28 Nov 2026)

Counted on 28 Nov 2026 from a full run of this Actor (63,153 rows):

| Type | Public | Private | All rows |
|---|---|---|---|
| Primary schools | 42,501 | 5,825 | 48,328 |
| Middle schools | 6,849 | 2,329 | 9,178 |
| High schools | 3,464 | 2,179 | 5,647 |

Six rows have no public/private status in the source. Of the 63,153 rows, 62,523 have a phone number, 62,119 an email (after the filter on personal-looking addresses), 60,284 a SIRET and 10,839 a website. 3,165 high school rows declare boarding, 2,426 a European section and 143 an international section.

Primary / middle / high schools by department: Rhône (69) 1,029 / 234 / 163, Paris (75) 833 / 230 / 243, Bouches-du-Rhône (13) 1,239 / 242 / 172, Lozère (48) 103 / 19 / 16.

### What you get

A real row from 28 Nov 2026:

```json
{
  "uai": "0740003B",
  "name": "Lycée général Berthollet",
  "type": "High school",
  "typeFr": "Lycée",
  "nature": "LYCEE D ENSEIGNEMENT GENERAL",
  "status": "public",
  "contractType": null,
  "address": "9 boulevard du lycée, BP 316",
  "postcode": "74008",
  "city": "Annecy",
  "inseeCode": "74010",
  "departmentCode": "74",
  "department": "Haute-Savoie",
  "academy": "Grenoble",
  "region": "Auvergne-Rhône-Alpes",
  "phone": "04 50 51 38 64",
  "email": "ce.0740003B@ac-grenoble.fr",
  "website": "https://lycee-berthollet-annecy.web.ac-grenoble.fr/",
  "siret": "19740003900016",
  "priorityEducation": null,
  "features": {
    "nurserySchool": null, "elementarySchool": null, "canteen": true, "boarding": true,
    "specialNeedsUnit": false, "adaptedClasses": false, "generalTrack": true,
    "technologicalTrack": false, "vocationalTrack": false, "postBac": true,
    "apprenticeship": false, "adultEducation": true, "internationalSection": false,
    "europeanSection": true, "sportsSection": false, "artsOption": true,
    "cinemaOption": false, "theatreOption": false, "agricultural": false,
    "military": false, "tradesLabel": false, "priorityEducation": false
  },
  "openingDate": "1965-05-01",
  "latitude": 45.905923030227484,
  "longitude": 6.127643950443313,
  "onisepUrl": "https://www.onisep.fr/http/redirection/etablissement/slug/ENS.13878",
  "sourceUrl": "https://data.education.gouv.fr/explore/dataset/fr-en-annuaire-education/table/?q=0740003B",
  "scrapedAt": "2026-11-28T14:03:17.219Z"
}
```

A feature is `null` when the source says nothing for that kind of school. In a monitor run, each row also has `change` (`new` or `updated`).

### Input

Example: middle and high schools of the Rhône department.

```json
{
  "locations": ["69"],
  "types": ["Collège", "Lycée"],
  "maxItems": 50
}
```

| Field | What it does |
|---|---|
| `locations` | Department codes (69, 2A, 971), post codes (69003) or town names (Annecy). Any of them matches. Empty = all France. |
| `academies` | School districts, for example Lyon, Versailles, Créteil. Combined with `locations` (both must match). |
| `types` | `Ecole` (primary), `Collège`, `Lycée` (default: these three), `EREA`, `Médico-social`, `Information et orientation`, `Service Administratif`, `Autre`. Empty list = every type. |
| `status` | `all`, `public` or `private`. |
| `features` | Keep only schools that have all of them: `boarding`, `canteen`, `internationalSection`, `europeanSection`, `apprenticeship`, `priorityEducation`… (full list in the input form). |
| `maxItems` | Cap on the number of rows (default 100, up to 80,000). |
| `monitorName` | Return only new or changed schools since the previous run with this name. |
| `webhookUrl`, `slackWebhookUrl`, `discordWebhookUrl`, `telegramBotToken` + `telegramChatId` | Alerts on new or changed schools of a monitor. |

Rows are ordered by UAI code (very large selections: department by department).

### Pricing

$0.003 per school and $0.003 per run start. The first 10 schools of each run are free.

### Limits

- **No pupil counts**, staff numbers, results or rankings: they are not in this directory.
- The data is declared to the Ministry and its freshness varies from one school to another. Check an important detail with the school.
- The source rewrites its update date every day, so no "last updated" field is given. A monitor compares the content of each record instead.
- Only the establishments listed in the directory are returned; it is not a history of closed schools.
- Some fields are empty in the source, websites especially.
- **Email filter:** addresses that look like a person's are removed, so `email` is sometimes empty. The filtering is automatic and best effort. You are responsible for complying with GDPR and with the rules on commercial prospecting in your use of the data.
- Monitoring remembers up to 60,000 rows: use it on a selection smaller than that (by territory or type), not on the whole country at once.
- Source: Ministry of National Education, annuaire de l'éducation, Licence Ouverte 2.0. Unofficial tool, not affiliated with the Ministry.

### FAQ

**How do I get all the high schools with boarding in France?** Set `types` to `["Lycée"]`, `features` to `["boarding"]`, leave `locations` empty and raise `maxItems` to 4000.

**Can I be told when a school appears or changes in my area?** Yes: set `locations` and a `monitorName`, add a webhook, then schedule the run weekly. The first run fills the monitor, alerts start with the next ones.

**What is the UAI code?** The national identifier of a French educational establishment. Use it to join these rows with other education datasets.

**Why are some values in French?** `typeFr`, `nature`, `contractType` and the place names are the labels of the official source.

# Actor input Schema

## `locations` (type: `array`):

French department codes ("69", "2A", "971"), post codes ("69003") or town names ("Annecy"). Any of them matches. Leave empty for all France.

## `academies` (type: `array`):

School districts (académies). Combined with the locations above (both must match). Leave empty for all.

## `types` (type: `array`):

Establishment types to keep. Default: primary, middle and high schools. Empty list = every type.

## `status` (type: `string`):

Keep public schools, private schools, or both.

## `features` (type: `array`):

Keep only schools that have ALL the selected features, as declared in the official directory.

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

Stop after this many schools. The first 10 of each run are free.

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

Give a name and schedule the run: each run then returns only schools that are new or whose record changed since the previous run with this name.

## `telegramBotToken` (type: `string`):

Token of your Telegram bot, for alerts on new or changed schools.

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

Chat that receives the alerts.

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

Discord channel webhook that receives the alerts.

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

Slack incoming webhook that receives the alerts.

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

Receives one POST per run with the new or changed schools: {"count": N, "items": \[...]}.

## `maxNotifications` (type: `integer`):

Upper limit of alert messages sent in one run.

## Actor input object example

```json
{
  "locations": [
    "69"
  ],
  "types": [
    "Ecole",
    "Collège",
    "Lycée"
  ],
  "status": "all",
  "maxItems": 100,
  "maxNotifications": 30
}
```

# Actor output Schema

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

One row per school.

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

Counts for this run.

# 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 = {
    "locations": [
        "69"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("euroscrape/france-schools-directory").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 = { "locations": ["69"] }

# Run the Actor and wait for it to finish
run = client.actor("euroscrape/france-schools-directory").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 '{
  "locations": [
    "69"
  ]
}' |
apify call euroscrape/france-schools-directory --silent --output-dataset

```

## MCP server setup

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

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/n0Jh3ErLvizPD8vff/builds/ZKiIfrWEaVDetVCgg/openapi.json
