Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APISubito.it

    subito.item

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

    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; what a run costs is in Usage and units.

    Inputs

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

    Inputs of subito.item
    FieldTypeDescription
    urlrequiredstringThe 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.

    Record fields of subito.item
    FieldTypeNotes
    positioninteger or nullThe listing's place on the search page, from 1; null on a listing's own page.
    pageinteger or nullThe search page it was on; null on a listing's own page.
    listing_idstringSubito's number of the listing (the number at the end of its address).
    urlstringThe listing's page on subito.it.
    titlestringThe listing's title.
    textstring or nullThe listing's text, as the seller wrote it.
    kindstring or nullThe kind of listing as the page writes it: In vendita (for sale), In affitto (to rent), Cerco (wanted), In affitto per vacanze.
    categorystring or nullThe category as the page names it, e.g. Telefonia, Auto, Appartamenti.
    category_idstring or nullSubito's id of the category.
    published_atstring (date-time) or nullWhen the listing was published or last renewed, in Italian time.
    pricenumber or nullThe price in euros; null when the listing gives none.
    price_textstring or nullThe price as the page writes it, e.g. 480 €.
    conditionstring or nullThe condition as the page writes it, e.g. Ottimo - poco usato e ben conservato; null when not given.
    shippingboolean or nullTrue when the seller ships the item; null when not said.
    shipping_costnumber or nullThe shipping cost in euros, when the listing states one.
    regionstring or nullThe region, e.g. Lombardia.
    provincestring or nullThe province, e.g. Milano.
    province_codestring or nullThe province's two-letter code, e.g. MI.
    townstring or nullThe town (comune), e.g. Milano.
    professional_sellerbooleanTrue when the seller is a professional seller with a shop on Subito.
    shop_namestring or nullA professional seller's shop name as the page shows it; null for a private seller, who is not named.
    featuresarray of objectEvery detail of the listing the page lists (rooms, mileage, year, size, ...), as written.
    key (in features[])stringSubito's name of the detail, e.g. /item_condition, /mileage_scalar, /rooms.
    label (in features[])string or nullThe detail's label as the page writes it, in Italian, e.g. Condizione.
    value (in features[])string or nullIts value as the page writes it, e.g. Ottimo - poco usato e ben conservato, 480 €; several are joined with , .
    imagesarray of stringThe listing's photos, largest form.
    fetched_atstring (date-time)When the page was read, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    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"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("subito.item", {
        "url": "https://www.subito.it/telefonia/iphone-12-128gb-viola-pescara-664677941.htm",
    })
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("subito.item", {
      url: "https://www.subito.it/telefonia/iphone-12-128gb-viola-pescara-664677941.htm",
    });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "subito.item", map[string]any{"url": "https://www.subito.it/telefonia/iphone-12-128gb-viola-pescara-664677941.htm"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("subito.item", Map.of("url", "https://www.subito.it/telefonia/iphone-12-128gb-viola-pescara-664677941.htm"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run subito.item --input url=https://www.subito.it/telefonia/iphone-12-128gb-viola-pescara-664677941.htm

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "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 lists every status and the reasons every scraper shares; the reasons of the Subito.it scrapers are in their own section there.