Italian Public Administration

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.

Useful tips to start with Italian Public Administration

Get the token in the appropriate section before you start.

Use the the online tool or generate it via API. Set the expire date, a usefull name and now add a bunch of scopes to limit the possible actions your token can do.
  • Oas file url https://console.openapi.com/oas/en/pa.openapi.json
  • Fork or import with Postman
  • Production domain pa.openapi.it
  • Sandbox domain test.pa.openapi.it
  • Production Scopes 1
  • Sandbox Scopes 1
    • GET test.pa.openapi.it/root

Public Administration (1.0.0)

Service web contenant des informations sur toutes les administrations publiques italiennes

PA

Méthodes de recensement des 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:
bearerAuth
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

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

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "message": "1 aziende trovate",
  • "error": null
}