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.
| Field | Type | Description |
|---|---|---|
urlrequired | string | 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. |
key (in features[]) | string | Subito's name of the detail, e.g. /item_condition, /mileage_scalar, /rooms. |
label (in features[]) | string or null | The detail's label as the page writes it, in Italian, e.g. Condizione. |
value (in features[]) | 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
# 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.htmInstall 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:
{
"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.
{
"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.
{
"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.