# Subito.it Company Lead Scraper (`emastra/subito-it-negozi-e-aziende`) Actor

Powerful Subito.it Company Scraper for lead generation and market analysis. Extract detailed data on Italian companies from impresapiu.subito.it, bypassing blocks with advanced techniques. Get reliable, up-to-date information for your business strategies.

- **URL**: https://apify.com/emastra/subito-it-negozi-e-aziende.md
- **Developed by:** [Emiliano Mastragostino](https://apify.com/emastra) (community)
- **Categories:** Lead generation, Automation, E-commerce
- **Stats:** 26 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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

# README

## Scraper Aziende Subito.it Impresapiu

Lo **Scraper Aziende Subito.it** è un potente strumento progettato per l'estrazione efficiente e affidabile dei dati di aziende e negozi presenti sul popolare marketplace italiano Subito.it. Perfetto per **la lead generation** e **l'analisi di mercato**, questo scraper è ottimizzato per la raccolta di informazioni dettagliate da da [Subito.it Impresapiu](https://impresapiu.subito.it), impiegando tecniche avanzate per garantire l'accesso a dati sempre aggiornati, superando le sfide legate al blocco e alla rilevazione.

**Nota bene**: *Questo scraper non estrae gli annunci ma i dati delle aziende presenti su Subito.it in https://impresapiu.subito.it*

### Caratteristiche

- Estrazione di dettagli di aziende da [Subito.it (Impresapiu)](https://impresapiu.subito.it)
- Gestione automatica della paginazione e delle pagine dettaglio.
- Pool di sessioni con rotazione di header per evitare blocchi.
- Ritardi casuali tra le richieste per simulare il comportamento umano.
- Esporta i risultati in formati standard e facilmente integrabili come **JSON**, **CSV**, **Excel**, **XML** e altri.

### Configurazione input

In `startUrls` fornisci uno o più URL di ricerca partendo da **https://impresapiu.subito.it**.

```json
{
    "startUrls": ["https://impresapiu.subito.it/shops?r=9&pr=&ci=3&to=048017&lat=&lng=&rad=&ac=2&q="],
    "maxRequestsPerCrawl": 1000
}
```

### Istruzioni per l'uso

- Vai su https://impresapiu.subito.it
- Compila i campi **Dove** e **Che tipo di attività cerchi**. Effettua la ricerca.
- Una volta che i risultati sono visualizzati, copia l'indirizzo presente nella *barra degli indirizzi* del browser.
- Incollalo all'interno dell'Input `startUrls`.
- Avvia lo scraper ed attendi i risultati.

### Esempio Output

```json
{
    "url": "https://impresapiu.subito.it/shops/8627-faldi-motors-srl",
    "scrapedAt": "2025-07-19T13:58:42.186Z",
    "name": "Faldi Motors Srl",
    "logo": "https://images.sbito.it/api/v1/sbt-shops-images-pro/images/55/55bc7316-3d55-42f5-ae50-cbd3441a15e5",
    "address": "Viale Francesco Redi, 51, 50144 Firenze FI, Italia",
    "website": "http://www.faldimotors.it",
    "phone_label": "Servizio Clienti",
    "phone": "055353736",
    "description": "Vendita auto NUOVE, USATE, KM ZERO, AZIENDALI DI TUTTE LE MARCHE dal 1985.\nAbbiamo un parco auto con oltre 100 mezzi in pronta consegna.\nIl nostro obiettivo è quello di soddisfare le esigenze del cliente prima e dopo l'acquisto dell'auto, offriamo inoltre servizi di assicurazione e finanziamento molto vantaggiosi.\nLe nostre sedi sono viale Redi 51 B/H Firenze (sede principale) e via Pistoiese 128 a Firenze (sede secondaria).",
    "seo_description": "Vendita auto NUOVE, USATE, KM ZERO, AZIENDALI DI TUTTE LE MARCHE dal 1985.\nAbbiamo un parco auto con oltre 100 mezzi in pronta consegna.\nIl nostro obiettivo è",
    "adsCount": 74,
    "google_map_link": "https://maps.google.com/maps?q=43.7870226,11.2371843&z=15",
    "coordinates": {
        "latitude": 43.7870226,
        "longitude": 11.2371843
    },
    "openingHours": null
}
```

### 🛠 Supporto e Contatti

Hai bisogno di supporto o personalizzazioni?

- 📬 [Contact the developer](https://apify.com/emastra)
- 🐞 [Report a bug or issue](https://apify.com/emastra)
- ✨ [Suggest a feature or custom scraper](https://apify.com/emastra)

# Actor input Schema

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

URLs to start with.

## `maxRequestsPerCrawl` (type: `integer`):

Maximum number of requests that can be made by this crawler. Leave empty for no limit.

## Actor input object example

```json
{
  "startUrls": [
    "https://impresapiu.subito.it/shops?r=9&pr=&ci=3&to=048017&lat=&lng=&rad=&ac=2&q="
  ]
}
```

# 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 = {
    "startUrls": [
        "https://impresapiu.subito.it/shops?r=9&pr=&ci=3&to=048017&lat=&lng=&rad=&ac=2&q="
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("emastra/subito-it-negozi-e-aziende").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 = { "startUrls": ["https://impresapiu.subito.it/shops?r=9&pr=&ci=3&to=048017&lat=&lng=&rad=&ac=2&q="] }

# Run the Actor and wait for it to finish
run = client.actor("emastra/subito-it-negozi-e-aziende").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "startUrls": [
    "https://impresapiu.subito.it/shops?r=9&pr=&ci=3&to=048017&lat=&lng=&rad=&ac=2&q="
  ]
}' |
apify call emastra/subito-it-negozi-e-aziende --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,emastra/subito-it-negozi-e-aziende"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/OXs8amGZKRECUvmft/builds/9jTHtvdg5Jy7oZRg0/openapi.json
