Italy Public Administration Directory – PEC & e-Invoicing avatar

Italy Public Administration Directory – PEC & e-Invoicing

Pricing

from $1.60 / 1,000 record returneds

Go to Apify Store
Italy Public Administration Directory – PEC & e-Invoicing

Italy Public Administration Directory – PEC & e-Invoicing

Official directory of Italian public bodies from IndicePA (AgID): Comuni, ASL, schools, universities, ministries and their offices, with institutional PEC, website, fiscal code and Codice Univoco Ufficio for e-invoicing. No personal data.

Pricing

from $1.60 / 1,000 record returneds

Rating

0.0

(0)

Developer

Daffodil Data

Daffodil Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

Italy Public Administration Directory – PEC & e-Invoicing Codes (IndicePA)

What it does: returns the official directory of Italian public administrations from IndicePA (AgID) – Comuni, ASL, schools, universities, ministries and their offices – with fiscal code, address, institutional PEC, website and the Codice Univoco Ufficio (SDI code) for e-invoicing. No personal data.

What it costs: $0.002 per record – 1,000 public bodies = $2, 10,000 records = $20 – plus a $0.00005 start fee per run (Apify's standard start event). Silver plan users get 10% off and Gold plan users 20% off the record price. No subscription, no extra platform fees.

Real output (e-invoicing office of the Comune di Sanremo from a run on 19 November 2026, main fields only – full record in the Output section):

{
"name": "Comune di Sanremo",
"fiscalCode": "00253750087",
"categoryName": "Comuni e loro Consorzi e Associazioni",
"municipality": "Sanremo",
"province": "IM",
"region": "Liguria",
"pec": "fatturapa.comune.sanremo@legalmail.it",
"officeCode": "UF1U8R",
"officeName": "Uff_eFatturaPA",
"eInvoicingStartDate": "2015-03-31",
"lastUpdated": "2026-02-12"
}

Get the official list of Italian public administrations – municipalities (Comuni), regions, provinces, ASL and hospitals, schools, universities, ministries, chambers of commerce, professional orders, contracting authorities and public-service companies – as a clean dataset (JSON, CSV, Excel) or via API.

For every body you get the fiscal code, category, address, municipality / province / region, institutional PEC, website and social links. Switch to e-invoicing offices to get the Codice Univoco Ufficio (SDI code) you need to send an electronic invoice (FatturaPA) to a public administration.

Data comes live from IndicePA, the official index of Italian public administrations run by AgID, published as open data under CC BY 4.0.

Not affiliated with or endorsed by AgID. Data is retrieved from the public IndicePA open-data API.

What can this Actor do?

  • 🏛️ ~23,000 public bodies (entities): Comuni, Regioni, ASL, schools, universities, ministries, ordini professionali, stazioni appaltanti…
  • 🏢 Offices / organisational units (offices): departments of each body with office code, address, office phone and PEC
  • 🧾 E-invoicing offices (einvoicing): Codice Univoco Ufficio for FatturaPA / SDI, invoicing fiscal code, e-invoicing start date, PEPPOL code
  • 📍 Location filters: municipality, province (MI, RM, IM…) or region
  • 🏷️ Official categories: e.g. only Comuni, only ASL, only state schools
  • 🔎 Name search and lookup by fiscal code, IPA code or office code
  • 🔒 No personal data: names, personal e-mails and phone numbers of officials are never exported

Who is it for?

  • Suppliers of the public sector who need the right SDI code and PEC to invoice a public body
  • B2G sales and marketing teams building lists of target administrations (e.g. all Comuni in Lombardy, all ASL, all universities) with institutional contacts
  • Bid managers enriching public tenders with the buyer's official data (works well with our EU Public Tenders Scraper (TED))
  • Accounting and ERP integrations validating fiscal codes and office codes
  • Researchers, journalists and civic-tech projects mapping Italian public administration
  • AI agents / RAG pipelines that need structured, up-to-date data on Italian public bodies

How to use

  1. Choose What to return: public bodies, offices, or e-invoicing offices.
  2. Optionally filter by municipality, province or region, category, and name.
  3. Or look up specific bodies by fiscal code, IPA code or office code.
  4. Set Max records and click Start. Download the results or connect them to Google Sheets, Make, Zapier, n8n or your CRM.

Input examples

All e-invoicing offices of the municipalities in the province of Imperia:

{
"dataset": "einvoicing",
"provinces": ["IM"],
"categories": ["L6"],
"maxItems": 200
}

All local health authorities (ASL) in Lombardy:

{ "dataset": "entities", "regions": ["Lombardia"], "categories": ["L7"] }

Find the SDI code of a body from its fiscal code:

{ "dataset": "einvoicing", "fiscalCodes": ["00253750087"] }

Output

Real record from a run of this Actor (e-invoicing office of the Comune di Sanremo, empty fields omitted):

{
"dataset": "einvoicing",
"ipaCode": "c_i138",
"name": "Comune di Sanremo",
"acronym": null,
"fiscalCode": "00253750087",
"categoryCode": "L6",
"categoryName": "Comuni e loro Consorzi e Associazioni",
"type": "Pubbliche Amministrazioni",
"atecoCode": null,
"miurCode": null,
"istatEntityCode": null,
"inLiquidation": null,
"address": "Corso Cavallotti 59",
"postalCode": "18038",
"municipality": "Sanremo",
"province": "IM",
"region": "Liguria",
"istatMunicipalityCode": "008055",
"cadastralCode": "I138",
"pec": "fatturapa.comune.sanremo@legalmail.it",
"emails": [
{
"address": "fatturapa.comune.sanremo@legalmail.it",
"type": "Pec"
}
],
"website": null,
"facebook": null,
"linkedin": null,
"twitter": null,
"youtube": null,
"officeCode": "UF1U8R",
"officeName": "Uff_eFatturaPA",
"parentOfficeCode": null,
"aooCode": null,
"phone": null,
"invoicingFiscalCode": "00253750087",
"eInvoicingStartDate": "2015-03-31",
"peppolCode": null,
"lastUpdated": "2026-02-12",
"source": "IndicePA – Indice dei domicili digitali delle Pubbliche Amministrazioni (AgID), licence CC BY 4.0",
"sourceUrl": "https://indicepa.gov.it/ipa-dati/"
}
FieldDescription
name, fiscalCode, ipaCodeOfficial name, fiscal code / VAT number and IndicePA code of the body
categoryCode, categoryName, typeOfficial IndicePA category (e.g. L6 = Comuni) and type
address, postalCode, municipality, province, regionLocation (municipality, province and region from ISTAT)
pec, emailsInstitutional PEC and other institutional addresses
website, facebook, linkedin, twitter, youtubeOfficial web presence (public bodies)
officeCode, officeNameCodice Univoco Ufficio and office name (offices / e-invoicing)
invoicingFiscalCode, eInvoicingStartDate, peppolCodeE-invoicing details
lastUpdatedLast update in IndicePA

Pricing

Pay per result: $0.002 per record ($2 per 1,000 records), plus $0.00005 per run start (Apify's synthetic apify-actor-start event, which also gives the run 5 seconds of free compute). Plan discounts: Silver $0.0018, Gold/Platinum $0.0016 per record. You pay only for records saved to the dataset – see the Pricing tab. The Actor uses a lightweight official API (no browser, no proxies), so runs finish in seconds: our test runs returned 100 public bodies in about 9 seconds and 101 e-invoicing offices in about 5 seconds.

FAQ

Is this data official and legal to reuse? Yes. IndicePA is the official index maintained by AgID, and its datasets are published as open data under the Creative Commons Attribution 4.0 licence. Please credit "IndicePA – AgID" when you republish the data.

Does it include personal data? No. IndicePA also lists the names and contacts of the officials in charge; this Actor deliberately drops them, and also drops e-mail addresses that contain the official's surname. You get institutional data only. You remain responsible for using the data in line with GDPR and Italian law (for example, rules on unsolicited marketing to PEC addresses).

How fresh is the data? The Actor queries IndicePA live on every run. IndicePA is updated by the administrations themselves; the lastUpdated field shows when each record last changed.

Which code do I put in an electronic invoice? Use the officeCode of the einvoicing dataset (6 characters) as "Codice Destinatario". If a body has several e-invoicing offices, choose the one indicated in your contract or order; offices named "TEST" are test endpoints published by the body itself.

Can I get all of Italy? Yes. Leave the location filters empty and raise Max records (about 23,000 public bodies; offices and e-invoicing offices are more numerous).

Something is missing or wrong? Open an issue on the Actor page. If a record itself is wrong, it must be corrected by the administration in IndicePA.