# automobile.it Scraper (`dadhalfdev/automobile-it-scraper`) Actor

Scrape used cars from automobile.it with structured filters (make, model, region, city, price, fuel). Returns price, mileage, year, location, and listing URL.

- **URL**: https://apify.com/dadhalfdev/automobile-it-scraper.md
- **Developed by:** [Marco Rodrigues](https://apify.com/dadhalfdev) (community)
- **Categories:** Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## 🚗 automobile.it Scraper

Want to find the perfect used car or analyze the Italian automotive market? This scraper makes it super easy!

Paste an **`input_url`** from your browser once you've already filtered on automobile.it, **or** use **structured filters** (make, model, region, city, price, fuel type, etc.) — structured filters work better for AI agents. When `input_url` is set it overrides the filters. Either way, you get up to 2000 car listings from [automobile.it](https://www.automobile.it/) with pricing, specs, and location as CSV or JSON.

### 💡 Perfect for...

- **Car Buyers:** Monitor the market for the best deals on your dream car in Italy.
- **Dealerships:** Keep an eye on competitors' pricing and inventory to stay competitive.
- **Market Research:** Analyze trends in the Italian used car market (average prices, popular models, mileage vs. price).
- **Data Analysts:** Download clean, structured data for visualizations, dashboards, or predictive pricing models.
- **🤖 AI Agents:** Power your autonomous agents with real-time car listings. Perfect for OpenClaw workflows and bots tracking specific vehicles.
- **📚 RAG Systems:** Feed detailed car specifications and pricing into Retrieval-Augmented Generation pipelines to answer complex queries about the automotive market.
- **🔗 AI Workflows:** Integrate seamlessly with LangChain, AutoGPT, CrewAI, and other AI frameworks that need structured automotive data.

### ✨ Why you'll love this scraper

- 🔗 **Input URL or Filters:** Paste an automobile.it search URL (`input_url`) if you already filtered in the browser, or use structured filters (better for AI agents). `input_url` always wins when set.
- 🎯 **Structured Filters:** Search by make, model, Italian region/city, price, mileage, year, fuel, gearbox, and body type — no URL crafting required.
- ⚙️ **Rich Listings:** Extracts price, year, mileage, fuel type, gearbox, power, location, dealer, and images out of the box.
- 🔎 **Optional Deep Dive:** Turn on `enrich_details` for description, colour, doors, seats, accessories, consumption, and dealer phone/address.
- ⏱️ **Sorting Options:** Traverse results from most relevant to lowest price, mileage, newest ads, or newest registration year.
- 🇮🇹 **Built for Italy:** Covers all Italian regions and cities from automobile.it (Usate, KM 0, Nuove).

### 📦 What's inside the data?

For every single car listing, you will get:
- **Core Details:** `id`, `title`, `url`, `image`, `photo_count`, `short_description`
- **Location:** `location` (city and province)
- **Technical Specs:** `make`, `model`, `fuel_type`, `gearbox`, `mileage`, `year`, `power`, `engine_capacity`, `registration`, `channel`
- **Pricing & Seller:** `price`, `seller_type`, `dealer_name`
- **With enrich_details:** `description`, `color`, `doors`, `seats`, `body_type`, `accessories`, `emission_class`, `co2`, `consumption_combined`, `dealer_phone`, `dealer_address`, `dealer_url`, `images`

### 🛠️ Sort options

You can tell the scraper what order to read the listings in using the `sort_by` parameter:
- **Most Relevant** – Site default ranking
- **Lowest / Highest Price**
- **Most Recent / Oldest First**
- **Lowest KM**
- **Newest Year**

### 🚀 Quick start

**Option A — Input URL**
1. Open [automobile.it](https://www.automobile.it/), apply filters in the browser, copy the results URL.
2. Paste it into `input_url`.
3. Set `max_cars` and click **Start**.

**Option B — Structured filters (better for AI agents)**
1. Leave `input_url` empty.
2. Set filters (e.g. make `fiat`, model `Panda`, max price `10000`).
3. Optionally pick a region or city, choose `sort_by`, and set `max_cars` (up to 2000).
4. *(Optional)* Enable `enrich_details` for full ad-page specs.
5. Click **Start** and export CSV, Excel, or JSON when done.

---

#### Tech details for developers 🧑‍💻

**Input Example (filters)**

```json
{
  "make": "fiat",
  "model": "Panda",
  "city": "Milano",
  "price_max": 10000,
  "energy": "gpl",
  "sort_by": "Lowest Price",
  "max_cars": 100
}
````

**Input Example (URL override)**

```json
{
  "input_url": "https://www.automobile.it/fiat-panda",
  "max_cars": 100
}
```

**Output Example**

```json
{
  "id": "180506605",
  "title": "Fiat Panda 1.2 EasyPower Lounge",
  "url": "https://www.automobile.it/uboldo-fiat-panda-1-2-easypower-lounge/180506605",
  "image": "https://media-ys.automobile.it/api/v1/am-ad/images/0de85d1a9925df515d7d95bc194a5ef2?rule=ad-568.jpeg",
  "price": 4950,
  "year": 2018,
  "mileage": 290000,
  "fuel_type": "GPL",
  "gearbox": "Manuale",
  "power": "69 CV (51 KW)",
  "engine_capacity": "1242 cc",
  "location": "Uboldo (VA)",
  "photo_count": 16,
  "make": "FIAT",
  "model": "Panda",
  "channel": "Usato",
  "seller_type": "Professional",
  "dealer_name": "A.F. AUTO DI ALI WEHBE",
  "registration": "Maggio 2018"
}
```

### 📋 Input reference (detailed)

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `input_url` | string | No | — | Paste an automobile.it search URL; overrides all filters below when set. Leave empty to use filters (better for AI agents). |
| `make` | string enum | No | any | Car brand slug, fetched live from automobile.it's makes API (e.g. `fiat`, `bmw`, `mercedes_benz`, `alfa_romeo`). Empty = all brands. |
| `model` | string | No | — | Free-text model name (e.g. `Panda`, `Golf`, `Serie 3`). **Only used when `make` is set**; not a dropdown. |
| `region` | string enum | No | `""` (all Italy) | Italian region (e.g. `Lombardia`, `Lazio`, `Veneto`). |
| `city` | string | No | — | City name (e.g. `Milano`, `Roma`, `Torino`). **Takes priority over `region`** when both are set. |
| `channel` | string enum | No | `usate` | Listing channel: `usate` (used), `km0`, `nuove` (new), `noleggio` (rental), or empty for all ads. |
| `body_type` | string enum | No | any | Body style: `berlina`, `city_car`, `station_wagon`, `monovolume`, `suv`, `cabrio`, `auto_sportiva`, `altro`. |
| `price_min` / `price_max` | integer | No | — | Price range in **euros**. |
| `mileage_min` / `mileage_max` | integer | No | — | Mileage range in km. |
| `year_min` / `year_max` | integer | No | — | First-registration year range. |
| `energy` | string enum | No | any | Fuel type: `benzina`, `diesel`, `gpl`, `metano`, `elettrica` (electric), `ibrida_benzina`, `ibrida_diesel`, `idrogeno` (hydrogen), `etanolo` (ethanol). |
| `gearbox` | string enum | No | any | Transmission: `manuale`, `automatico`, `semiautomatico`. |
| `sort_by` | string enum | No | `Most Relevant` | Result order (see sort options above). |
| `max_cars` | integer | Yes | `50` | Maximum listings to return (`1`–`2000`). |
| `enrich_details` | boolean | No | `false` | If `true`, open each ad page for richer specs and dealer contact fields. Slower. |
| `listing_urls` | string\[] | No | — | Optional direct ad URLs. If set **without** other search filters, only these URLs are scraped. |

#### Notes

- `input_url` always wins over filters when provided.
- Each run returns at most **`max_cars`** listings (`1`–`2000`).
- Prices are always entered and returned in **euros**.
- `make` is a dropdown fetched from automobile.it's live makes API, so it always stays in sync with the site's brand list.

# Actor input Schema

## `input_url` (type: `string`):

Paste an automobile.it search results URL (e.g. https://www.automobile.it/bmw-serie\_3) to use instead of the filters below — overrides all structured filters when set. Leave empty to use the filters below (better for AI agents).

## `make` (type: `string`):

Car brand as on automobile.it (fetched from automobile.it's live makes API). Leave empty to search all brands. Ignored when input\_url is set.

## `model` (type: `string`):

Optional model (e.g. Panda, Golf, Serie 3). Free text — only used when `make` is also set; ignored otherwise. Ignored when input\_url is set.

## `region` (type: `string`):

Italian region. Empty = nationwide. City takes priority over region when both are set. Ignored when input\_url is set.

## `city` (type: `string`):

Optional city (e.g. Milano, Roma, Torino). Prefer this over region for tighter geo filters. Ignored when input\_url is set.

## `channel` (type: `string`):

Listing channel. Default is used cars. Ignored when input\_url is set.

## `body_type` (type: `string`):

Vehicle body style. Ignored when input\_url is set.

## `price_min` (type: `integer`):

Minimum price in euros. Ignored when input\_url is set.

## `price_max` (type: `integer`):

Maximum price in euros. Ignored when input\_url is set.

## `mileage_min` (type: `integer`):

Minimum mileage in km. Ignored when input\_url is set.

## `mileage_max` (type: `integer`):

Maximum mileage in km. Ignored when input\_url is set.

## `year_min` (type: `integer`):

Minimum first-registration year. Ignored when input\_url is set.

## `year_max` (type: `integer`):

Maximum first-registration year. Ignored when input\_url is set.

## `energy` (type: `string`):

Fuel type. Ignored when input\_url is set.

## `gearbox` (type: `string`):

Transmission. Ignored when input\_url is set.

## `sort_by` (type: `string`):

How to order the results.

## `max_cars` (type: `integer`):

Maximum listings to return per run (1–2000).

## `enrich_details` (type: `boolean`):

If true, open each ad page for description, colour, doors, seats, accessories, dealer phone/address (slower).

## `listing_urls` (type: `array`):

Optional direct ad URLs (https://www.automobile.it/.../ID). If set without search filters, only these URLs are scraped.

## Actor input object example

```json
{
  "make": "",
  "region": "",
  "channel": "usate",
  "body_type": "",
  "energy": "",
  "gearbox": "",
  "sort_by": "Most Relevant",
  "max_cars": 50,
  "enrich_details": false
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of scraped listings using the dataset 'overview' view.

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

All scraped listings from the default dataset without view transformation.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("dadhalfdev/automobile-it-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("dadhalfdev/automobile-it-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call dadhalfdev/automobile-it-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=dadhalfdev/automobile-it-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "automobile.it Scraper",
        "description": "Scrape used cars from automobile.it with structured filters (make, model, region, city, price, fuel). Returns price, mileage, year, location, and listing URL.",
        "version": "0.1",
        "x-build-id": "MJOprZvVGHeFowXOb"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/dadhalfdev~automobile-it-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-dadhalfdev-automobile-it-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/dadhalfdev~automobile-it-scraper/runs": {
            "post": {
                "operationId": "runs-sync-dadhalfdev-automobile-it-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/dadhalfdev~automobile-it-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-dadhalfdev-automobile-it-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "max_cars"
                ],
                "properties": {
                    "input_url": {
                        "title": "Input URL",
                        "type": "string",
                        "description": "Paste an automobile.it search results URL (e.g. https://www.automobile.it/bmw-serie_3) to use instead of the filters below — overrides all structured filters when set. Leave empty to use the filters below (better for AI agents)."
                    },
                    "make": {
                        "title": "Make",
                        "enum": [
                            "",
                            "abarth",
                            "ac",
                            "aixam",
                            "alfa_romeo",
                            "alpina_bmw",
                            "alpine",
                            "ariel",
                            "asia_motors",
                            "aston_martin",
                            "audi",
                            "austin_rover",
                            "autobianchi",
                            "bedford",
                            "bellier",
                            "bentley",
                            "bertone",
                            "biro_",
                            "bmw",
                            "bremach",
                            "bugatti",
                            "buick",
                            "byd",
                            "cadillac",
                            "casalini",
                            "caterham",
                            "chatenet",
                            "chevrolet",
                            "chrysler",
                            "cirelli",
                            "citroen",
                            "corvette",
                            "cupra",
                            "dacia",
                            "daewoo",
                            "daf",
                            "daihatsu",
                            "daimler",
                            "dallara",
                            "de_tomaso",
                            "dfsk",
                            "dodge",
                            "dr",
                            "ds",
                            "ducati_energia",
                            "effedi",
                            "eli",
                            "emc",
                            "estrima",
                            "evo",
                            "ferrari",
                            "fiat",
                            "fisker",
                            "ford",
                            "forthing",
                            "foton",
                            "gac_gonow",
                            "gem",
                            "giotti_victoria",
                            "great_wall_motor",
                            "haval",
                            "heibao_italia",
                            "honda",
                            "hummer",
                            "hyundai",
                            "ich_x",
                            "ineos",
                            "infiniti",
                            "innocenti",
                            "iso",
                            "isuzu",
                            "iveco",
                            "jaguar",
                            "jdm",
                            "jeep",
                            "katay",
                            "kgm",
                            "kia",
                            "lada",
                            "lamborghini",
                            "lancia",
                            "land_rover",
                            "lexus",
                            "ligier",
                            "lotus",
                            "lynk_co",
                            "mahindra",
                            "man",
                            "maserati",
                            "maxus",
                            "maybach",
                            "mazda",
                            "mclaren",
                            "mega",
                            "melex",
                            "mercedes_benz",
                            "mg",
                            "microcar",
                            "microlino",
                            "militem",
                            "minauto",
                            "mini",
                            "mitsubishi",
                            "mitsubishi_fuso",
                            "morgan",
                            "mustang",
                            "nissan",
                            "omai",
                            "opel",
                            "p_g_o_",
                            "pagani",
                            "panther",
                            "peugeot",
                            "piaggio",
                            "polestar",
                            "pontiac",
                            "porsche",
                            "puma_italia",
                            "renault",
                            "renault_trucks",
                            "rolls_royce",
                            "romanital",
                            "rover",
                            "saab",
                            "santana",
                            "seat",
                            "seres",
                            "silence",
                            "skoda",
                            "smart",
                            "sportequipe",
                            "ssangyong",
                            "subaru",
                            "suzuki",
                            "talbot",
                            "tata",
                            "tesla",
                            "today_sunshine",
                            "toyota",
                            "tvr",
                            "uaz",
                            "umm",
                            "volkswagen",
                            "volvo",
                            "xev",
                            "xindayang",
                            "zd",
                            "altre_marche"
                        ],
                        "type": "string",
                        "description": "Car brand as on automobile.it (fetched from automobile.it's live makes API). Leave empty to search all brands. Ignored when input_url is set.",
                        "default": ""
                    },
                    "model": {
                        "title": "Model",
                        "type": "string",
                        "description": "Optional model (e.g. Panda, Golf, Serie 3). Free text — only used when `make` is also set; ignored otherwise. Ignored when input_url is set."
                    },
                    "region": {
                        "title": "Region",
                        "enum": [
                            "",
                            "Abruzzo",
                            "Basilicata",
                            "Calabria",
                            "Campania",
                            "Emilia Romagna",
                            "Friuli Venezia Giulia",
                            "Lazio",
                            "Liguria",
                            "Lombardia",
                            "Marche",
                            "Molise",
                            "Piemonte",
                            "Puglia",
                            "Sardegna",
                            "Sicilia",
                            "Toscana",
                            "Trentino Alto Adige",
                            "Umbria",
                            "Valle d'Aosta",
                            "Veneto"
                        ],
                        "type": "string",
                        "description": "Italian region. Empty = nationwide. City takes priority over region when both are set. Ignored when input_url is set.",
                        "default": ""
                    },
                    "city": {
                        "title": "City",
                        "type": "string",
                        "description": "Optional city (e.g. Milano, Roma, Torino). Prefer this over region for tighter geo filters. Ignored when input_url is set."
                    },
                    "channel": {
                        "title": "Channel",
                        "enum": [
                            "",
                            "usate",
                            "km0",
                            "nuove",
                            "noleggio"
                        ],
                        "type": "string",
                        "description": "Listing channel. Default is used cars. Ignored when input_url is set.",
                        "default": "usate"
                    },
                    "body_type": {
                        "title": "Body type",
                        "enum": [
                            "",
                            "berlina",
                            "city_car",
                            "station_wagon",
                            "monovolume",
                            "suv",
                            "cabrio",
                            "auto_sportiva",
                            "altro"
                        ],
                        "type": "string",
                        "description": "Vehicle body style. Ignored when input_url is set.",
                        "default": ""
                    },
                    "price_min": {
                        "title": "Min price (€)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Minimum price in euros. Ignored when input_url is set."
                    },
                    "price_max": {
                        "title": "Max price (€)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum price in euros. Ignored when input_url is set."
                    },
                    "mileage_min": {
                        "title": "Min mileage (km)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Minimum mileage in km. Ignored when input_url is set."
                    },
                    "mileage_max": {
                        "title": "Max mileage (km)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum mileage in km. Ignored when input_url is set."
                    },
                    "year_min": {
                        "title": "Min year",
                        "minimum": 1900,
                        "maximum": 2100,
                        "type": "integer",
                        "description": "Minimum first-registration year. Ignored when input_url is set."
                    },
                    "year_max": {
                        "title": "Max year",
                        "minimum": 1900,
                        "maximum": 2100,
                        "type": "integer",
                        "description": "Maximum first-registration year. Ignored when input_url is set."
                    },
                    "energy": {
                        "title": "Fuel / energy",
                        "enum": [
                            "",
                            "benzina",
                            "diesel",
                            "gpl",
                            "metano",
                            "elettrica",
                            "ibrida_benzina",
                            "ibrida_diesel",
                            "idrogeno",
                            "etanolo"
                        ],
                        "type": "string",
                        "description": "Fuel type. Ignored when input_url is set.",
                        "default": ""
                    },
                    "gearbox": {
                        "title": "Gearbox",
                        "enum": [
                            "",
                            "manuale",
                            "automatico",
                            "semiautomatico"
                        ],
                        "type": "string",
                        "description": "Transmission. Ignored when input_url is set.",
                        "default": ""
                    },
                    "sort_by": {
                        "title": "Sort by",
                        "enum": [
                            "Most Relevant",
                            "Lowest Price",
                            "Highest Price",
                            "Most Recent",
                            "Oldest First",
                            "Lowest KM",
                            "Newest Year"
                        ],
                        "type": "string",
                        "description": "How to order the results.",
                        "default": "Most Relevant"
                    },
                    "max_cars": {
                        "title": "Max cars",
                        "minimum": 1,
                        "maximum": 2000,
                        "type": "integer",
                        "description": "Maximum listings to return per run (1–2000).",
                        "default": 50
                    },
                    "enrich_details": {
                        "title": "Enrich details",
                        "type": "boolean",
                        "description": "If true, open each ad page for description, colour, doors, seats, accessories, dealer phone/address (slower).",
                        "default": false
                    },
                    "listing_urls": {
                        "title": "Listing URLs",
                        "type": "array",
                        "description": "Optional direct ad URLs (https://www.automobile.it/.../ID). If set without search filters, only these URLs are scraped.",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
