# Lombardy state school institutes – one contact per institute

**Use case:** 

One row per state school institute in Lombardy: the institute headquarters (sede di direttivo, i.e. the principal's office) instead of every branch, with official code, address, institutional email, PEC and website. Ideal to reach school management without duplicates. Data from the official open data of the Italian Ministry of Education and Merit (MIM, ex MIUR).

## Input

```json
{
  "schoolType": "STATE",
  "regions": [
    "Lombardia"
  ],
  "provinces": [],
  "municipalities": [],
  "levels": [],
  "nameContains": "",
  "onlyWithEmail": false,
  "onlyMainSites": true,
  "maxResults": 0
}
```

## Output

```json
{
  "schoolCode": {
    "label": "Code"
  },
  "name": {
    "label": "School"
  },
  "ownership": {
    "label": "Type"
  },
  "level": {
    "label": "Level"
  },
  "stage": {
    "label": "Stage"
  },
  "municipality": {
    "label": "City"
  },
  "province": {
    "label": "Province"
  },
  "region": {
    "label": "Region"
  },
  "address": {
    "label": "Address"
  },
  "postalCode": {
    "label": "ZIP"
  },
  "email": {
    "label": "Email"
  },
  "pec": {
    "label": "PEC"
  },
  "website": {
    "label": "Website",
    "format": "link"
  },
  "instituteCode": {
    "label": "Institute code"
  },
  "instituteName": {
    "label": "Institute"
  },
  "isInstituteHeadquarters": {
    "label": "HQ",
    "format": "boolean"
  },
  "schoolYear": {
    "label": "Year"
  },
  "source": {
    "label": "Source"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Italian Schools Directory – Contacts, PEC & MIUR Open Data Actor is ready to run with the inputs already set for "Lombardy state school institutes – one contact per institute". [Sign up or log in](https://console.apify.com/create-task-from-example/NV1pfnTlvBMzIb6nc) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Lombardy state school institutes – one contact per institute" task

The Italian Schools Directory – Contacts, PEC & MIUR Open Data Actor will start running based on the input automatically. You can also change all the input fields, like school type / tipo di scuola, regions / regioni, and more, to match your specific use case.

### 3. Receive the "Lombardy state school institutes – one contact per institute" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as code, school, type, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Lombardy state school institutes – one contact per institute" task via API](https://apify.com/reckoning89/italian-schools-directory.md).

## About this Actor

This example demonstrates how to use [Italian Schools Directory – Contacts, PEC & MIUR Open Data](https://apify.com/reckoning89/italian-schools-directory.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/reckoning89/italian-schools-directory.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/reckoning89/italian-schools-directory.md

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`).
