{
  "data": {
    "id": "89yrp0BhFjySpLspX",
    "actId": "qndSsHocvugQGEmWi",
    "userId": "NL4ThgItAwaoBlffQ",
    "startedAt": "2026-11-16T05:41:01.165Z",
    "finishedAt": "2026-11-16T05:41:04.458Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "stats": {
      "durationMillis": 3205,
      "runTimeSecs": 3.205,
      "computeUnits": 0.0035611111111111112,
      "imageSizeBytes": 319153664
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "6GwdnIcc2aWR7LzCS",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Blocket Scraper Input\",\n  \"description\": \"Search Blocket.se classifieds across Sweden or look up specific ads by URL or ID.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"Search Blocket listings, or fetch full details for specific ads.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"searchAll\",\n        \"searchCars\",\n        \"searchElectronics\",\n        \"searchFurniture\",\n        \"details\"\n      ],\n      \"enumTitles\": [\n        \"Search all categories\",\n        \"Search cars\",\n        \"Search electronics\",\n        \"Search furniture\",\n        \"Fetch details for specific ads\"\n      ],\n      \"default\": \"searchAll\",\n      \"prefill\": \"searchAll\",\n      \"sectionCaption\": \"Search or look up\"\n    },\n    \"query\": {\n      \"title\": \"Search query\",\n      \"type\": \"string\",\n      \"description\": \"Keyword to search for, e.g. 'laptop', 'iPhone', 'IKEA soffa' or 'Volvo V60'. Ignored in details mode.\",\n      \"editor\": \"textfield\",\n      \"default\": \"laptop\",\n      \"prefill\": \"laptop\"\n    },\n    \"urls\": {\n      \"title\": \"Ad URLs or IDs (details mode)\",\n      \"type\": \"array\",\n      \"description\": \"Blocket ad links such as https://www.blocket.se/recommerce/forsale/item/28292092, or bare ad IDs. Used only in details mode.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"priceMin\": {\n      \"title\": \"Min price (SEK)\",\n      \"type\": \"integer\",\n      \"description\": \"Only keep ads priced at or above this amount in Swedish kronor.\",\n      \"minimum\": 0,\n      \"maximum\": 10000000,\n      \"sectionCaption\": \"Filters\"\n    },\n    \"priceMax\": {\n      \"title\": \"Max price (SEK)\",\n      \"type\": \"integer\",\n      \"description\": \"Only keep ads priced at or below this amount in Swedish kronor.\",\n      \"minimum\": 0,\n      \"maximum\": 10000000\n    },\n    \"condition\": {\n      \"title\": \"Condition\",\n      \"type\": \"string\",\n      \"description\": \"Filter by stated item condition. Applies to all categories except cars.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"new\",\n        \"likeNew\",\n        \"good\",\n        \"ok\",\n        \"broken\"\n      ],\n      \"enumTitles\": [\n        \"Any condition\",\n        \"New\",\n        \"Like new\",\n        \"Good\",\n        \"OK / visibly used\",\n        \"For parts or repair\"\n      ],\n      \"default\": \"any\"\n    },\n    \"sellerType\": {\n      \"title\": \"Seller type\",\n      \"type\": \"string\",\n      \"description\": \"Keep only private sellers or only companies.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"private\",\n        \"company\"\n      ],\n      \"enumTitles\": [\n        \"Any seller\",\n        \"Private\",\n        \"Company\"\n      ],\n      \"default\": \"any\"\n    },\n    \"tradeType\": {\n      \"title\": \"Ad type\",\n      \"type\": \"string\",\n      \"description\": \"For sale, give away, or wanted ads. Applies to all categories except cars.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"sell\",\n        \"giveAway\",\n        \"wanted\"\n      ],\n      \"enumTitles\": [\n        \"Any ad type\",\n        \"For sale\",\n        \"Give away\",\n        \"Wanted\"\n      ],\n      \"default\": \"any\"\n    },\n    \"region\": {\n      \"title\": \"Region\",\n      \"type\": \"string\",\n      \"description\": \"Limit results to one Swedish county.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"blekinge\",\n        \"dalarna\",\n        \"gotland\",\n        \"gavleborg\",\n        \"halland\",\n        \"jamtland\",\n        \"jonkoping\",\n        \"kalmar\",\n        \"kronoberg\",\n        \"norrbotten\",\n        \"skane\",\n        \"stockholm\",\n        \"sodermanland\",\n        \"uppsala\",\n        \"varmland\",\n        \"vasterbotten\",\n        \"vasternorrland\",\n        \"vastmanland\",\n        \"vastraGotaland\",\n        \"orebro\",\n        \"ostergotland\"\n      ],\n      \"enumTitles\": [\n        \"All of Sweden\",\n        \"Blekinge\",\n        \"Dalarna\",\n        \"Gotland\",\n        \"Gävleborg\",\n        \"Halland\",\n        \"Jämtland\",\n        \"Jönköping\",\n        \"Kalmar\",\n        \"Kronoberg\",\n        \"Norrbotten\",\n        \"Skåne\",\n        \"Stockholm\",\n        \"Södermanland\",\n        \"Uppsala\",\n        \"Värmland\",\n        \"Västerbotten\",\n        \"Västernorrland\",\n        \"Västmanland\",\n        \"Västra Götaland\",\n        \"Örebro\",\n        \"Östergötland\"\n      ],\n      \"default\": \"any\"\n    },\n    \"sort\": {\n      \"title\": \"Sort order\",\n      \"type\": \"string\",\n      \"description\": \"How Blocket should order the search results.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"relevance\",\n        \"priceAsc\",\n        \"priceDesc\",\n        \"newest\",\n        \"oldest\"\n      ],\n      \"enumTitles\": [\n        \"Relevance\",\n        \"Price: low to high\",\n        \"Price: high to low\",\n        \"Newest first\",\n        \"Oldest first\"\n      ],\n      \"default\": \"relevance\",\n      \"prefill\": \"relevance\"\n    },\n    \"publishedToday\": {\n      \"title\": \"Published today only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only return ads that were published today.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"yearMin\": {\n      \"title\": \"Car model year (min)\",\n      \"type\": \"integer\",\n      \"description\": \"Cars only: exclude vehicles older than this model year.\",\n      \"minimum\": 1900,\n      \"maximum\": 2100,\n      \"sectionCaption\": \"Car filters (searchCars mode)\"\n    },\n    \"yearMax\": {\n      \"title\": \"Car model year (max)\",\n      \"type\": \"integer\",\n      \"description\": \"Cars only: exclude vehicles newer than this model year.\",\n      \"minimum\": 1900,\n      \"maximum\": 2100\n    },\n    \"mileageMax\": {\n      \"title\": \"Max mileage (mil)\",\n      \"type\": \"integer\",\n      \"description\": \"Cars only: maximum mileage in Swedish mil (1 mil = 10 km).\",\n      \"minimum\": 0,\n      \"maximum\": 100000\n    },\n    \"fuel\": {\n      \"title\": \"Fuel\",\n      \"type\": \"string\",\n      \"description\": \"Cars only: filter by fuel or powertrain type.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"petrol\",\n        \"diesel\",\n        \"electric\",\n        \"ethanol\",\n        \"gas\",\n        \"hybridPetrol\",\n        \"hybridDiesel\",\n        \"hybridGas\",\n        \"plugInPetrol\",\n        \"plugInDiesel\"\n      ],\n      \"enumTitles\": [\n        \"Any fuel\",\n        \"Petrol\",\n        \"Diesel\",\n        \"Electric\",\n        \"Ethanol (E85)\",\n        \"Vehicle gas (CNG)\",\n        \"Petrol hybrid\",\n        \"Diesel hybrid\",\n        \"Gas hybrid\",\n        \"Plug-in petrol\",\n        \"Plug-in diesel\"\n      ],\n      \"default\": \"any\"\n    },\n    \"transmission\": {\n      \"title\": \"Transmission\",\n      \"type\": \"string\",\n      \"description\": \"Cars only: filter by gearbox type.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"automatic\",\n        \"manual\",\n        \"sequential\"\n      ],\n      \"enumTitles\": [\n        \"Any transmission\",\n        \"Automatic\",\n        \"Manual\",\n        \"Sequential\"\n      ],\n      \"default\": \"any\"\n    },\n    \"bodyType\": {\n      \"title\": \"Body type\",\n      \"type\": \"string\",\n      \"description\": \"Cars only: filter by body style.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"convertible\",\n        \"coupe\",\n        \"familyVan\",\n        \"hatchback3\",\n        \"hatchback5\",\n        \"estate\",\n        \"pickup\",\n        \"sedan\",\n        \"van\",\n        \"suv\",\n        \"other\"\n      ],\n      \"enumTitles\": [\n        \"Any body type\",\n        \"Convertible\",\n        \"Coupé\",\n        \"Family van\",\n        \"3-door hatchback\",\n        \"5-door hatchback\",\n        \"Estate\",\n        \"Pickup\",\n        \"Sedan\",\n        \"Van\",\n        \"SUV\",\n        \"Other\"\n      ],\n      \"default\": \"any\"\n    },\n    \"includeDetails\": {\n      \"title\": \"Load full ad details\",\n      \"type\": \"boolean\",\n      \"description\": \"Also open each listing to add description, condition, category and seller contact details. Slower and uses more requests.\",\n      \"default\": false,\n      \"prefill\": false,\n      \"sectionCaption\": \"Output\"\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Maximum number of listings or details records to return.\",\n      \"minimum\": 1,\n      \"maximum\": 1000,\n      \"default\": 20,\n      \"prefill\": 3\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Blocket.se Classifieds Search & Price Filter Tool\n\nBlocket.se is Sweden's largest second-hand marketplace: cars, electronics, furniture, tools and almost everything else. This actor searches its public listings by keyword, narrows results with real Blocket filters, follows pagination until your item limit, and can open individual ads for the full description, condition, category and seller details.\n\nEverything runs cookieless. No Blocket account, login, cookie or proxy setup is needed.\n\n## What this actor does\n\n- Searches Blocket by keyword across all categories, or restricts the search to cars, electronics or furniture.\n- Applies Blocket's own filters: price range in SEK, condition, private or company seller, ad type, Swedish county, publication date, sort order, and car-specific year, mileage, fuel, gearbox and body type.\n- Walks the result pages until `maxItems` is reached, removes duplicate ads, and stops at Blocket's own pagination ceiling.\n- Fetches full ad details by URL or ad ID, including description, category path, condition, specifications and public seller contact data.\n- Optionally enriches every search result with the full ad page (`includeDetails`).\n- Leaves a field out whenever Blocket does not publish it for that ad instead of emitting `null` or a fake value.\n\n## Output per listing\n\nCore fields:\n\n| Field | Description |\n|---|---|\n| `adId` | Blocket ad ID |\n| `title` | Listing headline |\n| `price` | Asking price in SEK |\n| `currency` | Currency code, normally `SEK` |\n| `priceExVat` | Price excluding VAT when the seller publishes it (mostly cars) |\n| `location` | City or locality |\n| `postalCode` | Postal code when the ad page publishes it |\n| `category` | Category path, e.g. `Elektronik och vitvaror > Datorer > Laptops` |\n| `condition` | Stated condition, e.g. `Bra skick - varsamt använd` |\n| `publishedDate` | Publication time (ISO 8601) |\n| `imageUrl` | Main image URL |\n| `imageUrls` | All image URLs when more than one is published |\n| `adUrl` | Direct link to the ad |\n| `seller` | Seller or shop name when Blocket publishes it |\n| `sellerType` | `Privat` or `Företag` |\n| `sellerCity`, `sellerZip` | Shop address locality and postal code |\n| `sellerPhone`, `sellerProfileUrl` | Public shop phone number and profile link |\n| `brand` | Brand when the listing states one |\n| `tradeType` | `Säljes`, `Bortskänkes` or `Köpes` |\n| `latitude`, `longitude` | Ad coordinates when published |\n| `shippingAvailable`, `buyNow` | Blocket shipping and Buy Now flags |\n| `description` | Full ad text (details mode or `includeDetails`) |\n| `specifications` | All ad attributes published on the page, as label/value pairs |\n| `mode` | Mode that produced the record |\n| `scrapedAt` | UTC timestamp of the scrape |\n\nCar listings add:\n\n| Field | Description |\n|---|---|\n| `make`, `model`, `modelSpecification`, `series` | Vehicle identity |\n| `year` | Model year |\n| `mileage`, `mileageUnit`, `mileageKm` | Published mileage, its unit, and the same value in kilometres |\n| `fuel`, `transmission` | Powertrain and gearbox |\n| `registrationNumber`, `vin` | Registration plate and chassis number |\n| `registrationClass`, `salesForm` | Registration class and sales form |\n| `bodyType`, `colour`, `power`, `engineVolume`, `co2Emissions` | Specs read from the ad page |\n| `drivetrain`, `weight`, `seats`, `doors`, `maxTrailerWeight`, `registrationDate`, `interiorColour` | Further specs read from the ad page |\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `searchAll` | `searchAll`, `searchCars`, `searchElectronics`, `searchFurniture`, or `details`. |\n| `query` | string | `laptop` | Keyword to search for. Ignored in details mode. |\n| `urls` | array | – | Ad URLs or bare ad IDs for details mode. |\n| `priceMin` | integer | – | Minimum price in SEK. |\n| `priceMax` | integer | – | Maximum price in SEK. |\n| `condition` | string | `any` | `any`, `new`, `likeNew`, `good`, `ok`, `broken` (not for cars). |\n| `sellerType` | string | `any` | `any`, `private`, `company`. |\n| `tradeType` | string | `any` | `any`, `sell`, `giveAway`, `wanted` (not for cars). |\n| `region` | string | `any` | `any` or a Swedish county key such as `stockholm`, `skane`, `vastraGotaland`. |\n| `sort` | string | `relevance` | `relevance`, `priceAsc`, `priceDesc`, `newest`, `oldest`. |\n| `publishedToday` | boolean | `false` | Only ads published today. |\n| `yearMin` | integer | – | Cars: minimum model year. |\n| `yearMax` | integer | – | Cars: maximum model year. |\n| `mileageMax` | integer | – | Cars: maximum mileage in Swedish mil (1 mil = 10 km). |\n| `fuel` | string | `any` | Cars: `petrol`, `diesel`, `electric`, `ethanol`, `gas`, `hybridPetrol`, `hybridDiesel`, `hybridGas`, `plugInPetrol`, `plugInDiesel`. |\n| `transmission` | string | `any` | Cars: `automatic`, `manual`, `sequential`. |\n| `bodyType` | string | `any` | Cars: `convertible`, `coupe`, `familyVan`, `hatchback3`, `hatchback5`, `estate`, `pickup`, `sedan`, `van`, `suv`, `other`. |\n| `includeDetails` | boolean | `false` | Open every search result to add description, condition, category and seller details. Slower. |\n| `maxItems` | integer | `20` | Maximum records to return, 1–1000. |\n\n### Example: keyword search across all categories\n\n```json\n{\n  \"mode\": \"searchAll\",\n  \"query\": \"iPhone\",\n  \"priceMax\": 5000,\n  \"sort\": \"newest\",\n  \"maxItems\": 50\n}\n```\n\n### Example: cars within a price and model-year range\n\n```json\n{\n  \"mode\": \"searchCars\",\n  \"query\": \"Volvo\",\n  \"priceMin\": 50000,\n  \"priceMax\": 150000,\n  \"yearMin\": 2018,\n  \"yearMax\": 2024,\n  \"transmission\": \"automatic\",\n  \"maxItems\": 100\n}\n```\n\n### Example: furniture in Stockholm\n\n```json\n{\n  \"mode\": \"searchFurniture\",\n  \"query\": \"IKEA soffa\",\n  \"region\": \"stockholm\",\n  \"condition\": \"good\",\n  \"maxItems\": 40\n}\n```\n\n### Example: fetch specific ads by URL or ID\n\n```json\n{\n  \"mode\": \"details\",\n  \"urls\": [\n    \"https://www.blocket.se/recommerce/forsale/item/28292092\",\n    \"https://www.blocket.se/mobility/item/28293706\"\n  ]\n}\n```\n\n## Use cases\n\n- **Price monitoring** — track asking prices for a product or car model over time.\n- **Resale sourcing** — find underpriced items in one category or county.\n- **Market research** — see what a category actually lists for across Sweden.\n- **Inventory alerts** — schedule a narrow search and push new ads into your own system.\n- **Ad enrichment** — paste known Blocket URLs and collect the full description and specs.\n\n## Data source and reliability\n\nThe actor reads Blocket's public search responses and public ad pages directly. Requests are HTTP-only, use a normal browser identity, retry on rate limits and server errors, and never require user credentials. No browser is launched, so runs stay fast and memory-light.\n\nBlocket paginates searches to a maximum number of pages; when that ceiling is reached the actor stops and reports how many records it returned. For very large result sets, split the query by county, price band, or a narrower keyword.\n\n## FAQ\n\n**Do I need a Blocket account or cookies?**\nNo. The actor uses Blocket's public listing and ad pages, which are readable without an account.\n\n**What is the difference between the search modes?**\n`searchAll` covers every category. `searchElectronics` and `searchFurniture` apply Blocket's own category filter, and `searchCars` uses Blocket's car vertical, which exposes car-specific filters and fields.\n\n**How do I get descriptions and specifications for many ads?**\nSet `includeDetails` to `true`. Each record then gets one extra ad-page request, so the run takes longer and returns richer records.\n\n**Why are some seller fields missing?**\nBlocket publishes shop names, phones and addresses for company sellers. Private sellers are shown only as `Privat`; their names are not public without logging in, so the actor leaves those fields out.\n\n**Why is `condition` missing on some records?**\nOnly ads that state a condition have one. With `includeDetails` the value is read from the ad page; otherwise Blocket's search response does not contain it.\n\n**Can I search by city?**\nYes. Add the place name to `query` (for example `laptop Stockholm`), or use the `region` filter for a whole county.\n\n**How many results can one run return?**\nUp to `maxItems` (maximum 1000), bounded by Blocket's own pagination limit for that search.\n\n**Are the image URLs stable?**\nThey point at Blocket's public CDN and open without cookies or a referrer. The `imageUrls` field keeps every image when the ad publishes more than one.\n\n**Is this affiliated with Blocket?**\nNo. This actor reads Blocket's public listings and is not affiliated with, endorsed by, or connected to Blocket or Schibsted.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "blocket-se-classifieds-search-and-price-filter",
      "title": "Blocket.se Classifieds Search & Price Filter Tool",
      "description": "Search Blocket.se by keyword across all categories, cars, electronics, or furniture with price, condition, seller, county, date and car filters, or fetch full ad details by URL or ID.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Blocket.se Classifieds Search & Price Filter Tool\n\nBlocket.se is Sweden's largest second-hand marketplace: cars, electronics, furniture, tools and almost everything else. This actor searches its public listings by keyword, narrows results with real Blocket filters, follows pagination until your item limit, and can open individual ads for the full description, condition, category and seller details.\n\nEverything runs cookieless. No Blocket account, login, cookie or proxy setup is needed.\n\n## What this actor does\n\n- Searches Blocket by keyword across all categories, or restricts the search to cars, electronics or furniture.\n- Applies Blocket's own filters: price range in SEK, condition, private or company seller, ad type, Swedish county, publication date, sort order, and car-specific year, mileage, fuel, gearbox and body type.\n- Walks the result pages until `maxItems` is reached, removes duplicate ads, and stops at Blocket's own pagination ceiling.\n- Fetches full ad details by URL or ad ID, including description, category path, condition, specifications and public seller contact data.\n- Optionally enriches every search result with the full ad page (`includeDetails`).\n- Leaves a field out whenever Blocket does not publish it for that ad instead of emitting `null` or a fake value.\n\n## Output per listing\n\nCore fields:\n\n| Field | Description |\n|---|---|\n| `adId` | Blocket ad ID |\n| `title` | Listing headline |\n| `price` | Asking price in SEK |\n| `currency` | Currency code, normally `SEK` |\n| `priceExVat` | Price excluding VAT when the seller publishes it (mostly cars) |\n| `location` | City or locality |\n| `postalCode` | Postal code when the ad page publishes it |\n| `category` | Category path, e.g. `Elektronik och vitvaror > Datorer > Laptops` |\n| `condition` | Stated condition, e.g. `Bra skick - varsamt använd` |\n| `publishedDate` | Publication time (ISO 8601) |\n| `imageUrl` | Main image URL |\n| `imageUrls` | All image URLs when more than one is published |\n| `adUrl` | Direct link to the ad |\n| `seller` | Seller or shop name when Blocket publishes it |\n| `sellerType` | `Privat` or `Företag` |\n| `sellerCity`, `sellerZip` | Shop address locality and postal code |\n| `sellerPhone`, `sellerProfileUrl` | Public shop phone number and profile link |\n| `brand` | Brand when the listing states one |\n| `tradeType` | `Säljes`, `Bortskänkes` or `Köpes` |\n| `latitude`, `longitude` | Ad coordinates when published |\n| `shippingAvailable`, `buyNow` | Blocket shipping and Buy Now flags |\n| `description` | Full ad text (details mode or `includeDetails`) |\n| `specifications` | All ad attributes published on the page, as label/value pairs |\n| `mode` | Mode that produced the record |\n| `scrapedAt` | UTC timestamp of the scrape |\n\nCar listings add:\n\n| Field | Description |\n|---|---|\n| `make`, `model`, `modelSpecification`, `series` | Vehicle identity |\n| `year` | Model year |\n| `mileage`, `mileageUnit`, `mileageKm` | Published mileage, its unit, and the same value in kilometres |\n| `fuel`, `transmission` | Powertrain and gearbox |\n| `registrationNumber`, `vin` | Registration plate and chassis number |\n| `registrationClass`, `salesForm` | Registration class and sales form |\n| `bodyType`, `colour`, `power`, `engineVolume`, `co2Emissions` | Specs read from the ad page |\n| `drivetrain`, `weight`, `seats`, `doors`, `maxTrailerWeight`, `registrationDate`, `interiorColour` | Further specs read from the ad page |\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `searchAll` | `searchAll`, `searchCars`, `searchElectronics`, `searchFurniture`, or `details`. |\n| `query` | string | `laptop` | Keyword to search for. Ignored in details mode. |\n| `urls` | array | – | Ad URLs or bare ad IDs for details mode. |\n| `priceMin` | integer | – | Minimum price in SEK. |\n| `priceMax` | integer | – | Maximum price in SEK. |\n| `condition` | string | `any` | `any`, `new`, `likeNew`, `good`, `ok`, `broken` (not for cars). |\n| `sellerType` | string | `any` | `any`, `private`, `company`. |\n| `tradeType` | string | `any` | `any`, `sell`, `giveAway`, `wanted` (not for cars). |\n| `region` | string | `any` | `any` or a Swedish county key such as `stockholm`, `skane`, `vastraGotaland`. |\n| `sort` | string | `relevance` | `relevance`, `priceAsc`, `priceDesc`, `newest`, `oldest`. |\n| `publishedToday` | boolean | `false` | Only ads published today. |\n| `yearMin` | integer | – | Cars: minimum model year. |\n| `yearMax` | integer | – | Cars: maximum model year. |\n| `mileageMax` | integer | – | Cars: maximum mileage in Swedish mil (1 mil = 10 km). |\n| `fuel` | string | `any` | Cars: `petrol`, `diesel`, `electric`, `ethanol`, `gas`, `hybridPetrol`, `hybridDiesel`, `hybridGas`, `plugInPetrol`, `plugInDiesel`. |\n| `transmission` | string | `any` | Cars: `automatic`, `manual`, `sequential`. |\n| `bodyType` | string | `any` | Cars: `convertible`, `coupe`, `familyVan`, `hatchback3`, `hatchback5`, `estate`, `pickup`, `sedan`, `van`, `suv`, `other`. |\n| `includeDetails` | boolean | `false` | Open every search result to add description, condition, category and seller details. Slower. |\n| `maxItems` | integer | `20` | Maximum records to return, 1–1000. |\n\n### Example: keyword search across all categories\n\n```json\n{\n  \"mode\": \"searchAll\",\n  \"query\": \"iPhone\",\n  \"priceMax\": 5000,\n  \"sort\": \"newest\",\n  \"maxItems\": 50\n}\n```\n\n### Example: cars within a price and model-year range\n\n```json\n{\n  \"mode\": \"searchCars\",\n  \"query\": \"Volvo\",\n  \"priceMin\": 50000,\n  \"priceMax\": 150000,\n  \"yearMin\": 2018,\n  \"yearMax\": 2024,\n  \"transmission\": \"automatic\",\n  \"maxItems\": 100\n}\n```\n\n### Example: furniture in Stockholm\n\n```json\n{\n  \"mode\": \"searchFurniture\",\n  \"query\": \"IKEA soffa\",\n  \"region\": \"stockholm\",\n  \"condition\": \"good\",\n  \"maxItems\": 40\n}\n```\n\n### Example: fetch specific ads by URL or ID\n\n```json\n{\n  \"mode\": \"details\",\n  \"urls\": [\n    \"https://www.blocket.se/recommerce/forsale/item/28292092\",\n    \"https://www.blocket.se/mobility/item/28293706\"\n  ]\n}\n```\n\n## Use cases\n\n- **Price monitoring** — track asking prices for a product or car model over time.\n- **Resale sourcing** — find underpriced items in one category or county.\n- **Market research** — see what a category actually lists for across Sweden.\n- **Inventory alerts** — schedule a narrow search and push new ads into your own system.\n- **Ad enrichment** — paste known Blocket URLs and collect the full description and specs.\n\n## Data source and reliability\n\nThe actor reads Blocket's public search responses and public ad pages directly. Requests are HTTP-only, use a normal browser identity, retry on rate limits and server errors, and never require user credentials. No browser is launched, so runs stay fast and memory-light.\n\nBlocket paginates searches to a maximum number of pages; when that ceiling is reached the actor stops and reports how many records it returned. For very large result sets, split the query by county, price band, or a narrower keyword.\n\n## FAQ\n\n**Do I need a Blocket account or cookies?**\nNo. The actor uses Blocket's public listing and ad pages, which are readable without an account.\n\n**What is the difference between the search modes?**\n`searchAll` covers every category. `searchElectronics` and `searchFurniture` apply Blocket's own category filter, and `searchCars` uses Blocket's car vertical, which exposes car-specific filters and fields.\n\n**How do I get descriptions and specifications for many ads?**\nSet `includeDetails` to `true`. Each record then gets one extra ad-page request, so the run takes longer and returns richer records.\n\n**Why are some seller fields missing?**\nBlocket publishes shop names, phones and addresses for company sellers. Private sellers are shown only as `Privat`; their names are not public without logging in, so the actor leaves those fields out.\n\n**Why is `condition` missing on some records?**\nOnly ads that state a condition have one. With `includeDetails` the value is read from the ad page; otherwise Blocket's search response does not contain it.\n\n**Can I search by city?**\nYes. Add the place name to `query` (for example `laptop Stockholm`), or use the `region` filter for a whole county.\n\n**How many results can one run return?**\nUp to `maxItems` (maximum 1000), bounded by Blocket's own pagination limit for that search.\n\n**Are the image URLs stable?**\nThey point at Blocket's public CDN and open without cookies or a referrer. The `imageUrls` field keeps every image when the ad publishes more than one.\n\n**Is this affiliated with Blocket?**\nNo. This actor reads Blocket's public listings and is not affiliated with, endorsed by, or connected to Blocket or Schibsted.\n",
      "input": {
        "title": "Blocket Scraper Input",
        "description": "Search Blocket.se classifieds across Sweden or look up specific ads by URL or ID.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "Search Blocket listings, or fetch full details for specific ads.",
            "editor": "select",
            "enum": [
              "searchAll",
              "searchCars",
              "searchElectronics",
              "searchFurniture",
              "details"
            ],
            "enumTitles": [
              "Search all categories",
              "Search cars",
              "Search electronics",
              "Search furniture",
              "Fetch details for specific ads"
            ],
            "default": "searchAll",
            "prefill": "searchAll",
            "sectionCaption": "Search or look up"
          },
          "query": {
            "title": "Search query",
            "type": "string",
            "description": "Keyword to search for, e.g. 'laptop', 'iPhone', 'IKEA soffa' or 'Volvo V60'. Ignored in details mode.",
            "editor": "textfield",
            "default": "laptop",
            "prefill": "laptop"
          },
          "urls": {
            "title": "Ad URLs or IDs (details mode)",
            "type": "array",
            "description": "Blocket ad links such as https://www.blocket.se/recommerce/forsale/item/28292092, or bare ad IDs. Used only in details mode.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "priceMin": {
            "title": "Min price (SEK)",
            "type": "integer",
            "description": "Only keep ads priced at or above this amount in Swedish kronor.",
            "minimum": 0,
            "maximum": 10000000,
            "sectionCaption": "Filters"
          },
          "priceMax": {
            "title": "Max price (SEK)",
            "type": "integer",
            "description": "Only keep ads priced at or below this amount in Swedish kronor.",
            "minimum": 0,
            "maximum": 10000000
          },
          "condition": {
            "title": "Condition",
            "type": "string",
            "description": "Filter by stated item condition. Applies to all categories except cars.",
            "editor": "select",
            "enum": [
              "any",
              "new",
              "likeNew",
              "good",
              "ok",
              "broken"
            ],
            "enumTitles": [
              "Any condition",
              "New",
              "Like new",
              "Good",
              "OK / visibly used",
              "For parts or repair"
            ],
            "default": "any"
          },
          "sellerType": {
            "title": "Seller type",
            "type": "string",
            "description": "Keep only private sellers or only companies.",
            "editor": "select",
            "enum": [
              "any",
              "private",
              "company"
            ],
            "enumTitles": [
              "Any seller",
              "Private",
              "Company"
            ],
            "default": "any"
          },
          "tradeType": {
            "title": "Ad type",
            "type": "string",
            "description": "For sale, give away, or wanted ads. Applies to all categories except cars.",
            "editor": "select",
            "enum": [
              "any",
              "sell",
              "giveAway",
              "wanted"
            ],
            "enumTitles": [
              "Any ad type",
              "For sale",
              "Give away",
              "Wanted"
            ],
            "default": "any"
          },
          "region": {
            "title": "Region",
            "type": "string",
            "description": "Limit results to one Swedish county.",
            "editor": "select",
            "enum": [
              "any",
              "blekinge",
              "dalarna",
              "gotland",
              "gavleborg",
              "halland",
              "jamtland",
              "jonkoping",
              "kalmar",
              "kronoberg",
              "norrbotten",
              "skane",
              "stockholm",
              "sodermanland",
              "uppsala",
              "varmland",
              "vasterbotten",
              "vasternorrland",
              "vastmanland",
              "vastraGotaland",
              "orebro",
              "ostergotland"
            ],
            "enumTitles": [
              "All of Sweden",
              "Blekinge",
              "Dalarna",
              "Gotland",
              "Gävleborg",
              "Halland",
              "Jämtland",
              "Jönköping",
              "Kalmar",
              "Kronoberg",
              "Norrbotten",
              "Skåne",
              "Stockholm",
              "Södermanland",
              "Uppsala",
              "Värmland",
              "Västerbotten",
              "Västernorrland",
              "Västmanland",
              "Västra Götaland",
              "Örebro",
              "Östergötland"
            ],
            "default": "any"
          },
          "sort": {
            "title": "Sort order",
            "type": "string",
            "description": "How Blocket should order the search results.",
            "editor": "select",
            "enum": [
              "relevance",
              "priceAsc",
              "priceDesc",
              "newest",
              "oldest"
            ],
            "enumTitles": [
              "Relevance",
              "Price: low to high",
              "Price: high to low",
              "Newest first",
              "Oldest first"
            ],
            "default": "relevance",
            "prefill": "relevance"
          },
          "publishedToday": {
            "title": "Published today only",
            "type": "boolean",
            "description": "Only return ads that were published today.",
            "default": false,
            "prefill": false
          },
          "yearMin": {
            "title": "Car model year (min)",
            "type": "integer",
            "description": "Cars only: exclude vehicles older than this model year.",
            "minimum": 1900,
            "maximum": 2100,
            "sectionCaption": "Car filters (searchCars mode)"
          },
          "yearMax": {
            "title": "Car model year (max)",
            "type": "integer",
            "description": "Cars only: exclude vehicles newer than this model year.",
            "minimum": 1900,
            "maximum": 2100
          },
          "mileageMax": {
            "title": "Max mileage (mil)",
            "type": "integer",
            "description": "Cars only: maximum mileage in Swedish mil (1 mil = 10 km).",
            "minimum": 0,
            "maximum": 100000
          },
          "fuel": {
            "title": "Fuel",
            "type": "string",
            "description": "Cars only: filter by fuel or powertrain type.",
            "editor": "select",
            "enum": [
              "any",
              "petrol",
              "diesel",
              "electric",
              "ethanol",
              "gas",
              "hybridPetrol",
              "hybridDiesel",
              "hybridGas",
              "plugInPetrol",
              "plugInDiesel"
            ],
            "enumTitles": [
              "Any fuel",
              "Petrol",
              "Diesel",
              "Electric",
              "Ethanol (E85)",
              "Vehicle gas (CNG)",
              "Petrol hybrid",
              "Diesel hybrid",
              "Gas hybrid",
              "Plug-in petrol",
              "Plug-in diesel"
            ],
            "default": "any"
          },
          "transmission": {
            "title": "Transmission",
            "type": "string",
            "description": "Cars only: filter by gearbox type.",
            "editor": "select",
            "enum": [
              "any",
              "automatic",
              "manual",
              "sequential"
            ],
            "enumTitles": [
              "Any transmission",
              "Automatic",
              "Manual",
              "Sequential"
            ],
            "default": "any"
          },
          "bodyType": {
            "title": "Body type",
            "type": "string",
            "description": "Cars only: filter by body style.",
            "editor": "select",
            "enum": [
              "any",
              "convertible",
              "coupe",
              "familyVan",
              "hatchback3",
              "hatchback5",
              "estate",
              "pickup",
              "sedan",
              "van",
              "suv",
              "other"
            ],
            "enumTitles": [
              "Any body type",
              "Convertible",
              "Coupé",
              "Family van",
              "3-door hatchback",
              "5-door hatchback",
              "Estate",
              "Pickup",
              "Sedan",
              "Van",
              "SUV",
              "Other"
            ],
            "default": "any"
          },
          "includeDetails": {
            "title": "Load full ad details",
            "type": "boolean",
            "description": "Also open each listing to add description, condition, category and seller contact details. Slower and uses more requests.",
            "default": false,
            "prefill": false,
            "sectionCaption": "Output"
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Maximum number of listings or details records to return.",
            "minimum": 1,
            "maximum": 1000,
            "default": 20,
            "prefill": 3
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Blocket.se Classifieds Search & Price Filter Tool Output",
        "description": "Blocket.se classified ad records: core listing fields, car specifications, filters context, optional full description, specifications and public seller contact details.",
        "properties": {
          "listings": {
            "type": "string",
            "title": "Blocket listings",
            "description": "Dataset containing all scraped Blocket listings.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Blocket Listings",
              "transformation": {
                "fields": [
                  "title",
                  "price",
                  "location",
                  "category",
                  "condition",
                  "adUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.2",
    "imageDigest": "13de55043bb04050c4d8d45f9fb881fc973a1538cf4ac64ab2e350ff92e8337d",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.0035611111111111112
    }
  }
}