# Italy Registro Imprese Scraper - Company Data & PEC (`regdata/italy-registro-imprese-scraper`) Actor

Search Italy's official Registro Imprese (InfoCamere) by company name and extract free-tier company data: name, registered office, PEC (certified email), legal form, ATECO activity and business description. No official API - structured JSON.

- **URL**: https://apify.com/regdata/italy-registro-imprese-scraper.md
- **Developed by:** [getregdata](https://apify.com/regdata) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 3 total users, 2 monthly users, 80.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 company records

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Italy Registro Imprese Scraper - Company Data, PEC & ATECO

Look up **Italian companies** by name or VAT number (Partita IVA) and get structured
company data sourced from the official **Camera di Commercio / Registro Imprese** records
(via the public ufficiocamerale.it portal). No official API, no login, no proxy or captcha
setup on your side - just a query in, clean JSON out.

### What you get per company

| Field | Example |
|---|---|
| `denominazione` (legal name) | FERRARI S.P.A. |
| `partitaIVA` / `vatEuropeo` | 00159560366 / IT00159560366 |
| `codiceFiscale` | 00159560366 |
| `rea` (+ `cameraCommercio`) | 88683 (MO) |
| `formaGiuridica` (legal form) | SOCIETA' PER AZIONI |
| `dataIscrizione` | 23/05/1960 |
| `atecoCode` / `atecoDescription` | 291 - Fabbricazione di autoveicoli |
| `indirizzo` (+ `via`, `cap`, `comune`, `provincia`) | VIA EMILIA EST 1163 - 41122 - MODENA (MO) |
| `capitaleSociale` (where filed) | € 20.260.000,00 |
| `utile` (profit, where filed) | € 1.619.983.155,00 |
| `dipendenti` (employees) | 5186 |
| `pec` (certified email, if published) | ferrari@pec.ferrari.com |
| `codiceDestinatarioSDI` (e-invoicing, if published) | _returned when the firm has one_ |

> **Field availability varies by company.** Identity fields (name, P.IVA, Codice Fiscale, REA,
> chamber, legal form) are returned for every company. Financials (capital, profit), ATECO, PEC and
> the SDI code are returned **where the company has published them** - large/established companies
> are typically complete; sole traders and micro-firms publish less. Fields not on file return `null`.

### Use cases

- **KYB / onboarding** - verify an Italian counterparty's identity, VAT, legal form, REA and status before onboarding.
- **B2B lead generation** - build prospect lists with PEC, ATECO industry code, province and size.
- **Credit & supplier risk** - check share capital, profit and registration age.
- **E-invoicing / accounting** - pull the certified PEC address and SDI destination code for fatturazione elettronica.
- **CRM enrichment** - append authoritative Italian company attributes using the VAT number as a join key.

### Input

```json
{
  "query": "Ferrari S.p.A.",
  "maxResults": 5
}
````

- `query` - company name **or** Partita IVA (VAT). Optional if `startUrls` is provided.
- `startUrls` - optional list of direct ufficiocamerale.it company-page URLs (skips the name lookup).
- `maxResults` - max companies for a name search (1-30, default 5).

### How it works

The official Registro Imprese search is behind reCAPTCHA Enterprise. This Actor instead
discovers the company's public detail page via Google and fetches it through an anti-bot
scraping layer that clears the page's Cloudflare protection automatically. Parsing is based
on stable, id-tagged data fields. You never supply a proxy, browser or captcha key.

### Notes & scope

- Returns the **free public layer** of Italian company data.
- Directors/shareholders, insolvency events (Procedure e Pregiudizievoli) and full official
  *bilanci* / *visure* are **paid InfoCamere products** and are **not** included.
- For the certified email only (cheaper, bulk), see our **Italy PEC Lookup** actor.

### Output

One dataset item per company. Use the **Company Overview** view for a clean table, or export
to JSON/CSV/Excel.

### FAQ

**Is the data official?** It originates from the Italian Camera di Commercio / Registro Imprese
records, surfaced through a public portal. It is the same identity, REA, ATECO, address, capital
and PEC you would see on the free registry layer.

**Why not directors, shareholders or full bilanci?** Those are sold as paid *visura* /
*bilancio* products by InfoCamere. We only return the genuinely free public layer - no paywalled
documents, no surprises.

**How fresh is it?** Lookups hit the live public company pages at run time, so you get current
data - not a stale cached index.

**Can I bulk-enrich?** Yes. Pass company names or VAT numbers and run on a schedule, or feed
`startUrls` directly. Use the VAT (Partita IVA) as a stable join key for your CRM.

**Do I need a proxy, browser or captcha key?** No. Anti-bot handling is fully built in.

### European company-data suite (by the same team)

- **Italy PEC Lookup** - certified email + SDI code by VAT, cheaper and bulk.
- **Germany Handelsregister Scraper** - German company register: officers, legal form, capital.
- **Spain Company Directory** - Spanish companies by NIF, officers and CNAE.
- **Societe.com (France)** - French company directors and financials.
- **Poland KRS / REGON / CRBR** - Polish registry, business data and beneficial owners.

Mix and match for cross-border KYB, due diligence and B2B lead generation.

# Actor input Schema

## `query` (type: `string`):

Company name (denominazione) or Italian VAT number (Partita IVA) to look up, e.g. "Ferrari S.p.A." or "00159560366".

## `startUrls` (type: `array`):

Optional. Direct ufficiocamerale.it company-page URLs to scrape, skipping the name lookup. Use when you already have the page URLs.

## `maxResults` (type: `integer`):

Maximum number of matching companies to return for a name search (1-30).

## Actor input object example

```json
{
  "query": "Ferrari S.p.A.",
  "maxResults": 5
}
```

# Actor output Schema

## `companies` (type: `string`):

One record per Italian company: denominazione, partitaIVA, codiceFiscale, rea, formaGiuridica, atecoCode, address, capitaleSociale, dipendenti, pec and codiceDestinatarioSDI.

# 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 = {
    "query": "Ferrari S.p.A."
};

// Run the Actor and wait for it to finish
const run = await client.actor("regdata/italy-registro-imprese-scraper").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 = { "query": "Ferrari S.p.A." }

# Run the Actor and wait for it to finish
run = client.actor("regdata/italy-registro-imprese-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "Ferrari S.p.A."
}' |
apify call regdata/italy-registro-imprese-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=regdata/italy-registro-imprese-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Italy Registro Imprese Scraper - Company Data & PEC",
        "description": "Search Italy's official Registro Imprese (InfoCamere) by company name and extract free-tier company data: name, registered office, PEC (certified email), legal form, ATECO activity and business description. No official API - structured JSON.",
        "version": "2.0",
        "x-build-id": "9HtvzlDOXl2y2quhx"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/regdata~italy-registro-imprese-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-regdata-italy-registro-imprese-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/regdata~italy-registro-imprese-scraper/runs": {
            "post": {
                "operationId": "runs-sync-regdata-italy-registro-imprese-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/regdata~italy-registro-imprese-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-regdata-italy-registro-imprese-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "query": {
                        "title": "Company name or VAT (P.IVA)",
                        "type": "string",
                        "description": "Company name (denominazione) or Italian VAT number (Partita IVA) to look up, e.g. \"Ferrari S.p.A.\" or \"00159560366\"."
                    },
                    "startUrls": {
                        "title": "Direct company URLs (optional)",
                        "type": "array",
                        "description": "Optional. Direct ufficiocamerale.it company-page URLs to scrape, skipping the name lookup. Use when you already have the page URLs.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "maximum": 30,
                        "type": "integer",
                        "description": "Maximum number of matching companies to return for a name search (1-30).",
                        "default": 5
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
