{
  "data": {
    "id": "65MgT8uiH7GjQ1vVY",
    "actId": "4JxZQOZvkuV5yOuyZ",
    "userId": "4BicJNfmk8uEe3GtT",
    "startedAt": "2026-11-22T12:41:22.158Z",
    "finishedAt": "2026-11-22T12:41:31.599Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "stats": {
      "durationMillis": 9373,
      "runTimeSecs": 9.373,
      "computeUnits": 0.010414444444444445,
      "imageSizeBytes": 361352192
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "chIfRjofLtMMYtdFe",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"AutoTrader UK Car Listings Input\",\n  \"description\": \"Scrape used car listings from PistonHeads UK. Search by make, model, location or any keyword.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to fetch.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"search\",\n        \"byMakeModel\"\n      ],\n      \"enumTitles\": [\n        \"Free-text search (e.g. 'ford focus')\",\n        \"Structured search by make and model\"\n      ],\n      \"default\": \"search\",\n      \"prefill\": \"search\"\n    },\n    \"searchQuery\": {\n      \"title\": \"Search query\",\n      \"type\": \"string\",\n      \"description\": \"Free-text search query (mode=search). First word is treated as the make, remaining words as the model. E.g. 'ford focus' or 'bmw 3-series'.\",\n      \"editor\": \"textfield\",\n      \"default\": \"ford focus\",\n      \"prefill\": \"ford focus\"\n    },\n    \"make\": {\n      \"title\": \"Vehicle make (mode=byMakeModel)\",\n      \"type\": \"string\",\n      \"description\": \"Vehicle manufacturer, e.g. ford, bmw, audi (lowercase).\",\n      \"editor\": \"textfield\"\n    },\n    \"model\": {\n      \"title\": \"Vehicle model (mode=byMakeModel)\",\n      \"type\": \"string\",\n      \"description\": \"Vehicle model, e.g. focus, 3-series, a4 (lowercase, hyphen-separated).\",\n      \"editor\": \"textfield\"\n    },\n    \"location\": {\n      \"title\": \"UK Location / postcode area\",\n      \"type\": \"string\",\n      \"description\": \"UK location label to attach to records as a fallback seller location (e.g. 'london', 'manchester').\",\n      \"editor\": \"textfield\"\n    },\n    \"sortOrder\": {\n      \"title\": \"Sort order\",\n      \"type\": \"string\",\n      \"description\": \"How to sort results.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"date\",\n        \"price_asc\",\n        \"price_desc\",\n        \"relevance\",\n        \"mileage_asc\"\n      ],\n      \"enumTitles\": [\n        \"Newest first\",\n        \"Cheapest first\",\n        \"Most expensive first\",\n        \"Best match\",\n        \"Lowest mileage first\"\n      ],\n      \"default\": \"date\",\n      \"prefill\": \"date\"\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted records.\",\n      \"minimum\": 1,\n      \"maximum\": 500,\n      \"default\": 30,\n      \"prefill\": 30\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# PistonHeads UK Used Car Classifieds Scraper\n\n[PistonHeads](https://www.pistonheads.com) is a UK car classifieds and enthusiast site with used-car listings by make and model. This actor reads PistonHeads' own listing data embedded in its search pages, so you get one structured record per car without visiting each listing individually.\n\n## What this actor does\n\n- Searches PistonHeads listings either by free text (\"ford focus\") or by a structured make + model pair\n- Resolves a model name to PistonHeads' own generation slugs (e.g. \"3 series\" to several BMW 3 Series generations) and pulls listings across all matching generations\n- Sorts results by date, price or mileage before trimming to your requested count\n- Returns make, model, year, price, mileage, spec and seller details for every matched listing\n- Omits any field PistonHeads didn't publish for that listing — no blank or placeholder values\n\n## Output per listing\n\n- `listingId` — PistonHeads' internal advert ID\n- `listingUrl` — direct link to the listing\n- `title` — listing headline\n- `make`, `model`, `year`\n- `price`, `priceCurrency` (GBP)\n- `description` — listing summary text (up to 1000 characters)\n- `imageCount` — number of photos on the listing (photo URLs are not included, see FAQ)\n- `mileage`, `mileageUnit` (miles)\n- `fuelType`, `transmission`, `bodyType`, `colour`\n- `engineLitres`, `doors`\n- `sellerName`, `sellerType`, `sellerLocation`\n- `brandType` — PistonHeads' own listing category flag\n- `isFeatured` — `true` for promoted listings\n- `priceOnApplication` — `true` when no fixed price is published\n- `recordType` (`\"carListing\"`), `sourceUrl`, `scrapedAt`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | select | `search` | `search` (free-text, first word treated as make) or `byMakeModel` (structured make/model) |\n| `searchQuery` | string | `ford focus` | Free-text query used with `mode=search`; first word is the make, the rest is the model |\n| `make` | string | – | Vehicle manufacturer, lowercase, used with `mode=byMakeModel` |\n| `model` | string | – | Vehicle model, lowercase/hyphenated, used with `mode=byMakeModel` |\n| `location` | string | – | Label attached to a record's `sellerLocation` only when PistonHeads doesn't publish a seller town for that listing; it does not filter results geographically |\n| `sortOrder` | select | `date` | `date`, `price_asc`, `price_desc`, `relevance`, `mileage_asc` |\n| `maxItems` | integer | `30` | Hard cap on emitted records |\n\n### Example: free-text search, cheapest first\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQuery\": \"bmw 3 series\",\n  \"sortOrder\": \"price_asc\",\n  \"maxItems\": 50\n}\n```\n\n### Example: structured make/model search\n\n```json\n{\n  \"mode\": \"byMakeModel\",\n  \"make\": \"volkswagen\",\n  \"model\": \"golf\",\n  \"sortOrder\": \"date\",\n  \"maxItems\": 30\n}\n```\n\n## Use cases\n\n- **Used car price research** — compare asking prices for a make/model across current PistonHeads listings\n- **Market monitoring** — track newly posted listings for a specific model on a schedule\n- **Spec comparisons** — pull fuel type, transmission, engine size and mileage side by side for a shortlist\n- **Dealer vs private analysis** — use `sellerType` to separate trade and private-seller listings\n\n## FAQ\n\n**Is this affiliated with PistonHeads?** No. This is an independent tool that reads PistonHeads' public listing pages; it is not operated by or affiliated with PistonHeads.\n\n**What's the real difference between `search` and `byMakeModel`?** Both end up resolving the same make/model lookup internally — `search` just parses your free-text query into a make (first word) and model (remaining words) before running the identical search. Use whichever input shape is more convenient.\n\n**Why is there no `imageUrl` field?** PistonHeads' image CDN blocks non-browser requests to its photo URLs, so photo links returned by this actor wouldn't actually load. `imageCount` tells you how many photos the listing has instead.\n\n**Does `location` filter results by area?** No. PistonHeads' search here is organized by make/model, not postcode radius. `location` is only used to fill in `sellerLocation` on records where PistonHeads itself doesn't publish a seller town.\n\n**Why do some listings have no `price`?** When a seller marks a listing \"price on application\" instead of a fixed figure, `price` is omitted and `priceOnApplication` is set to `true`.\n\n**Do I need a login, proxy or API key?** No. PistonHeads' listing pages are public and the actor reads them directly.\n\n**What happens if my `model` doesn't match any PistonHeads generation?** The actor logs a warning and falls back to a make-wide search instead of returning zero results.\n\n**Can I sort by mileage?** Yes, set `sortOrder` to `mileage_asc` for lowest mileage first.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "pistonheads-uk-used-car-classifieds-scraper",
      "title": "PistonHeads UK Used Car Classifieds Scraper",
      "description": "Search PistonHeads UK used-car listings by free text or by make and model, returning price, mileage, spec and seller details for each matching listing.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# PistonHeads UK Used Car Classifieds Scraper\n\n[PistonHeads](https://www.pistonheads.com) is a UK car classifieds and enthusiast site with used-car listings by make and model. This actor reads PistonHeads' own listing data embedded in its search pages, so you get one structured record per car without visiting each listing individually.\n\n## What this actor does\n\n- Searches PistonHeads listings either by free text (\"ford focus\") or by a structured make + model pair\n- Resolves a model name to PistonHeads' own generation slugs (e.g. \"3 series\" to several BMW 3 Series generations) and pulls listings across all matching generations\n- Sorts results by date, price or mileage before trimming to your requested count\n- Returns make, model, year, price, mileage, spec and seller details for every matched listing\n- Omits any field PistonHeads didn't publish for that listing — no blank or placeholder values\n\n## Output per listing\n\n- `listingId` — PistonHeads' internal advert ID\n- `listingUrl` — direct link to the listing\n- `title` — listing headline\n- `make`, `model`, `year`\n- `price`, `priceCurrency` (GBP)\n- `description` — listing summary text (up to 1000 characters)\n- `imageCount` — number of photos on the listing (photo URLs are not included, see FAQ)\n- `mileage`, `mileageUnit` (miles)\n- `fuelType`, `transmission`, `bodyType`, `colour`\n- `engineLitres`, `doors`\n- `sellerName`, `sellerType`, `sellerLocation`\n- `brandType` — PistonHeads' own listing category flag\n- `isFeatured` — `true` for promoted listings\n- `priceOnApplication` — `true` when no fixed price is published\n- `recordType` (`\"carListing\"`), `sourceUrl`, `scrapedAt`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | select | `search` | `search` (free-text, first word treated as make) or `byMakeModel` (structured make/model) |\n| `searchQuery` | string | `ford focus` | Free-text query used with `mode=search`; first word is the make, the rest is the model |\n| `make` | string | – | Vehicle manufacturer, lowercase, used with `mode=byMakeModel` |\n| `model` | string | – | Vehicle model, lowercase/hyphenated, used with `mode=byMakeModel` |\n| `location` | string | – | Label attached to a record's `sellerLocation` only when PistonHeads doesn't publish a seller town for that listing; it does not filter results geographically |\n| `sortOrder` | select | `date` | `date`, `price_asc`, `price_desc`, `relevance`, `mileage_asc` |\n| `maxItems` | integer | `30` | Hard cap on emitted records |\n\n### Example: free-text search, cheapest first\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQuery\": \"bmw 3 series\",\n  \"sortOrder\": \"price_asc\",\n  \"maxItems\": 50\n}\n```\n\n### Example: structured make/model search\n\n```json\n{\n  \"mode\": \"byMakeModel\",\n  \"make\": \"volkswagen\",\n  \"model\": \"golf\",\n  \"sortOrder\": \"date\",\n  \"maxItems\": 30\n}\n```\n\n## Use cases\n\n- **Used car price research** — compare asking prices for a make/model across current PistonHeads listings\n- **Market monitoring** — track newly posted listings for a specific model on a schedule\n- **Spec comparisons** — pull fuel type, transmission, engine size and mileage side by side for a shortlist\n- **Dealer vs private analysis** — use `sellerType` to separate trade and private-seller listings\n\n## FAQ\n\n**Is this affiliated with PistonHeads?** No. This is an independent tool that reads PistonHeads' public listing pages; it is not operated by or affiliated with PistonHeads.\n\n**What's the real difference between `search` and `byMakeModel`?** Both end up resolving the same make/model lookup internally — `search` just parses your free-text query into a make (first word) and model (remaining words) before running the identical search. Use whichever input shape is more convenient.\n\n**Why is there no `imageUrl` field?** PistonHeads' image CDN blocks non-browser requests to its photo URLs, so photo links returned by this actor wouldn't actually load. `imageCount` tells you how many photos the listing has instead.\n\n**Does `location` filter results by area?** No. PistonHeads' search here is organized by make/model, not postcode radius. `location` is only used to fill in `sellerLocation` on records where PistonHeads itself doesn't publish a seller town.\n\n**Why do some listings have no `price`?** When a seller marks a listing \"price on application\" instead of a fixed figure, `price` is omitted and `priceOnApplication` is set to `true`.\n\n**Do I need a login, proxy or API key?** No. PistonHeads' listing pages are public and the actor reads them directly.\n\n**What happens if my `model` doesn't match any PistonHeads generation?** The actor logs a warning and falls back to a make-wide search instead of returning zero results.\n\n**Can I sort by mileage?** Yes, set `sortOrder` to `mileage_asc` for lowest mileage first.\n",
      "input": {
        "title": "AutoTrader UK Car Listings Input",
        "description": "Scrape used car listings from PistonHeads UK. Search by make, model, location or any keyword.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to fetch.",
            "editor": "select",
            "enum": [
              "search",
              "byMakeModel"
            ],
            "enumTitles": [
              "Free-text search (e.g. 'ford focus')",
              "Structured search by make and model"
            ],
            "default": "search",
            "prefill": "search"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text search query (mode=search). First word is treated as the make, remaining words as the model. E.g. 'ford focus' or 'bmw 3-series'.",
            "editor": "textfield",
            "default": "ford focus",
            "prefill": "ford focus"
          },
          "make": {
            "title": "Vehicle make (mode=byMakeModel)",
            "type": "string",
            "description": "Vehicle manufacturer, e.g. ford, bmw, audi (lowercase).",
            "editor": "textfield"
          },
          "model": {
            "title": "Vehicle model (mode=byMakeModel)",
            "type": "string",
            "description": "Vehicle model, e.g. focus, 3-series, a4 (lowercase, hyphen-separated).",
            "editor": "textfield"
          },
          "location": {
            "title": "UK Location / postcode area",
            "type": "string",
            "description": "UK location label to attach to records as a fallback seller location (e.g. 'london', 'manchester').",
            "editor": "textfield"
          },
          "sortOrder": {
            "title": "Sort order",
            "type": "string",
            "description": "How to sort results.",
            "editor": "select",
            "enum": [
              "date",
              "price_asc",
              "price_desc",
              "relevance",
              "mileage_asc"
            ],
            "enumTitles": [
              "Newest first",
              "Cheapest first",
              "Most expensive first",
              "Best match",
              "Lowest mileage first"
            ],
            "default": "date",
            "prefill": "date"
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "minimum": 1,
            "maximum": 500,
            "default": 30,
            "prefill": 30
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "PistonHeads UK Used Car Classifieds Scraper Output",
        "description": "UK used car listings from PistonHeads — make/model, year, price, mileage, spec and seller info per listing.",
        "properties": {
          "listings": {
            "type": "string",
            "title": "Car listing records",
            "description": "Dataset containing all scraped UK car listing records.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Car Listings",
              "transformation": {
                "fields": [
                  "title",
                  "make",
                  "model",
                  "year",
                  "price",
                  "mileage",
                  "fuelType",
                  "transmission",
                  "listingUrl",
                  "scrapedAt"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.1",
    "imageDigest": "49b1fa6be5a177859d94263c7dff694cdd41e4b2211e7be5728681b0b114ed5c",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.010414444444444445
    }
  }
}