# Gulf Used Car Scraper - Multi-Platform MENA Automotive Data (`constructive_calm/gulf-used-car-scraper`) Actor

Scrapes used car listings from DubiCars, YallaMotor, and Dubizzle Motors across UAE, Saudi Arabia, and 5+ Gulf countries. Extracts prices, specs, mileage, seller info, and photos into normalized structured data with change detection.

- **URL**: https://apify.com/constructive\_calm/gulf-used-car-scraper.md
- **Developed by:** [Omar Eldeeb](https://apify.com/constructive_calm) (community)
- **Categories:** E-commerce, Automation, Other
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $10.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.

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.md):

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

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.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/platform/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

## UAE Used Car Scraper

Multi-platform used car data scraper for the UAE. Extracts **normalized, structured car listings** from DubiCars and Dubizzle Motors into a single dataset with cross-platform deduplication and change detection.

### What does this actor do?

This actor collects used car listings from the two largest used car platforms in the UAE and normalizes them into a clean, structured dataset. It scrapes make, model, year, price, mileage, specs (transmission, fuel type, engine size, body type, drive type, color), seller info, location, and images — then detects cross-platform duplicates and tracks price changes across runs.

**Supported platforms:**

- **DubiCars** (UAE) — 10,000+ active listings, rich dealer network, fastest extraction (~20s per 20 listings). Seller info, exterior + interior color, transmission, drivetrain.
- **Dubizzle Motors** (UAE) — high-volume consumer marketplace, structured extraction from `__NEXT_DATA__` with Gemini AI Vision fallback for WAF-blocked listings. Trim, engine size, listing date, cylinders.

**Currency:** AED (both platforms are UAE-based).

### Why use this actor?

- **Multi-platform aggregation** — Get listings from both major UAE platforms in one normalized dataset.
- **Complementary data** — DubiCars nails seller/dealer + drivetrain + color; Dubizzle nails price + trim + engine + listing date. Together: near-complete coverage per listing.
- **Change detection** — Track price changes, new listings, removed listings, and relistings across runs. Get webhook alerts for price drops.
- **Cross-platform deduplication** — Automatically detect the same car listed on both platforms (dealer cross-posting).
- **Ready for business** — Price comparison startups, dealer inventory monitoring, market research, import/export arbitrage, or consumer-facing deal finders.

**Replace expensive alternatives:**
- Manual multi-site tracking — hours per week
- Enterprise APIs — $500-2000/month
- Per-listing dealer tools — per-seat licensing

### How to use this actor

1. **Select platforms** — Choose `all` (both), or pick one.
2. **Filter by make/model/year/price/mileage** — Optional. Leave empty for all listings.
3. **Set max listings per platform** — Default 100, adjust as needed.
4. **Enable proxy configuration** — Use Apify's RESIDENTIAL proxies for best reliability (Dubizzle requires them).
5. **Optional: enable change detection** — Set a `datasetName` to track changes across runs.
6. **Run the actor** — Results appear in the default dataset within minutes.

### Input

```json
{
  "platforms": ["all"],
  "make": "toyota",
  "model": "camry",
  "yearFrom": 2018,
  "yearTo": 2024,
  "priceFrom": 30000,
  "priceTo": 150000,
  "maxMileage": 100000,
  "sellerType": "dealer",
  "maxListingsPerPlatform": 100,
  "useBrowser": "auto",
  "detectChanges": true,
  "datasetName": "uae-camry-watch",
  "webhookUrl": "https://your-webhook.example.com",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
````

#### Key input fields

| Field | Description |
|-------|-------------|
| `platforms` | Which platforms to scrape (`all`, `dubicars`, `dubizzle`) |
| `make` | Car brand filter (e.g. `toyota`, `bmw`). **Leave empty to scrape ALL makes** across the entire market — useful for trend analysis, price benchmarking, or dealer inventory sweeps. |
| `model` | Car model filter (e.g. `camry`, `land-cruiser`). **Requires `make` to be set** — filtering by model alone is ignored. |
| `yearFrom` / `yearTo` | Year range filter. Leave empty for no bound on that side. |
| `priceFrom` / `priceTo` | Price range in AED. |
| `maxMileage` | Maximum odometer reading in km. |
| `sellerType` | Filter by `dealer`, `individual`, or `all`. |
| `maxListingsPerPlatform` | Cap listings per platform (default 100). Each listing = $0.005 PPE charge. |
| `includeNew` | Include brand-new cars alongside used (default false). |
| `useBrowser` | `auto` (default), `always`, or `never`. |
| `useAI` | Enable Gemini Vision fallback for Dubizzle (default true). Only charges $0.05 for listings that actually need AI recovery. |
| `detectChanges` | Enable price/listing change detection. Requires `datasetName`. |
| `datasetName` | Named dataset for tracking changes between runs. |
| `webhookUrl` | POST URL for change notifications. |

#### Common scenarios

- **Scan whole market**: leave `make` and `model` empty, set `maxListingsPerPlatform: 100+`. Returns every brand available across both platforms.
- **Track one model**: `make: "toyota"`, `model: "land-cruiser"`, `yearFrom: 2022`. Returns only matching Toyota Land Cruisers.
- **Dealer inventory only**: `sellerType: "dealer"`. Excludes private sellers.
- **Single platform**: `platforms: ["dubicars"]` for fastest runs (no WAF dependency); `platforms: ["dubizzle"]` for richest specs.
- **Price watchlist**: `datasetName: "weekly-prado-watch"`, `detectChanges: true`, `webhookUrl: "https://..."`. Weekly run detects price drops, sends alert.

### Output

You can download the dataset in various formats including JSON, CSV, Excel, XML, and HTML.

Example listing:

```json
{
  "sourcePlatform": "dubizzle",
  "platformListingId": "c05a...e7",
  "listingUrl": "https://dubai.dubizzle.com/motors/used-cars/toyota/land-cruiser/...",
  "make": "Toyota",
  "model": "Land Cruiser",
  "year": 2023,
  "trim": "GXR 3.5L TT",
  "bodyType": "SUV",
  "mileageKm": 42000,
  "fuelType": "Petrol",
  "engineSize": "3.5L",
  "cylinders": 6,
  "interiorColor": "Black",
  "doors": 5,
  "seatingCapacity": 7,
  "price": 345000,
  "currency": "AED",
  "priceAvailable": true,
  "country": "UAE",
  "city": "Dubai",
  "sellerType": "dealer",
  "dealerName": "Al Futtaim Motors",
  "isGccSpec": true,
  "inspected": true,
  "listingDate": "2026-04-16T00:00:00.000Z",
  "daysOnMarket": 4,
  "images": ["https://dbzlpr.azureedge.net/..."],
  "title": "Toyota Land Cruiser GXR 3.5L TT GCC Specs",
  "description": "...",
  "scrapedAt": "2026-04-20T15:34:00.000Z",
  "extractionMethod": "playwright",
  "extractionConfidence": "high",
  "fingerprint": "toyota|land cruiser|2023|4",
  "hasChanges": false,
  "changes": [],
  "crossPlatformMatches": []
}
```

#### Data fields extracted

| Field | Description |
|-------|-------------|
| `make`, `model`, `year`, `trim` | Vehicle identity |
| `bodyType` | Sedan, SUV, Hatchback, Truck, Coupe, etc. |
| `mileageKm` | Mileage in kilometers |
| `fuelType` | Petrol, Diesel, Hybrid, Electric |
| `transmission` | Automatic, Manual |
| `engineSize` | e.g., "2.0L", "5.3L" |
| `driveType` | FWD, RWD, AWD, 4WD |
| `color`, `interiorColor` | Exterior and interior colors |
| `doors`, `seatingCapacity` | Vehicle config |
| `price`, `currency` | Price in AED |
| `country`, `city` | Location |
| `sellerType`, `sellerName`, `dealerName` | Seller info |
| `isGccSpec` | GCC specification flag |
| `isNew` | New vs used flag |
| `images`, `photoCount` | Listing photos |
| `hasChanges`, `changes` | Change detection per listing |
| `previousPrice`, `previousScrapedAt` | Previous run comparison |
| `crossPlatformMatches` | Same car on other platforms |
| `fingerprint` | Cross-platform dedup key |

### Pricing

This actor uses pay-per-event pricing:

- **$0.005** per car listing extracted
- **$0.01** per change detected (price change, new listing, removed listing)
- **$0.05** per AI-extracted listing (fallback when standard extraction fails)

#### Example costs

- Search "Toyota Camry" on both platforms (~100 listings): ~$0.50
- Monitor 500 listings weekly for price changes: ~$2.50/week
- Dealer tracking 1000 cars monthly: ~$5-10/month

Compare to:

- **Enterprise automotive data APIs**: $500-2000/month
- **Manual multi-site monitoring**: hours per week

### Platform Reliability

- **DubiCars (UAE)** — **Excellent.** Cheerio-based, consistent on every run. Works without proxy. ~20 s per 20 listings.
- **Dubizzle Motors (UAE)** — **Production-ready.** Playwright extraction from `__NEXT_DATA__` redux store with Gemini AI Vision fallback for listings blocked by Imperva WAF. 20+ fields per listing including make, model, year, mileage, trim, price, cylinders, engine size, body/fuel type, interior color, seating, doors, dealer name, seller type, GCC spec, inspection, listing date. Requires residential proxies.

### Tips

- **Use residential proxies** (`apifyProxyGroups: ["RESIDENTIAL"]`) for Dubizzle.
- **Start small** — Test with `maxListingsPerPlatform: 10` first.
- **Enable change detection** for recurring monitoring — pass a unique `datasetName`.
- **Set webhook URL** to get notified when prices drop or new listings appear.
- **Filter by `sellerType: "dealer"`** if you want dealer inventory only.

### FAQ

**Is web scraping legal?**
Yes — scraping publicly available data is legal in most jurisdictions. This actor only accesses data that any user can view in their browser. Respect each platform's robots.txt and terms of service.

**Why doesn't one of the platforms return listings?**
DubiCars is Cheerio-based and reliable on every run. Dubizzle uses Playwright with Imperva-WAF bypass — use residential proxies for best results. Dubizzle has an AI Vision fallback that recovers listings blocked by the WAF.

**How often can I run this?**
There are no hard limits, but we recommend no more than 1 run per hour per platform to respect their servers. Use change detection to find what's new between runs.

**Can I get the seller's phone number?**
Not from search pages. Most platforms hide phone numbers behind a "Show phone" button that requires JavaScript interaction. This is a planned enhancement.

**Does this work for new cars too?**
Yes — set `includeNew: true` in the input.

### Support

- Found a bug or need a new platform? Open an issue on the Actor's page.
- Need a custom solution for your UAE automotive data needs? Contact us via the Actor page.

# Actor input Schema

## `platforms` (type: `array`):

Which UAE car platforms to scrape. DubiCars has the broadest dealer inventory and is fastest; Dubizzle Motors has the highest listing volume and richer specs (trim, engine, listing date). 'All Platforms' scrapes both.

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

City filter (e.g., 'dubai', 'riyadh', 'jeddah', 'abu-dhabi'). Only applied to Dubizzle Motors URLs. Leave empty to include all cities in the selected country.

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

Filter by car make (e.g., 'toyota', 'nissan', 'mercedes', 'bmw'). LEAVE EMPTY to scrape ALL makes across the market — useful for trend analysis or cross-brand price benchmarking.

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

Filter by car model (e.g., 'camry', 'patrol', 'c-class'). Requires 'make' to be set — filtering by model alone is not supported (you must specify the brand first).

## `yearFrom` (type: `integer`):

Minimum model year (e.g., 2020). Leave empty for no lower bound.

## `yearTo` (type: `integer`):

Maximum model year (e.g., 2026). Leave empty for no upper bound.

## `priceFrom` (type: `integer`):

Minimum price in AED. Both platforms are UAE-based so there's no currency conversion.

## `priceTo` (type: `integer`):

Maximum price in AED. Leave empty for no upper bound.

## `maxMileage` (type: `integer`):

Maximum odometer reading in kilometers. 0 is treated as 'no filter' — brand-new cars (0 km) are always included unless you also set 'Include New Cars' to false.

## `sellerType` (type: `string`):

Filter by seller type. Both platforms expose dealer vs. individual seller info.

## `maxListingsPerPlatform` (type: `integer`):

Cap per platform (so 'all' with 100 = up to 200 total). Each extracted listing is charged $0.005. Start small (5-10) to preview data before running large scrapes.

## `includeNew` (type: `boolean`):

Also return brand-new dealer listings (0 km) alongside used cars. Default false returns used-only.

## `useBrowser` (type: `string`):

When to use Playwright browser rendering. 'Auto' is recommended — uses Cheerio first (fast, cheap) and falls back to browser only when needed. 'Always' forces browser mode (slower but more resilient). 'Never' disables browser (DubiCars still works; Dubizzle returns 0 since its WAF requires a browser).

## `useAI` (type: `boolean`):

When Dubizzle's anti-bot protection blocks structured extraction, take a screenshot of the listing page and have Gemini 2.5 Flash extract the data. Charged at $0.05 per recovered listing. Only fires when structured extraction fails.

## `detectChanges` (type: `boolean`):

Compare this run's results with the previous run (stored in a named dataset) to detect price changes, new listings, removed listings, and cross-platform relistings. Requires 'Dataset Name' to be set. Each detected change charges $0.01.

## `datasetName` (type: `string`):

Named dataset for tracking changes across runs. Use the same name on recurring runs to enable price-drop / new-listing / removed-listing detection. Example: 'saudi-toyotas-weekly'.

## `webhookUrl` (type: `string`):

Optional URL to POST a JSON summary when the run finishes. Includes price drops, new listings, and cross-platform matches. Useful for Slack/Discord alerts or downstream automation.

## `proxyConfiguration` (type: `object`):

Proxy settings. RESIDENTIAL proxies are strongly recommended — Dubizzle blocks datacenter IPs. DubiCars works without any proxy. Default: Apify Proxy auto-selection.

## Actor input object example

```json
{
  "platforms": [
    "all"
  ],
  "make": "toyota",
  "sellerType": "all",
  "maxListingsPerPlatform": 20,
  "includeNew": false,
  "useBrowser": "auto",
  "useAI": true,
  "detectChanges": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

# 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 = {
    "platforms": [
        "all"
    ],
    "make": "toyota",
    "maxListingsPerPlatform": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("constructive_calm/gulf-used-car-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 = {
    "platforms": ["all"],
    "make": "toyota",
    "maxListingsPerPlatform": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("constructive_calm/gulf-used-car-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 '{
  "platforms": [
    "all"
  ],
  "make": "toyota",
  "maxListingsPerPlatform": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call constructive_calm/gulf-used-car-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Gulf Used Car Scraper - Multi-Platform MENA Automotive Data",
        "description": "Scrapes used car listings from DubiCars, YallaMotor, and Dubizzle Motors across UAE, Saudi Arabia, and 5+ Gulf countries. Extracts prices, specs, mileage, seller info, and photos into normalized structured data with change detection.",
        "version": "1.0",
        "x-build-id": "sXlWJQFBFmhYjkval"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/constructive_calm~gulf-used-car-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-constructive_calm-gulf-used-car-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/constructive_calm~gulf-used-car-scraper/runs": {
            "post": {
                "operationId": "runs-sync-constructive_calm-gulf-used-car-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/constructive_calm~gulf-used-car-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-constructive_calm-gulf-used-car-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",
                "properties": {
                    "platforms": {
                        "title": "Platforms",
                        "type": "array",
                        "description": "Which UAE car platforms to scrape. DubiCars has the broadest dealer inventory and is fastest; Dubizzle Motors has the highest listing volume and richer specs (trim, engine, listing date). 'All Platforms' scrapes both.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "all",
                                "dubicars",
                                "dubizzle"
                            ],
                            "enumTitles": [
                                "All Platforms",
                                "DubiCars (UAE)",
                                "Dubizzle Motors (UAE)"
                            ]
                        },
                        "default": [
                            "all"
                        ]
                    },
                    "city": {
                        "title": "City",
                        "type": "string",
                        "description": "City filter (e.g., 'dubai', 'riyadh', 'jeddah', 'abu-dhabi'). Only applied to Dubizzle Motors URLs. Leave empty to include all cities in the selected country."
                    },
                    "make": {
                        "title": "Car Make",
                        "type": "string",
                        "description": "Filter by car make (e.g., 'toyota', 'nissan', 'mercedes', 'bmw'). LEAVE EMPTY to scrape ALL makes across the market — useful for trend analysis or cross-brand price benchmarking."
                    },
                    "model": {
                        "title": "Car Model",
                        "type": "string",
                        "description": "Filter by car model (e.g., 'camry', 'patrol', 'c-class'). Requires 'make' to be set — filtering by model alone is not supported (you must specify the brand first)."
                    },
                    "yearFrom": {
                        "title": "Year From",
                        "minimum": 1990,
                        "maximum": 2027,
                        "type": "integer",
                        "description": "Minimum model year (e.g., 2020). Leave empty for no lower bound."
                    },
                    "yearTo": {
                        "title": "Year To",
                        "minimum": 1990,
                        "maximum": 2027,
                        "type": "integer",
                        "description": "Maximum model year (e.g., 2026). Leave empty for no upper bound."
                    },
                    "priceFrom": {
                        "title": "Price From",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Minimum price in AED. Both platforms are UAE-based so there's no currency conversion."
                    },
                    "priceTo": {
                        "title": "Price To",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum price in AED. Leave empty for no upper bound."
                    },
                    "maxMileage": {
                        "title": "Max Mileage (km)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum odometer reading in kilometers. 0 is treated as 'no filter' — brand-new cars (0 km) are always included unless you also set 'Include New Cars' to false."
                    },
                    "sellerType": {
                        "title": "Seller Type",
                        "enum": [
                            "all",
                            "dealer",
                            "individual"
                        ],
                        "type": "string",
                        "description": "Filter by seller type. Both platforms expose dealer vs. individual seller info.",
                        "default": "all"
                    },
                    "maxListingsPerPlatform": {
                        "title": "Max Listings Per Platform",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Cap per platform (so 'all' with 100 = up to 200 total). Each extracted listing is charged $0.005. Start small (5-10) to preview data before running large scrapes.",
                        "default": 100
                    },
                    "includeNew": {
                        "title": "Include New Cars",
                        "type": "boolean",
                        "description": "Also return brand-new dealer listings (0 km) alongside used cars. Default false returns used-only.",
                        "default": false
                    },
                    "useBrowser": {
                        "title": "Browser Mode",
                        "enum": [
                            "auto",
                            "always",
                            "never"
                        ],
                        "type": "string",
                        "description": "When to use Playwright browser rendering. 'Auto' is recommended — uses Cheerio first (fast, cheap) and falls back to browser only when needed. 'Always' forces browser mode (slower but more resilient). 'Never' disables browser (DubiCars still works; Dubizzle returns 0 since its WAF requires a browser).",
                        "default": "auto"
                    },
                    "useAI": {
                        "title": "Use AI Extraction (Gemini Vision)",
                        "type": "boolean",
                        "description": "When Dubizzle's anti-bot protection blocks structured extraction, take a screenshot of the listing page and have Gemini 2.5 Flash extract the data. Charged at $0.05 per recovered listing. Only fires when structured extraction fails.",
                        "default": true
                    },
                    "detectChanges": {
                        "title": "Detect Changes Across Runs",
                        "type": "boolean",
                        "description": "Compare this run's results with the previous run (stored in a named dataset) to detect price changes, new listings, removed listings, and cross-platform relistings. Requires 'Dataset Name' to be set. Each detected change charges $0.01.",
                        "default": true
                    },
                    "datasetName": {
                        "title": "Dataset Name",
                        "type": "string",
                        "description": "Named dataset for tracking changes across runs. Use the same name on recurring runs to enable price-drop / new-listing / removed-listing detection. Example: 'saudi-toyotas-weekly'."
                    },
                    "webhookUrl": {
                        "title": "Webhook URL",
                        "type": "string",
                        "description": "Optional URL to POST a JSON summary when the run finishes. Includes price drops, new listings, and cross-platform matches. Useful for Slack/Discord alerts or downstream automation."
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings. RESIDENTIAL proxies are strongly recommended — Dubizzle blocks datacenter IPs. DubiCars works without any proxy. Default: Apify Proxy auto-selection."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
