# subito.search

The classified listings on a Subito.it search page: title, price, condition, place, category, details, photos and whether a shop sells it.

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

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

Start it with `POST /v1/scrapers/subito.search/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 |
| --- | --- | --- | --- |
| `query` | string | no | What to search for, e.g. `iphone 13`. Leave out to list a category. Limit: at most 120 characters. |
| `region` | string | no | The region as Subito writes it in its addresses: `italia` (all of Italy), `lombardia`, `lazio`, `emilia-romagna`, `valle-d-aosta`, ... Default: `"italia"`. |
| `category` | string | no | The category as Subito writes it in its addresses, e.g. `usato` (every category of goods), `telefonia`, `auto`, `appartamenti`, `informatica`, `arredamento-casalinghi`. Limit: at most 60 characters. Default: `"usato"`. |
| `kind` | "for_sale" \| "to_rent" \| "wanted" \| "holiday_rental" | no | Listings for sale, to rent, wanted, or holiday rentals. Default: `"for_sale"`. |
| `url` | string | no | Instead of the fields above: the address of a Subito search page, e.g. `https://www.subito.it/annunci-lazio/affitto/appartamenti/roma/`, with the filters it carries. Its page number is replaced by `page`. Limit: at most 600 characters. |
| `page` | integer | no | The results page, 30 listings a page. Limit: 1 to 100. Default: `1`. |

## 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.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"iphone"}}'
```

## 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.search",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "query": "iphone"
  },
  "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": 1,
      "page": 1,
      "listing_id": "669042309",
      "url": "https://www.subito.it/telefonia/iphone-14-pro-max-512gb-nero-scatola-e-cover-belluno-669042309.htm",
      "title": "iPhone 14 Pro Max 512GB Nero + Scatola e Cover",
      "text": "Vendo iPhone 14 Pro Max da 512 GB in colorazione Nero Siderale (Space Black), tenuto con la massima cura e perfettamente funzionante in ogni sua parte.\nIl telefono presenta una capacità di archiviazione altissima (512 GB), ideale per chi … [truncated]",
      "kind": "In vendita",
      "category": "Telefonia",
      "category_id": "12",
      "published_at": "2026-11-19T19:54:04+01:00",
      "price": 480,
      "price_text": "480 €",
      "condition": "Ottimo - poco usato e ben conservato",
      "shipping": true,
      "shipping_cost": 0.99,
      "region": "Veneto",
      "province": "Belluno",
      "province_code": "BL",
      "town": "Belluno",
      "professional_seller": false,
      "shop_name": null,
      "features": [
        {
          "key": "/item_shippable",
          "label": "Disponibile alla spedizione",
          "value": "Sì"
        },
        {
          "key": "/item_shipping_cost_tuttosubito",
          "label": "Costo della spedizione",
          "value": "0,99 €"
        }
      ],
      "images": [
        "https://images.sbito.it/api/v1/sbt-ads-images-pro/images/2b/2b002f11-6070-4df5-83c0-cee7248d7bb4?rule=fullscreen-1x-auto",
        "https://images.sbito.it/api/v1/sbt-ads-images-pro/images/32/32133279-b107-409f-9fd2-058b4482cdd7?rule=fullscreen-1x-auto",
        "https://images.sbito.it/api/v1/sbt-ads-images-pro/images/ae/aec82fb9-9448-42ac-ad58-49e7af9ee3f3?rule=fullscreen-1x-auto"
      ],
      "fetched_at": "2026-11-19T19:55:48.453383Z"
    }
  ],
  "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: `text`: 936 characters, the first 237 shown.
- Shortened: `features`: 9 items, the first 2 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.
