# Italy Schools Directory – Official MIUR Registry (`orchestrated_daffodil/italy-schools-registry`) Actor

All Italian state and paritarie schools from the official Ministry of Education open data: school code, level, institute, address, institutional e-mail, PEC and website. Filter by municipality, province, region or level. No personal data.

- **URL**: https://apify.com/orchestrated_daffodil/italy-schools-registry.md
- **Developed by:** [Daffodil Data](https://apify.com/orchestrated_daffodil) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 school returneds

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

## Italy Schools Directory – Official MIUR Registry

**What it does:** returns every Italian **state school and paritaria** (62,850 schools and school sites in the 2026/27 registry) from the official open data of the Italian Ministry of Education (Ministero dell'Istruzione e del Merito): school code, name, level, reference institute, address, municipality, institutional e-mail, PEC and website. Filter by municipality, province, region, level or name.

**What it costs:** $0.002 per school – **1,000 schools = $2** (plus a tiny $0.00005 start fee per run). Apify Silver plan: −10%, Gold/Platinum/Diamond: −20%. Schools filtered out are free.

**Real output example** (run of 20 Nov 2026 with input `{"municipalities": ["Sanremo"]}` – 56 schools (49 state, 7 paritarie), about 50 seconds; one row shown, some fields omitted):

```json
{
  "schoolCode": "IMIC81500V",
  "schoolName": "I.C. SANREMO PONENTE",
  "schoolType": "state",
  "level": "ISTITUTO COMPRENSIVO",
  "institutionCode": "IMIC81500V",
  "isHeadOffice": true,
  "address": "VIA PANIZZI 4",
  "postalCode": "18038",
  "municipality": "SANREMO",
  "province": "IMPERIA",
  "region": "LIGURIA",
  "email": "imic81500v@istruzione.it",
  "pec": null,
  "website": "https://www.icsanremoponente.edu.it",
  "schoolYear": "2026/27"
}
```

### Why use it

- **Official, current data:** read directly from the Ministry's open data portal (dati.istruzione.it), the latest school year published by default (older years on request).
- **School sites, not just institutes:** each primary school, kindergarten, lower and upper secondary school (plesso) is a separate row, linked to its reference institute (istituto comprensivo, istituto superiore...).
- **State and paritarie:** both registries, including the autonomous provinces of Aosta, Trento and Bolzano.
- **Institutional contacts only (GDPR):** the registry contains no names of people. E-mails that look like personal webmail boxes are removed; ministry, school-domain and clearly institutional addresses are kept.

Typical uses: education suppliers and publishers, ed-tech sales, school mapping and research, local services, data journalism.

### Input

| Field | Description |
|---|---|
| `municipalities` | Municipality names, e.g. `Sanremo`, `Milano`. |
| `provinces` | Province names in full, e.g. `Imperia`, `Roma`. |
| `regions` | Region names, e.g. `Liguria`, `Sicilia`. |
| `schoolTypes` | `state` and/or `paritaria` (default both). |
| `levels` | Words in the school level, e.g. `INFANZIA`, `PRIMARIA`, `PRIMO GRADO`, `LICEO`, `ISTITUTO TECNICO`. |
| `search` | Words in the school or institute name, or the school code. |
| `onlyHeadOffices` | Only state schools that are the head office of their institute (one row per institute). |
| `requireEmail` | Only schools with an e-mail or PEC. |
| `schoolYear` | e.g. `2025/26`. Empty = latest. |
| `maxItems` | Maximum schools to save (default 50 when not set). |

Example – all licei in the province of Genova:

```json
{ "provinces": ["Genova"], "levels": ["LICEO"], "maxItems": 1000 }
```

### Output fields

`schoolCode`, `schoolName`, `schoolType`, `level`, `characteristic`, `institutionCode`, `institutionName`, `isHeadOffice`, `isSchoolSite`, `omnicomprensivoCode`, `address`, `postalCode`, `municipality`, `municipalityCode` (cadastral code), `province`, `region`, `area`, `email`, `pec`, `website`, `schoolYear`, `source`, `license`.

Download as JSON, CSV, Excel or via the Apify API.

### FAQ

**How fresh is the data?** The Ministry publishes the registry once per school year (usually around 1 September) and the Actor always reads the newest file it lists.

**Why do some schools have no e-mail or PEC?** Either the Ministry publishes none ("Non Disponibile") or the address looked like a personal mailbox and was removed for privacy. Note: in the 2026/27 file the Ministry publishes PEC addresses for paritarie (7,048 of 11,331) but almost none for state schools (2 of 50,273); state schools have their institutional e-mail (49,393 of 50,273) and usually a website. For the PEC of state institutes use IndicePA (see below).

**Is it legal to reuse?** Yes. The data is published under the **Italian Open Data Licence 2.0 (IODL 2.0)**, which allows reuse, including commercial reuse, with attribution. Please credit: *Source: Ministero dell'Istruzione e del Merito – Portale Unico dei Dati della Scuola (IODL 2.0)*. Each row carries this in the `source` field. This Actor is not affiliated with the Ministry.

**Need institute-level PEC and e-invoicing codes?** See our *Italy Public Administration Directory* Actor (IndicePA).

# Actor input Schema

## `municipalities` (type: `array`):

Optional. Italian municipality names, e.g. Sanremo, Milano, Roma. Case and accents are ignored.

## `provinces` (type: `array`):

Optional. Province names in full, e.g. Imperia, Milano, Roma (not the 2-letter code).

## `regions` (type: `array`):

Optional. Region names, e.g. Liguria, Lombardia, Sicilia.

## `schoolTypes` (type: `array`):

State schools (scuole statali) and/or paritarie (non-state schools recognised by the State).

## `levels` (type: `array`):

Optional. Words contained in the school level/type, e.g. INFANZIA, PRIMARIA, PRIMO GRADO, LICEO, ISTITUTO TECNICO, ISTITUTO COMPRENSIVO.

## `search` (type: `string`):

Optional. Words that must appear in the school name, institute name or school code.

## `onlyHeadOffices` (type: `boolean`):

Return only state schools that are the head office (sede direttiva) of their institute – one row per institute.

## `requireEmail` (type: `boolean`):

Skip schools without an institutional e-mail or PEC.

## `schoolYear` (type: `string`):

Optional. School year like 2025/26. Leave empty for the latest year published.

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

Maximum number of schools to save (you pay per school).

## Actor input object example

```json
{
  "municipalities": [
    "Sanremo"
  ],
  "schoolTypes": [
    "state",
    "paritaria"
  ],
  "onlyHeadOffices": false,
  "requireEmail": false,
  "maxItems": 500
}
```

# Actor output Schema

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

Dataset with all matching schools

# 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 = {
    "municipalities": [
        "Sanremo"
    ],
    "maxItems": 500
};

// Run the Actor and wait for it to finish
const run = await client.actor("orchestrated_daffodil/italy-schools-registry").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 = {
    "municipalities": ["Sanremo"],
    "maxItems": 500,
}

# Run the Actor and wait for it to finish
run = client.actor("orchestrated_daffodil/italy-schools-registry").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 '{
  "municipalities": [
    "Sanremo"
  ],
  "maxItems": 500
}' |
apify call orchestrated_daffodil/italy-schools-registry --silent --output-dataset

```

## MCP server setup

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

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/H6noBzRiw4M14IRTt/builds/NdscEKQmjMmhlljiO/openapi.json
