# France Schools Directory – Emails, Phones, Sections (`bstandco/france-schools-directory`) Actor

All 68,000 French schools, middle and high schools from the official Ministry directory: email, phone, website, GPS, public or private, sections, canteen, boarding. Filter by area, type and features. Updated daily.

- **URL**: https://apify.com/bstandco/france-schools-directory.md
- **Developed by:** [BSTAndCo](https://apify.com/bstandco) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 schools

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/running/actors-in-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 – Emails, Phones, Sections

Get **every French school, middle school (collège) and high school (lycée)** from the **official directory of the Ministry of Education**, updated **every day**: about **68,000 establishments**, public and private, with **email, phone, website, address and GPS**.

Filter by **area** (department, city, postal code or radius around a point), **type**, **public or private** status, **private contract**, **sections** (sport, international, European, arts…), **tracks** (general, technological, vocational, post-bac), **canteen, boarding**, **priority education** (REP / REP+) and **opening date**.

### Who is it for?

- **EdTech and school suppliers**: build a targeted list of schools to contact, for example every private high school in a region.
- **School photographers, school trips, catering and transport companies**: find all schools around your base, sorted by distance.
- **Tutoring and guidance businesses**: map high schools with post-bac courses or international sections.
- **Researchers, journalists and local authorities**: count and map establishments by area and type.

### What data do you get?

| Field | Example |
|---|---|
| `uai`, `name`, `type`, `nature` | 0690026D, Lycée du Parc, Lycée, LYCEE D ENSEIGNEMENT GENERAL |
| `status`, `privateContract` | public / private, contract with the State |
| `address`, `postalCode`, `city`, `inseeCode` | full address |
| `department`, `departmentName`, `academy`, `region` | 69, Rhône, Lyon, Auvergne-Rhône-Alpes |
| `email`, `emailType` | ce.0690026D@ac-lyon.fr, `academic`, `other` or `withheld_personal` |
| `phone`, `website`, `onisepUrl`, `siret` | contact details and official identifiers |
| `latitude`, `longitude`, `distanceKm` | GPS, and distance when you search around a point |
| `priorityEducation` | REP, REP+ or empty |
| `levels` | nursery, elementary (primary schools) |
| `features` | canteen, boarding, tracks, post-bac, sport, international, European, arts sections, ULIS, SEGPA… |
| `openedAt`, `updatedAt` | opening date, last update in the official directory |

### How to use

All high schools in the Rhône with a sport section:

```json
{
  "establishmentTypes": ["Lycée"],
  "departments": ["69"],
  "features": ["sport_section"],
  "maxResults": 500
}
```

Every school within 10 km of central Lyon, closest first:

```json
{
  "latitude": "45.7640",
  "longitude": "4.8357",
  "radiusKm": 10,
  "maxResults": 1000
}
```

Private schools outside contract (Montessori, bilingual…) in Paris with an email:

```json
{
  "status": "private",
  "privateContract": "outside_contract",
  "cities": ["Paris"],
  "onlyWithEmail": true
}
```

**Tips**

- Leave the establishment types empty to get primary schools, middle schools and high schools.
- Paris, Lyon and Marseille include their arrondissements.
- Use `onlyAcademicEmails` to keep only official addresses such as `ce.0690026D@ac-lyon.fr`.
- Schedule it with `openedAfter` to follow new schools as they open.

### Pricing

Pay per result: you are charged once per establishment returned.

### Emails and privacy

The emails are the **contact addresses of the establishments**, published by the Ministry in its open directory. Most are official academic addresses. No names of principals, teachers or pupils are included.

**Addresses that look like a person's** (firstname.lastname@…), which some small private schools publish, are **withheld** (`email` empty, `emailType: withheld_personal`), whatever the options. With `onlyWithEmail`, these establishments are skipped and not charged. If you use the emails for prospecting, follow the GDPR and the CNIL rules on B2B emails: a relevant message, and an easy way to unsubscribe.

### Source

**Annuaire de l'éducation**, Ministry of National Education, via data.education.gouv.fr, under the **Licence Ouverte v2.0 (Etalab)**, which allows commercial reuse. Every result includes its source.

*Not affiliated with the French government.*

# Actor input Schema

## `establishmentTypes` (type: `array`):

Leave empty for primary schools, middle schools (collèges) and high schools (lycées).

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

Public establishments, private ones, or both.

## `privateContract` (type: `string`):

For private schools: under contract with the State (most Catholic schools) or outside contract (Montessori, bilingual, alternative schools…).

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

Department numbers, e.g. 15, 69, 2A, 974.

## `postalCodes` (type: `array`):

French postal codes, e.g. 75013.

## `cities` (type: `array`):

City names, e.g. Lyon, Saint-Étienne. Paris, Lyon and Marseille include their arrondissements.

## `latitude` (type: `string`):

Centre of a radius search, e.g. 45.7640. Use with longitude and radius. Results are sorted by distance.

## `longitude` (type: `string`):

Centre of a radius search, e.g. 4.8357.

## `radiusKm` (type: `integer`):

Radius around the latitude and longitude, from 1 to 200 km.

## `nameKeywords` (type: `array`):

Words in the establishment name, e.g. Montessori, Saint-Joseph, agricole.

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

Keep only establishments that have all of these.

## `priorityEducation` (type: `array`):

Only establishments in priority education networks.

## `onlyWithEmail` (type: `boolean`):

Skip establishments without a published email.

## `onlyAcademicEmails` (type: `boolean`):

Keep only official addresses such as ce.0690001a@ac-lyon.fr (drops private addresses like Gmail).

## `openedAfter` (type: `string`):

Only establishments opened on or after this date, format YYYY-MM-DD, e.g. 2025-09-01.

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

Maximum number of establishments returned.

## Actor input object example

```json
{
  "establishmentTypes": [
    "Lycée"
  ],
  "status": "all",
  "privateContract": "any",
  "departments": [
    "69"
  ],
  "radiusKm": 5,
  "onlyWithEmail": false,
  "onlyAcademicEmails": false,
  "maxResults": 50
}
```

# Actor output Schema

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

French schools with type, public or private status, city, email and phone.

## `results` (type: `string`):

Every field: address, GPS, sections, features, levels, dates (JSON).

# 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 = {
    "establishmentTypes": [
        "Lycée"
    ],
    "departments": [
        "69"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bstandco/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 = {
    "establishmentTypes": ["Lycée"],
    "departments": ["69"],
}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bstandco/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/0RzuPdN6z210ereen/builds/ogIrV0TaaAQrHFgj7/openapi.json
