# Subito.it Scraper (`aurenic/subito-scraper`) Actor

Extract listings from Italy's #1 classifieds marketplace. Cars, real estate, electronics, jobs, and 38 more categories.

- **URL**: https://apify.com/aurenic/subito-scraper.md
- **Developed by:** [Aurenic](https://apify.com/aurenic) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 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

## Subito.it Scraper

Extract listings from Italy's #1 classifieds marketplace — cars, real estate, electronics, jobs, and 38 more categories across all 20 Italian regions.

### What does Subito.it Scraper do?

Scrape listing data from subito.it. Paste any search or category URL, and get structured data ready for price monitoring, market research, arbitrage pipelines, or real estate analysis.

Built to handle Subito's Akamai Bot Manager and TLS fingerprinting using a real browser session. Extracts from the server-rendered `__NEXT_DATA__` payload for maximum reliability.

### Output fields

| Field | Description |
|---|---|
| id | Subito listing ID |
| title | Listing headline |
| description | Listing body (up to 1000 chars) |
| price | Price in EUR |
| category | Top-level category |
| subcategory | Subito section (from URL) |
| region | Italian region |
| province | Province |
| town | Town/comune |
| condition | Item condition |
| sellerType | private or dealer |
| sellerName | Seller or business name |
| images | Array of CDN image URLs |
| imageCount | Number of images |
| features | Category-specific attributes |
| shipping | Whether TuttoSubito shipping is enabled |
| url | Direct link to listing |
| publishedAt | Publication timestamp |
| scrapedAt | ISO timestamp |

### Who is it for?

- **Real estate investors** monitoring Italian property inventory
- **Car dealers** tracking used-car pricing and availability
- **Market researchers** analyzing Italian classifieds trends
- **Arbitrage hunters** spotting underpriced items early
- **Data analysts** building Italian market datasets

### Pricing

**$0.0012 per result** ($1.20 per 1,000 results). No subscription.

| Results | Cost |
|---|---|
| 100 | $0.12 |
| 1,000 | $1.20 |
| 10,000 | $12.00 |

### How to use it

1. Open subito.it and navigate to any search or category.
2. Apply filters (price range, region, category).
3. Copy the URL from your browser.
4. Paste it into **Subito Search URLs** in Apify Console.
5. Set **Max Items** (default 300).
6. Click **Start**.

### Supported categories

| Category | URL example |
|---|---|
| General | `https://www.subito.it/annunci-italia/vendita/usato/?q=iphone` |
| Cars | `https://www.subito.it/annunci-italia/vendita/auto/` |
| Real estate | `https://www.subito.it/annunci-italia/vendita/immobili/` |
| Jobs | `https://www.subito.it/annunci-italia/vendita/lavoro/` |
| Electronics | `https://www.subito.it/annunci-italia/vendita/elettronica/` |

### Output example

```json
{
  "id": "498312345",
  "title": "iPhone 15 Pro Max 256GB",
  "description": "iPhone 15 Pro Max, 256GB, ottime condizioni...",
  "price": "950",
  "category": "Elettronica",
  "subcategory": "telefonia",
  "region": "Lombardia",
  "province": "Milano",
  "town": "Milano",
  "condition": "Come nuovo",
  "sellerType": "private",
  "sellerName": "",
  "images": ["https://images.subito.it/..."],
  "imageCount": 3,
  "features": { "brand": "Apple", "model": "iPhone 15 Pro Max" },
  "shipping": true,
  "url": "https://www.subito.it/telefonia/iphone-15-pro-max-256gb-milano-498312345.htm",
  "publishedAt": "2026-09-15T08:23:00.000Z",
  "scrapedAt": "2026-09-17T10:00:00.000Z"
}

```

### Technical details

- Built with **Crawlee + Playwright** to handle Akamai Bot Manager and TLS fingerprinting
- Extracts from Next.js `__NEXT_DATA__` for deterministic parsing
- Uses **Italian residential proxies** (pre-configured)
- Automatic pagination up to 9,000 items per query
- Handles Subito's 300-page paging wall gracefully

### Known limits

- **Subito caps any single query at 9,000 items (300 pages).** Beyond that, the site returns a 404. To get more, partition your search by region or category.
- **Playwright-based extraction** means ~5-10 seconds per page. For high-volume crawls, expect slower runtime than pure HTTP scrapers.

### FAQ

**Do I need to configure proxies?** No. Italian residential proxies are pre-configured.

**Can I scrape any category?** Yes — 42 categories across all 20 Italian regions.

**Does this include seller contact details?** No. Only public listing data.

**How do I export data?** After a run, go to Storage → Export as JSON, CSV, Excel, or XML.

### Support

Open an issue on the Actor's page for bugs or feature requests.

# Actor input Schema

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

Search or category URLs from subito.it (e.g., https://www.subito.it/annunci-italia/vendita/usato/?q=iphone)

## `maxItems` (type: `integer`):

Maximum listings to extract across all pages.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.subito.it/annunci-italia/vendita/usato/?q=iphone"
    }
  ],
  "maxItems": 300
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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": [
        {
            "url": "https://www.subito.it/annunci-italia/vendita/usato/?q=iphone"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("aurenic/subito-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 = { "startUrls": [{ "url": "https://www.subito.it/annunci-italia/vendita/usato/?q=iphone" }] }

# Run the Actor and wait for it to finish
run = client.actor("aurenic/subito-scraper").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": [
    {
      "url": "https://www.subito.it/annunci-italia/vendita/usato/?q=iphone"
    }
  ]
}' |
apify call aurenic/subito-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aurenic/subito-scraper"
        }
    }
}
```

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/5odhy1IcJzb31OIWi/builds/n3QhtTW68gfnCbfWM/openapi.json
