The API was replaced by the /IT-pa endpoint available in Company
For access to over 80 PA information discover the new API Company service
Deprecated starting from 2024-12-31
All the knowledge you need
Here you can find some advice to consider to approach this API. If you prefer, we provide code samples, OAS3 documentation, the ability to try the API live via the Swagger UI or import the entire collection into Postman. We also offer a Sandbox environment where you can experiment with all kinds of requests completely free of charge.
Get the token in the appropriate section before you start.
- Oas file url pa.openapi.json
-
PDF Documentation
- Fork or import with Postman
- Production domain alpha.pa.openapi.it
- Sandbox domain alpha.pa.openapi.it
-
Production Scopes 1
Rate Limits: 10000 req/min
-
Sandbox Scopes 1
- GET alpha.pa.openapi.it/root
Public Administration (1.0.0)
Service web contenant des informations sur toutes les administrations publiques italiennes
Administration publique spécifique
Cette méthode fournit les données de l'administration publique, qui peuvent être obtenues par piva ou cf
Authorizations:
path Parameters
| piva_or_cf required | string Example: 03301860544 Numéro d'identification fiscale ou numéro de TVA |
Responses
Response Schema: application/json
Array of objects (PA) | |
| success | boolean |
| message | string |
| error | integer |
Request samples
- C + Libcurl
- Csharp + Restsharp
- Go + Native
- Java + Okhttp
- Java + Unirest
- Javascript + Jquery
- Javascript + Xhr
- Node + Native
- Node + Request
- Node + Unirest
- Objc + Nsurlsession
- Ocaml + Cohttp
- Php + Curl
- Php + Http1
- Php + Http2
- Python + Python3
- Python + Requests
- Ruby + Native
- Shell + Curl
- Shell + Httpie
- Shell + Wget
- Swift + Nsurlsession
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://pa.openapi.it/%7Bpiva_or_cf%7D"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
Response samples
- 200
- 404
- 500
- "data": [
- {
- "Id_Ente": 917142930468970100,
- "Denominazione": "AZIENDA UNITA' SANITARIA LOCALE UMBRIA 1",
- "CF": "03301860544",
- "PIva": null,
- "Data_Istituzione": "2013-01-02",
- "Data_Cessazione": null,
- "Codice_ATECO": "86220",
- "Descr_Codice_ATECO": "Studi medici specialistici e poliambulatori",
- "Codice_Forma_Giuridica": "2500",
- "Descr_Forma_Giuridica": "Azienda o ente del servizio sanitario nazionale",
- "Telefono": null,
- "FAX": null,
- "URL": "www.uslumbria1.gov.it",
- "Nome_Resp": "GILBERTO",
- "Cogn_Resp": "GENTILI",
- "Titolo_Resp": "COMMISSARIO STRAORDINARIO",
- "Indirizzo": "VIA GUERRIERO GUERRA, 21",
- "CAP": "06127",
- "Codice_ISTAT_Comune": "054039",
- "Codice_Comune": "039",
- "Dizione_Comune": "PERUGIA",
- "Codice_Catastale": "G478",
- "Codice_Provincia": "054",
- "Dizione_Provincia": "PERUGIA",
- "Sigla_Provincia": "PG",
- "Codice_Regione": "10",
- "Dizione_Regione": "UMBRIA",
- "Codice_Zona": "3",
- "Dizione_zona": "CENTRO",
- "Stato_Partecipazione": "N",
- "Codice_Ente_SIOPE": "028332473000000",
- "Id_Tipologia_SIOPE": "875142927245937602",
- "Codice_Tipologia_SIOPE": "AS",
- "Descr_Tipologia_SIOPE": "ASL",
- "Data_Inclusione_SIOPE": "2013-01-01",
- "Data_Esclusione_SIOPE": null,
- "Codice_Ente_IPA": "054",
- "Id_Categoria_IPA": "118942920517195601",
- "Codice_Categoria_IPA": "L7",
- "Descr_Categoria_IPA": "AZIENDE SANITARIE LOCALI",
- "Codice_Tipologia_IPA": "PA",
- "Descr_Tipologia_IPA": "PUBBLICHE AMMINISTRAZIONI",
- "Data_Inclusione_IPA": "2015-04-16",
- "Data_Esclusione_IPA": null,
- "Codice_Ente_MIUR": null,
- "Id_Tipologia_MIUR": null,
- "Codice_Tipologia_MIUR": null,
- "Descr_Tipologia_MIUR": null,
- "Id_Tipologia_DT": null,
- "Codice_Tipologia_DT": null,
- "Descr_Tipologia_DT": null,
- "Codice_Ente_SSN": "100201",
- "Codice_Ente_ISTAT_S13": "28332473",
- "Id_Tipologia_ISTAT_S13": "648542920517975402",
- "Codice_Tipologia_ISTAT_S13": "207",
- "Descr_Tipologia_ISTAT_S13": "AZIENDE SANITARIE LOCALI",
- "Data_Inclusione_ISTAT_S13": "2013-01-02",
- "Data_Esclusione_ISTAT_S13": null,
- "Id_Tipologia_DLGS_118_2011": null,
- "Codice_Tipologia_DLGS_118_2011": null,
- "Descr_Tipologia_DLGS_118_2011": null,
- "Data_Inclusione_DLGS_118_2011": null,
- "Data_Esclusione_DLGS_118_2011": null,
- "timestamp_update": 1609456801,
- "PA": true,
- "uffici_FPA": [
- {
- "cod_amm": "054",
- "cod_ou": "Uff_eFatturaPA",
- "cod_uni_ou": "UF9FAJ",
- "des_ou": "Uff_eFatturaPA",
- "regione": "Umbria",
- "provincia": "PG",
- "comune": "Perugia",
- "indirizzo": "Via Guerriero Guerra, 21",
- "cap": "06127",
- "cf": "03301860544",
- "dt_verifica_cf": "2018-09-05",
- "data_avvio_sfe": "2015-03-31",
- "timestamp_update": 1609456801
- "success": true,
- "message": "1 aziende trovate",
- "error": null