# subito.item

One classified listing on Subito.it: title, text, price, condition, place, category, every detail, photos and whether a shop sells it.

Subito.it listing, one of the Subito.it scrapers.

| | |
| --- | --- |
| Id | `subito.item` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/subito.item/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | yes | The address of a listing's page on Subito, e.g. `https://www.subito.it/telefonia/iphone-12-128gb-viola-pescara-664677941.htm`. Limit: at most 600 characters. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `position` | integer or null | The listing's place on the search page, from 1; null on a listing's own page. |
| `page` | integer or null | The search page it was on; null on a listing's own page. |
| `listing_id` | string | Subito's number of the listing (the number at the end of its address). |
| `url` | string | The listing's page on subito.it. |
| `title` | string | The listing's title. |
| `text` | string or null | The listing's text, as the seller wrote it. |
| `kind` | string or null | The kind of listing as the page writes it: `In vendita` (for sale), `In affitto` (to rent), `Cerco` (wanted), `In affitto per vacanze`. |
| `category` | string or null | The category as the page names it, e.g. `Telefonia`, `Auto`, `Appartamenti`. |
| `category_id` | string or null | Subito's id of the category. |
| `published_at` | string (date-time) or null | When the listing was published or last renewed, in Italian time. |
| `price` | number or null | The price in euros; null when the listing gives none. |
| `price_text` | string or null | The price as the page writes it, e.g. `480 €`. |
| `condition` | string or null | The condition as the page writes it, e.g. `Ottimo - poco usato e ben conservato`; null when not given. |
| `shipping` | boolean or null | True when the seller ships the item; null when not said. |
| `shipping_cost` | number or null | The shipping cost in euros, when the listing states one. |
| `region` | string or null | The region, e.g. `Lombardia`. |
| `province` | string or null | The province, e.g. `Milano`. |
| `province_code` | string or null | The province's two-letter code, e.g. `MI`. |
| `town` | string or null | The town (comune), e.g. `Milano`. |
| `professional_seller` | boolean | True when the seller is a professional seller with a shop on Subito. |
| `shop_name` | string or null | A professional seller's shop name as the page shows it; null for a private seller, who is not named. |
| `features` | array of object | Every detail of the listing the page lists (rooms, mileage, year, size, ...), as written. |
| `features[].key` | string | Subito's name of the detail, e.g. `/item_condition`, `/mileage_scalar`, `/rooms`. |
| `features[].label` | string or null | The detail's label as the page writes it, in Italian, e.g. `Condizione`. |
| `features[].value` | string or null | Its value as the page writes it, e.g. `Ottimo - poco usato e ben conservato`, `480 €`; several are joined with `, `. |
| `images` | array of string | The listing's photos, largest form. |
| `fetched_at` | string (date-time) | When the page was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/subito.item/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://www.subito.it/telefonia/iphone-12-128gb-viola-pescara-664677941.htm"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "subito.item",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "url": "https://www.subito.it/telefonia/iphone-12-128gb-viola-pescara-664677941.htm"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "position": null,
      "page": null,
      "listing_id": "664677941",
      "url": "https://www.subito.it/telefonia/iphone-12-128gb-viola-pescara-664677941.htm",
      "title": "Iphone 12 128gb Viola",
      "text": "Vendo iphone 12 128gb colorazione viola per passaggio a nuovo telefono.\n\nIl telefono si presenta in ottimo stato, sempre tenuto con cover e pellicola. Batteria sostituita poco fa con una NON ORIGINALE. Compreso cavo di alimentazione.",
      "kind": "In vendita",
      "category": "Telefonia",
      "category_id": "12",
      "published_at": "2026-11-19T19:49:57+01:00",
      "price": 250,
      "price_text": "250 €",
      "condition": "Ottimo - poco usato e ben conservato",
      "shipping": true,
      "shipping_cost": 10,
      "region": "Abruzzo",
      "province": "Pescara",
      "province_code": "PE",
      "town": "Pescara",
      "professional_seller": false,
      "shop_name": null,
      "features": [
        {
          "key": "/item_shippable",
          "label": "Disponibile alla spedizione",
          "value": "Sì"
        },
        {
          "key": "/price",
          "label": "Prezzo",
          "value": "250 €"
        }
      ],
      "images": [
        "https://images.sbito.it/api/v1/sbt-ads-images-pro/images/b5/b530f651-eb3b-4dbc-a952-7f1281fd8d47?rule=fullscreen-1x-auto",
        "https://images.sbito.it/api/v1/sbt-ads-images-pro/images/1b/1bd6fd26-e0f0-48f9-a9eb-14f6a779fc7f?rule=fullscreen-1x-auto",
        "https://images.sbito.it/api/v1/sbt-ads-images-pro/images/4b/4b51cf5b-de3e-453c-b893-ca533bf2c74f?rule=fullscreen-1x-auto"
      ],
      "fetched_at": "2026-11-19T19:55:48.451793Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `features`: 7 items, the first 2 shown.
- Shortened: `images`: 6 items, the first 3 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Subito.it scrapers](https://docs.enrichednow.com/results-and-statuses.md#subito-it) are in their own section there.
