{
  "data": {
    "id": "rbc0peMiPHCI8GRZn",
    "actId": "ojn1gPofzxbrbRaBX",
    "userId": "zq8lKbpLzTjGDayPC",
    "startedAt": "2026-11-16T05:47:25.273Z",
    "finishedAt": "2026-11-16T05:47:28.707Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "stats": {
      "durationMillis": 3366,
      "runTimeSecs": 3.366,
      "computeUnits": 0.00374,
      "imageSizeBytes": 320477184
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "GK9YjZRyQZVzOdoH5",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"SpareRoom UK Flatshare Search & Listing Details Input\",\n  \"description\": \"Search public SpareRoom.co.uk room listings by location, rent, radius and filters, or fetch full details for specific listing URLs.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"Search current room listings, or fetch full details for a list of SpareRoom listing URLs.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"search\",\n        \"details\",\n        \"searchRooms\",\n        \"searchByCity\",\n        \"searchByBudget\",\n        \"roomDetails\"\n      ],\n      \"enumTitles\": [\n        \"Search rooms by location and filters\",\n        \"Fetch details for specific listing URLs\",\n        \"Legacy alias: search rooms\",\n        \"Legacy alias: search by city\",\n        \"Legacy alias: search by budget\",\n        \"Legacy alias: room details by URL\"\n      ],\n      \"default\": \"search\",\n      \"prefill\": \"search\",\n      \"sectionCaption\": \"Mode\"\n    },\n    \"city\": {\n      \"title\": \"City or area\",\n      \"type\": \"string\",\n      \"description\": \"UK city, town, neighbourhood or postcode (for example London, Manchester, Camden, SW2). A SpareRoom /flatshare/... URL is also accepted. Used in search mode.\",\n      \"editor\": \"textfield\",\n      \"default\": \"London\",\n      \"prefill\": \"London\",\n      \"sectionCaption\": \"Search\"\n    },\n    \"maxItems\": {\n      \"title\": \"Maximum listings\",\n      \"type\": \"integer\",\n      \"description\": \"Stop after this many listings. SpareRoom itself exposes at most 1,000 results per search.\",\n      \"minimum\": 1,\n      \"maximum\": 1000,\n      \"default\": 20,\n      \"prefill\": 3\n    },\n    \"maxBudget\": {\n      \"title\": \"Maximum rent (GBP per month)\",\n      \"type\": \"integer\",\n      \"description\": \"Only include rooms advertised at or below this monthly rent. Weekly adverts are matched by SpareRoom's own monthly conversion.\",\n      \"minimum\": 0,\n      \"maximum\": 10000,\n      \"default\": 1500,\n      \"prefill\": 1500\n    },\n    \"minBudget\": {\n      \"title\": \"Minimum rent (GBP per month)\",\n      \"type\": \"integer\",\n      \"description\": \"Only include rooms advertised at or above this monthly rent.\",\n      \"minimum\": 0,\n      \"maximum\": 10000\n    },\n    \"milesFromCenter\": {\n      \"title\": \"Search radius (miles)\",\n      \"type\": \"integer\",\n      \"description\": \"Search radius around the chosen location. SpareRoom's own selector uses 0-5, 10, 15, 20, 30 and 40 miles.\",\n      \"minimum\": 0,\n      \"maximum\": 50,\n      \"default\": 3,\n      \"prefill\": 3\n    },\n    \"roomType\": {\n      \"title\": \"Room type\",\n      \"type\": \"string\",\n      \"description\": \"Narrow results to double rooms, single rooms, en-suite rooms or studio/1-bed properties.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"double\",\n        \"single\",\n        \"ensuite\",\n        \"studio\"\n      ],\n      \"enumTitles\": [\n        \"Any room type\",\n        \"Double room\",\n        \"Single room\",\n        \"En-suite room\",\n        \"Studio or 1-bed property\"\n      ],\n      \"default\": \"any\",\n      \"prefill\": \"any\"\n    },\n    \"propertyType\": {\n      \"title\": \"Property type\",\n      \"type\": \"string\",\n      \"description\": \"Choose rooms in existing shared houses, studio/1-bed flats, or whole properties suitable for sharing.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"roomsInShares\",\n        \"studios\",\n        \"wholeProperties\"\n      ],\n      \"enumTitles\": [\n        \"Any property type\",\n        \"Rooms in existing shares\",\n        \"Studio / 1-bed flats\",\n        \"Whole properties suitable for sharing\"\n      ],\n      \"default\": \"any\",\n      \"prefill\": \"any\"\n    },\n    \"billsIncluded\": {\n      \"title\": \"Bills included only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only include adverts that state bills are included in the rent.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"furnished\": {\n      \"title\": \"Furnishing\",\n      \"type\": \"string\",\n      \"description\": \"Filter by furnished or unfurnished adverts.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"furnished\",\n        \"unfurnished\"\n      ],\n      \"enumTitles\": [\n        \"Any furnishing\",\n        \"Furnished\",\n        \"Unfurnished\"\n      ],\n      \"default\": \"any\",\n      \"prefill\": \"any\"\n    },\n    \"postedBy\": {\n      \"title\": \"Posted by\",\n      \"type\": \"string\",\n      \"description\": \"Filter by who placed the advert.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"privateLandlords\",\n        \"flatmates\",\n        \"liveIn\",\n        \"noLiveIn\"\n      ],\n      \"enumTitles\": [\n        \"Anyone\",\n        \"Private landlords only (no agents)\",\n        \"Flatmates only\",\n        \"Live-in landlords only\",\n        \"No live-in landlords\"\n      ],\n      \"default\": \"any\",\n      \"prefill\": \"any\"\n    },\n    \"sortBy\": {\n      \"title\": \"Sort order\",\n      \"type\": \"string\",\n      \"description\": \"How SpareRoom should order results before collection.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"relevance\",\n        \"newest\",\n        \"lastUpdated\",\n        \"priceLow\",\n        \"priceHigh\"\n      ],\n      \"enumTitles\": [\n        \"SpareRoom default\",\n        \"Newest adverts\",\n        \"Recently updated\",\n        \"Price: lowest first\",\n        \"Price: highest first\"\n      ],\n      \"default\": \"relevance\",\n      \"prefill\": \"relevance\"\n    },\n    \"keyword\": {\n      \"title\": \"Keyword\",\n      \"type\": \"string\",\n      \"description\": \"Only include adverts whose text matches this keyword, for example tube, ensuite, garden.\",\n      \"editor\": \"textfield\"\n    },\n    \"moveInDate\": {\n      \"title\": \"Move-in date (YYYY-MM-DD)\",\n      \"type\": \"string\",\n      \"description\": \"Ask SpareRoom for rooms available on or before this date. Leave blank for any date.\",\n      \"editor\": \"textfield\"\n    },\n    \"shortLet\": {\n      \"title\": \"Short lets only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only include adverts that consider short-term lets.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"photosOnly\": {\n      \"title\": \"Photo adverts only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only include adverts with at least one photo.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"freeToContact\": {\n      \"title\": \"Free to contact only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only include adverts that are free to contact.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"noDeposit\": {\n      \"title\": \"No / low deposit only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only include adverts marked as no or low deposit.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"petsAllowed\": {\n      \"title\": \"Pets considered only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only include adverts where pets are considered.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"parking\": {\n      \"title\": \"Parking only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only include properties with parking available.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"disabledAccess\": {\n      \"title\": \"Disabled access only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only include properties with disabled access.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"sharedLivingRoom\": {\n      \"title\": \"Shared living room only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only include properties with a shared living room.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"minBeds\": {\n      \"title\": \"Minimum bedrooms in property\",\n      \"type\": \"string\",\n      \"description\": \"Only include properties with at least this many bedrooms.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"1\",\n        \"2\",\n        \"3\",\n        \"4\",\n        \"5\",\n        \"6\",\n        \"7\",\n        \"8\",\n        \"9\",\n        \"10\"\n      ],\n      \"enumTitles\": [\n        \"1\",\n        \"2\",\n        \"3\",\n        \"4\",\n        \"5\",\n        \"6\",\n        \"7\",\n        \"8\",\n        \"9\",\n        \"10\"\n      ]\n    },\n    \"maxBeds\": {\n      \"title\": \"Maximum bedrooms in property\",\n      \"type\": \"string\",\n      \"description\": \"Only include properties with at most this many bedrooms (6 means 6+ on SpareRoom).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"1\",\n        \"2\",\n        \"3\",\n        \"4\",\n        \"5\",\n        \"6\",\n        \"7\",\n        \"8\",\n        \"9\",\n        \"10\"\n      ],\n      \"enumTitles\": [\n        \"1\",\n        \"2\",\n        \"3\",\n        \"4\",\n        \"5\",\n        \"6+\",\n        \"7\",\n        \"8\",\n        \"9\",\n        \"10\"\n      ]\n    },\n    \"roomUrls\": {\n      \"title\": \"SpareRoom listing URLs\",\n      \"type\": \"array\",\n      \"description\": \"One or more public SpareRoom listing URLs for details mode. Both /flatshare/<area>/<id> and flatshare_detail.pl?flatshare_id=<id> links are accepted.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": [],\n      \"sectionCaption\": \"Listing details\"\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# SpareRoom UK Flatshare Budget & Radius Search\n\nSpareRoom is the UK's busiest flatshare site. This actor turns its public room adverts into structured data. Run a location search with a monthly budget, radius and optional filters, or paste your own listing URLs to collect the full advert detail page.\n\nEverything is collected from public, logged-out pages. No SpareRoom account, cookie or proxy setup is required.\n\n## Modes\n\n| Mode | What it does |\n|---|---|\n| `search` | Resolves a UK city, town, neighbourhood or postcode on SpareRoom, applies your filters and pages through the results. |\n| `details` | Fetches one or more SpareRoom listing URLs and returns the full advert detail record. |\n\nThe old mode names `searchRooms`, `searchByCity`, `searchByBudget` and `roomDetails` are still accepted and mapped to the matching mode, so existing saved tasks keep working.\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | select | `search` | `search` or `details`; legacy mode names are accepted |\n| `city` | text | `London` | UK city, area, postcode or `/flatshare/...` URL |\n| `maxItems` | integer | `20` | Maximum listings to return (1–1000) |\n| `maxBudget` | integer | `1500` | Maximum monthly rent in GBP |\n| `minBudget` | integer | – | Minimum monthly rent in GBP |\n| `milesFromCenter` | integer | `3` | Search radius in miles |\n| `roomType` | select | `any` | any, double, single, ensuite or studio |\n| `propertyType` | select | `any` | any, roomsInShares, studios or wholeProperties |\n| `billsIncluded` | boolean | `false` | Bills included only |\n| `furnished` | select | `any` | any, furnished or unfurnished |\n| `postedBy` | select | `any` | any, privateLandlords, flatmates, liveIn or noLiveIn |\n| `sortBy` | select | `relevance` | relevance, newest, lastUpdated, priceLow or priceHigh |\n| `keyword` | text | – | Keyword filter |\n| `moveInDate` | text | – | Move-in date in YYYY-MM-DD format |\n| `shortLet` | boolean | `false` | Short lets only |\n| `photosOnly` | boolean | `false` | Photo adverts only |\n| `freeToContact` | boolean | `false` | Free-to-contact adverts only |\n| `noDeposit` | boolean | `false` | No/low-deposit adverts only |\n| `petsAllowed` | boolean | `false` | Pets considered only |\n| `parking` | boolean | `false` | Parking only |\n| `disabledAccess` | boolean | `false` | Disabled access only |\n| `sharedLivingRoom` | boolean | `false` | Shared living room only |\n| `minBeds` | select | – | Minimum bedrooms in the property |\n| `maxBeds` | select | – | Maximum bedrooms in the property |\n| `roomUrls` | stringList | `[]` | SpareRoom listing URLs for `details` mode |\n\n\n## What you can filter on\n\n- Monthly rent range (`minBudget` / `maxBudget`)\n- Search radius in miles (`milesFromCenter`)\n- Room type: double, single, en-suite or studio/1-bed\n- Property type: rooms in existing shares, studio/1-bed flats or whole properties\n- Bills included, furnished/unfurnished, posted-by role\n- Keyword, move-in date, short lets\n- Photo adverts only, free to contact, no/low deposit\n- Pets considered, parking, disabled access, shared living room\n- Bedroom-count range\n- Sort order: newest, recently updated, price low/high\n\nSpareRoom shows promoted adverts at the top of some searches. The actor removes promoted rows that visibly contradict the requested budget, room type, property type, poster role, bills, photo, free-to-contact or bedroom filters, then keeps paging to fill `maxItems`.\n\n## Output per room\n\nEvery record uses the same field names in both modes; fields the advert does not publish are omitted rather than filled with placeholders.\n\n| Field | Meaning |\n|---|---|\n| `roomId` | SpareRoom advert reference number |\n| `title` | Advert headline |\n| `price` | Rent exactly as advertised |\n| `priceType` | `pcm` (per calendar month) or `pw` (per week) |\n| `priceNormalised` | SpareRoom's normalised price when the page provides one |\n| `priceNormalisedType` | Period for `priceNormalised` |\n| `city` | Location you searched (search mode) |\n| `area` | Neighbourhood or area shown in the advert |\n| `postcode` | Full or partial postcode |\n| `propertyType` | Property type as shown by SpareRoom |\n| `propertyTypeDetail` | Extra property-type text, for example `studio flat` |\n| `roomType` | Room type shown on the card, for example `Double room` |\n| `roomsInProperty` | Total bedrooms in the property |\n| `housemates` | Current number of flatmates/housemates (detail pages) |\n| `landlordType` | Advertiser role, for example `live in landlord`, `agent`, `current flatmate` |\n| `listingType` | Advert type, usually `offered` |\n| `listingStatus` | Status badges such as `new today`, `boosted`, `now let` |\n| `billsIncluded` | `true` / `false` when the advert states it |\n| `deposit` / `depositCurrency` | Deposit amount and currency (detail pages) |\n| `availableNow` | `true` when the advert says available now |\n| `availableFrom` | Availability text exactly as advertised |\n| `minimumTerm` / `maximumTerm` | Minimum and maximum stay (detail pages) |\n| `shortLet` | `true` when short lets are considered |\n| `furnishing` | Furnished / unfurnished (detail pages) |\n| `livingRoom` | Living-room arrangement (detail pages) |\n| `parking`, `garage`, `garden`, `balcony`, `disabledAccess`, `wifi` | Amenity flags (detail pages) |\n| `householdAges`, `householdSmoker`, `householdPets`, `householdOccupation`, `householdGender` | Current household (detail pages) |\n| `couplesOk`, `smokingOk`, `petsSuitable`, `referencesRequired`, `minAge`, `maxAge` | New-flatmate preferences (detail pages) |\n| `description` | Advert text (full text in details mode, snippet in search mode) |\n| `imageUrl` / `imageUrls` | Main photo and full detail-page photo gallery |\n| `landlordPhotoUrl` | Advertiser profile photo, when published |\n| `advertiserName`, `advertiserRole`, `advertiserUpgraded`, `advertiserVerified`, `advertiserLastActive`, `advertiserResponseRate` | Advertiser information |\n| `isVerified`, `isFeatured`, `isFreeToContact`, `hasVideo`, `photoCount`, `daysOld` | Listing signals from the search card |\n| `roomUrl` | Canonical advert URL |\n| `scrapedAt` | UTC collection timestamp |\n\n## Examples\n\n### London rooms up to £1,200 within 5 miles\n\n```json\n{\n  \"mode\": \"search\",\n  \"city\": \"London\",\n  \"maxBudget\": 1200,\n  \"milesFromCenter\": 5,\n  \"maxItems\": 100\n}\n```\n\n### Double rooms with bills included in Manchester\n\n```json\n{\n  \"mode\": \"search\",\n  \"city\": \"Manchester\",\n  \"minBudget\": 500,\n  \"maxBudget\": 900,\n  \"roomType\": \"double\",\n  \"billsIncluded\": true,\n  \"sortBy\": \"priceLow\",\n  \"maxItems\": 50\n}\n```\n\n### Fetch specific adverts\n\n```json\n{\n  \"mode\": \"details\",\n  \"roomUrls\": [\n    \"https://www.spareroom.co.uk/flatshare/london/chiswick/17509965\",\n    \"https://www.spareroom.co.uk/flatshare/flatshare_detail.pl?flatshare_id=17454753\"\n  ]\n}\n```\n\n### Legacy task shape (still supported)\n\n```json\n{\n  \"mode\": \"searchByBudget\",\n  \"city\": \"Birmingham\",\n  \"maxBudget\": 700,\n  \"roomType\": \"any\",\n  \"milesFromCenter\": 3,\n  \"maxItems\": 20\n}\n```\n\n## Pagination and source limits\n\nSearch results are read 10 adverts at a time until `maxItems` is reached or the advert list ends. SpareRoom itself caps a single search at **1,000 results** (it displays `Showing first 1000 of ... ads`). When that happens the actor tells you in the run status message. To collect more, split the search by budget band, radius, room type or property type.\n\n## FAQ\n\n**Do I need a SpareRoom login?** No. The actor reads the same public search and advert pages a logged-out visitor sees.\n\n**Can I get the advertiser's email or phone number?** No. Contact details are behind SpareRoom's login and are not collected.\n\n**Why is `priceType` sometimes `pw`?** Some advertisers quote weekly rent. The actor reports the price exactly as advertised; use `priceNormalised` when SpareRoom provides a monthly equivalent.\n\n**Why do some records have fewer fields?** Detail-page fields such as deposit, amenities and household information only exist when the advertiser published them. Missing fields are omitted, never guessed.\n\n**Why do search results sometimes include a promoted advert outside my radius?** SpareRoom inserts promoted adverts at the top of some result pages. The actor removes promoted rows that clearly break the selected budget, room type, property type, poster, bills, photo, free-to-contact or bedroom filters, but it cannot calculate distance from a promoted advert's postcode, so a promoted row can still sit outside the radius.\n\n**Is this affiliated with SpareRoom?** No. This is an independent third-party actor that reads publicly visible pages from SpareRoom.co.uk.\n\n## Data source\n\nPublic SpareRoom.co.uk pages:\n\n- `/flatshare/<location>/` search results with SpareRoom's own filter parameters\n- `/flatshare/search.pl` location resolution\n- `/flatshare/<area>/<id>` and `/flatshare/flatshare_detail.pl?flatshare_id=<id>` advert pages\n\n## Limitations\n\n- UK only. US listings, rooms-wanted adverts and buddy-up adverts are not part of this actor.\n- SpareRoom caps each search at 1,000 results; refine filters to reach more.\n- Contact details, email alerts and monitoring for new listings are not included.\n- A promoted advert can appear outside the chosen radius; the actor filters the other fields it can verify from the card.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "spareroom-uk-flatshare-budget-and-radius-search",
      "title": "SpareRoom UK Flatshare Budget & Radius Search",
      "description": "Search SpareRoom.co.uk room listings by city, rent, radius and detailed filters, or fetch full listing details by URL. Returns rent, bills, deposit, availability, room and property type, household, amenities, advertiser information and photos.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# SpareRoom UK Flatshare Budget & Radius Search\n\nSpareRoom is the UK's busiest flatshare site. This actor turns its public room adverts into structured data. Run a location search with a monthly budget, radius and optional filters, or paste your own listing URLs to collect the full advert detail page.\n\nEverything is collected from public, logged-out pages. No SpareRoom account, cookie or proxy setup is required.\n\n## Modes\n\n| Mode | What it does |\n|---|---|\n| `search` | Resolves a UK city, town, neighbourhood or postcode on SpareRoom, applies your filters and pages through the results. |\n| `details` | Fetches one or more SpareRoom listing URLs and returns the full advert detail record. |\n\nThe old mode names `searchRooms`, `searchByCity`, `searchByBudget` and `roomDetails` are still accepted and mapped to the matching mode, so existing saved tasks keep working.\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | select | `search` | `search` or `details`; legacy mode names are accepted |\n| `city` | text | `London` | UK city, area, postcode or `/flatshare/...` URL |\n| `maxItems` | integer | `20` | Maximum listings to return (1–1000) |\n| `maxBudget` | integer | `1500` | Maximum monthly rent in GBP |\n| `minBudget` | integer | – | Minimum monthly rent in GBP |\n| `milesFromCenter` | integer | `3` | Search radius in miles |\n| `roomType` | select | `any` | any, double, single, ensuite or studio |\n| `propertyType` | select | `any` | any, roomsInShares, studios or wholeProperties |\n| `billsIncluded` | boolean | `false` | Bills included only |\n| `furnished` | select | `any` | any, furnished or unfurnished |\n| `postedBy` | select | `any` | any, privateLandlords, flatmates, liveIn or noLiveIn |\n| `sortBy` | select | `relevance` | relevance, newest, lastUpdated, priceLow or priceHigh |\n| `keyword` | text | – | Keyword filter |\n| `moveInDate` | text | – | Move-in date in YYYY-MM-DD format |\n| `shortLet` | boolean | `false` | Short lets only |\n| `photosOnly` | boolean | `false` | Photo adverts only |\n| `freeToContact` | boolean | `false` | Free-to-contact adverts only |\n| `noDeposit` | boolean | `false` | No/low-deposit adverts only |\n| `petsAllowed` | boolean | `false` | Pets considered only |\n| `parking` | boolean | `false` | Parking only |\n| `disabledAccess` | boolean | `false` | Disabled access only |\n| `sharedLivingRoom` | boolean | `false` | Shared living room only |\n| `minBeds` | select | – | Minimum bedrooms in the property |\n| `maxBeds` | select | – | Maximum bedrooms in the property |\n| `roomUrls` | stringList | `[]` | SpareRoom listing URLs for `details` mode |\n\n\n## What you can filter on\n\n- Monthly rent range (`minBudget` / `maxBudget`)\n- Search radius in miles (`milesFromCenter`)\n- Room type: double, single, en-suite or studio/1-bed\n- Property type: rooms in existing shares, studio/1-bed flats or whole properties\n- Bills included, furnished/unfurnished, posted-by role\n- Keyword, move-in date, short lets\n- Photo adverts only, free to contact, no/low deposit\n- Pets considered, parking, disabled access, shared living room\n- Bedroom-count range\n- Sort order: newest, recently updated, price low/high\n\nSpareRoom shows promoted adverts at the top of some searches. The actor removes promoted rows that visibly contradict the requested budget, room type, property type, poster role, bills, photo, free-to-contact or bedroom filters, then keeps paging to fill `maxItems`.\n\n## Output per room\n\nEvery record uses the same field names in both modes; fields the advert does not publish are omitted rather than filled with placeholders.\n\n| Field | Meaning |\n|---|---|\n| `roomId` | SpareRoom advert reference number |\n| `title` | Advert headline |\n| `price` | Rent exactly as advertised |\n| `priceType` | `pcm` (per calendar month) or `pw` (per week) |\n| `priceNormalised` | SpareRoom's normalised price when the page provides one |\n| `priceNormalisedType` | Period for `priceNormalised` |\n| `city` | Location you searched (search mode) |\n| `area` | Neighbourhood or area shown in the advert |\n| `postcode` | Full or partial postcode |\n| `propertyType` | Property type as shown by SpareRoom |\n| `propertyTypeDetail` | Extra property-type text, for example `studio flat` |\n| `roomType` | Room type shown on the card, for example `Double room` |\n| `roomsInProperty` | Total bedrooms in the property |\n| `housemates` | Current number of flatmates/housemates (detail pages) |\n| `landlordType` | Advertiser role, for example `live in landlord`, `agent`, `current flatmate` |\n| `listingType` | Advert type, usually `offered` |\n| `listingStatus` | Status badges such as `new today`, `boosted`, `now let` |\n| `billsIncluded` | `true` / `false` when the advert states it |\n| `deposit` / `depositCurrency` | Deposit amount and currency (detail pages) |\n| `availableNow` | `true` when the advert says available now |\n| `availableFrom` | Availability text exactly as advertised |\n| `minimumTerm` / `maximumTerm` | Minimum and maximum stay (detail pages) |\n| `shortLet` | `true` when short lets are considered |\n| `furnishing` | Furnished / unfurnished (detail pages) |\n| `livingRoom` | Living-room arrangement (detail pages) |\n| `parking`, `garage`, `garden`, `balcony`, `disabledAccess`, `wifi` | Amenity flags (detail pages) |\n| `householdAges`, `householdSmoker`, `householdPets`, `householdOccupation`, `householdGender` | Current household (detail pages) |\n| `couplesOk`, `smokingOk`, `petsSuitable`, `referencesRequired`, `minAge`, `maxAge` | New-flatmate preferences (detail pages) |\n| `description` | Advert text (full text in details mode, snippet in search mode) |\n| `imageUrl` / `imageUrls` | Main photo and full detail-page photo gallery |\n| `landlordPhotoUrl` | Advertiser profile photo, when published |\n| `advertiserName`, `advertiserRole`, `advertiserUpgraded`, `advertiserVerified`, `advertiserLastActive`, `advertiserResponseRate` | Advertiser information |\n| `isVerified`, `isFeatured`, `isFreeToContact`, `hasVideo`, `photoCount`, `daysOld` | Listing signals from the search card |\n| `roomUrl` | Canonical advert URL |\n| `scrapedAt` | UTC collection timestamp |\n\n## Examples\n\n### London rooms up to £1,200 within 5 miles\n\n```json\n{\n  \"mode\": \"search\",\n  \"city\": \"London\",\n  \"maxBudget\": 1200,\n  \"milesFromCenter\": 5,\n  \"maxItems\": 100\n}\n```\n\n### Double rooms with bills included in Manchester\n\n```json\n{\n  \"mode\": \"search\",\n  \"city\": \"Manchester\",\n  \"minBudget\": 500,\n  \"maxBudget\": 900,\n  \"roomType\": \"double\",\n  \"billsIncluded\": true,\n  \"sortBy\": \"priceLow\",\n  \"maxItems\": 50\n}\n```\n\n### Fetch specific adverts\n\n```json\n{\n  \"mode\": \"details\",\n  \"roomUrls\": [\n    \"https://www.spareroom.co.uk/flatshare/london/chiswick/17509965\",\n    \"https://www.spareroom.co.uk/flatshare/flatshare_detail.pl?flatshare_id=17454753\"\n  ]\n}\n```\n\n### Legacy task shape (still supported)\n\n```json\n{\n  \"mode\": \"searchByBudget\",\n  \"city\": \"Birmingham\",\n  \"maxBudget\": 700,\n  \"roomType\": \"any\",\n  \"milesFromCenter\": 3,\n  \"maxItems\": 20\n}\n```\n\n## Pagination and source limits\n\nSearch results are read 10 adverts at a time until `maxItems` is reached or the advert list ends. SpareRoom itself caps a single search at **1,000 results** (it displays `Showing first 1000 of ... ads`). When that happens the actor tells you in the run status message. To collect more, split the search by budget band, radius, room type or property type.\n\n## FAQ\n\n**Do I need a SpareRoom login?** No. The actor reads the same public search and advert pages a logged-out visitor sees.\n\n**Can I get the advertiser's email or phone number?** No. Contact details are behind SpareRoom's login and are not collected.\n\n**Why is `priceType` sometimes `pw`?** Some advertisers quote weekly rent. The actor reports the price exactly as advertised; use `priceNormalised` when SpareRoom provides a monthly equivalent.\n\n**Why do some records have fewer fields?** Detail-page fields such as deposit, amenities and household information only exist when the advertiser published them. Missing fields are omitted, never guessed.\n\n**Why do search results sometimes include a promoted advert outside my radius?** SpareRoom inserts promoted adverts at the top of some result pages. The actor removes promoted rows that clearly break the selected budget, room type, property type, poster, bills, photo, free-to-contact or bedroom filters, but it cannot calculate distance from a promoted advert's postcode, so a promoted row can still sit outside the radius.\n\n**Is this affiliated with SpareRoom?** No. This is an independent third-party actor that reads publicly visible pages from SpareRoom.co.uk.\n\n## Data source\n\nPublic SpareRoom.co.uk pages:\n\n- `/flatshare/<location>/` search results with SpareRoom's own filter parameters\n- `/flatshare/search.pl` location resolution\n- `/flatshare/<area>/<id>` and `/flatshare/flatshare_detail.pl?flatshare_id=<id>` advert pages\n\n## Limitations\n\n- UK only. US listings, rooms-wanted adverts and buddy-up adverts are not part of this actor.\n- SpareRoom caps each search at 1,000 results; refine filters to reach more.\n- Contact details, email alerts and monitoring for new listings are not included.\n- A promoted advert can appear outside the chosen radius; the actor filters the other fields it can verify from the card.\n",
      "input": {
        "title": "SpareRoom UK Flatshare Search & Listing Details Input",
        "description": "Search public SpareRoom.co.uk room listings by location, rent, radius and filters, or fetch full details for specific listing URLs.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "Search current room listings, or fetch full details for a list of SpareRoom listing URLs.",
            "editor": "select",
            "enum": [
              "search",
              "details",
              "searchRooms",
              "searchByCity",
              "searchByBudget",
              "roomDetails"
            ],
            "enumTitles": [
              "Search rooms by location and filters",
              "Fetch details for specific listing URLs",
              "Legacy alias: search rooms",
              "Legacy alias: search by city",
              "Legacy alias: search by budget",
              "Legacy alias: room details by URL"
            ],
            "default": "search",
            "prefill": "search",
            "sectionCaption": "Mode"
          },
          "city": {
            "title": "City or area",
            "type": "string",
            "description": "UK city, town, neighbourhood or postcode (for example London, Manchester, Camden, SW2). A SpareRoom /flatshare/... URL is also accepted. Used in search mode.",
            "editor": "textfield",
            "default": "London",
            "prefill": "London",
            "sectionCaption": "Search"
          },
          "maxItems": {
            "title": "Maximum listings",
            "type": "integer",
            "description": "Stop after this many listings. SpareRoom itself exposes at most 1,000 results per search.",
            "minimum": 1,
            "maximum": 1000,
            "default": 20,
            "prefill": 3
          },
          "maxBudget": {
            "title": "Maximum rent (GBP per month)",
            "type": "integer",
            "description": "Only include rooms advertised at or below this monthly rent. Weekly adverts are matched by SpareRoom's own monthly conversion.",
            "minimum": 0,
            "maximum": 10000,
            "default": 1500,
            "prefill": 1500
          },
          "minBudget": {
            "title": "Minimum rent (GBP per month)",
            "type": "integer",
            "description": "Only include rooms advertised at or above this monthly rent.",
            "minimum": 0,
            "maximum": 10000
          },
          "milesFromCenter": {
            "title": "Search radius (miles)",
            "type": "integer",
            "description": "Search radius around the chosen location. SpareRoom's own selector uses 0-5, 10, 15, 20, 30 and 40 miles.",
            "minimum": 0,
            "maximum": 50,
            "default": 3,
            "prefill": 3
          },
          "roomType": {
            "title": "Room type",
            "type": "string",
            "description": "Narrow results to double rooms, single rooms, en-suite rooms or studio/1-bed properties.",
            "editor": "select",
            "enum": [
              "any",
              "double",
              "single",
              "ensuite",
              "studio"
            ],
            "enumTitles": [
              "Any room type",
              "Double room",
              "Single room",
              "En-suite room",
              "Studio or 1-bed property"
            ],
            "default": "any",
            "prefill": "any"
          },
          "propertyType": {
            "title": "Property type",
            "type": "string",
            "description": "Choose rooms in existing shared houses, studio/1-bed flats, or whole properties suitable for sharing.",
            "editor": "select",
            "enum": [
              "any",
              "roomsInShares",
              "studios",
              "wholeProperties"
            ],
            "enumTitles": [
              "Any property type",
              "Rooms in existing shares",
              "Studio / 1-bed flats",
              "Whole properties suitable for sharing"
            ],
            "default": "any",
            "prefill": "any"
          },
          "billsIncluded": {
            "title": "Bills included only",
            "type": "boolean",
            "description": "Only include adverts that state bills are included in the rent.",
            "default": false,
            "prefill": false
          },
          "furnished": {
            "title": "Furnishing",
            "type": "string",
            "description": "Filter by furnished or unfurnished adverts.",
            "editor": "select",
            "enum": [
              "any",
              "furnished",
              "unfurnished"
            ],
            "enumTitles": [
              "Any furnishing",
              "Furnished",
              "Unfurnished"
            ],
            "default": "any",
            "prefill": "any"
          },
          "postedBy": {
            "title": "Posted by",
            "type": "string",
            "description": "Filter by who placed the advert.",
            "editor": "select",
            "enum": [
              "any",
              "privateLandlords",
              "flatmates",
              "liveIn",
              "noLiveIn"
            ],
            "enumTitles": [
              "Anyone",
              "Private landlords only (no agents)",
              "Flatmates only",
              "Live-in landlords only",
              "No live-in landlords"
            ],
            "default": "any",
            "prefill": "any"
          },
          "sortBy": {
            "title": "Sort order",
            "type": "string",
            "description": "How SpareRoom should order results before collection.",
            "editor": "select",
            "enum": [
              "relevance",
              "newest",
              "lastUpdated",
              "priceLow",
              "priceHigh"
            ],
            "enumTitles": [
              "SpareRoom default",
              "Newest adverts",
              "Recently updated",
              "Price: lowest first",
              "Price: highest first"
            ],
            "default": "relevance",
            "prefill": "relevance"
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Only include adverts whose text matches this keyword, for example tube, ensuite, garden.",
            "editor": "textfield"
          },
          "moveInDate": {
            "title": "Move-in date (YYYY-MM-DD)",
            "type": "string",
            "description": "Ask SpareRoom for rooms available on or before this date. Leave blank for any date.",
            "editor": "textfield"
          },
          "shortLet": {
            "title": "Short lets only",
            "type": "boolean",
            "description": "Only include adverts that consider short-term lets.",
            "default": false,
            "prefill": false
          },
          "photosOnly": {
            "title": "Photo adverts only",
            "type": "boolean",
            "description": "Only include adverts with at least one photo.",
            "default": false,
            "prefill": false
          },
          "freeToContact": {
            "title": "Free to contact only",
            "type": "boolean",
            "description": "Only include adverts that are free to contact.",
            "default": false,
            "prefill": false
          },
          "noDeposit": {
            "title": "No / low deposit only",
            "type": "boolean",
            "description": "Only include adverts marked as no or low deposit.",
            "default": false,
            "prefill": false
          },
          "petsAllowed": {
            "title": "Pets considered only",
            "type": "boolean",
            "description": "Only include adverts where pets are considered.",
            "default": false,
            "prefill": false
          },
          "parking": {
            "title": "Parking only",
            "type": "boolean",
            "description": "Only include properties with parking available.",
            "default": false,
            "prefill": false
          },
          "disabledAccess": {
            "title": "Disabled access only",
            "type": "boolean",
            "description": "Only include properties with disabled access.",
            "default": false,
            "prefill": false
          },
          "sharedLivingRoom": {
            "title": "Shared living room only",
            "type": "boolean",
            "description": "Only include properties with a shared living room.",
            "default": false,
            "prefill": false
          },
          "minBeds": {
            "title": "Minimum bedrooms in property",
            "type": "string",
            "description": "Only include properties with at least this many bedrooms.",
            "editor": "select",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "10"
            ],
            "enumTitles": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "10"
            ]
          },
          "maxBeds": {
            "title": "Maximum bedrooms in property",
            "type": "string",
            "description": "Only include properties with at most this many bedrooms (6 means 6+ on SpareRoom).",
            "editor": "select",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "10"
            ],
            "enumTitles": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6+",
              "7",
              "8",
              "9",
              "10"
            ]
          },
          "roomUrls": {
            "title": "SpareRoom listing URLs",
            "type": "array",
            "description": "One or more public SpareRoom listing URLs for details mode. Both /flatshare/<area>/<id> and flatshare_detail.pl?flatshare_id=<id> links are accepted.",
            "editor": "stringList",
            "default": [],
            "prefill": [],
            "sectionCaption": "Listing details"
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "SpareRoom UK Flatshare Search & Listing Details Output",
        "description": "SpareRoom.co.uk room listings with rent, bills, deposit, availability, property and household details, amenities, advertiser information, photos and listing URLs.",
        "properties": {
          "listings": {
            "type": "string",
            "title": "Room listings",
            "description": "Dataset containing all collected SpareRoom room listings.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Room Listings",
              "transformation": {
                "fields": [
                  "title",
                  "price",
                  "priceType",
                  "roomType",
                  "area",
                  "postcode",
                  "billsIncluded",
                  "availableFrom",
                  "propertyType",
                  "landlordType",
                  "imageUrl",
                  "roomUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.2",
    "imageDigest": "6a4a576f75a6333e4d5cef52c8b86c76f01c716a58036e2aaf6dd0323a02524d",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.00374
    }
  }
}