# SpareRoom Property Scraper | Auto filters Duplicates (`vivid-softwares/spareroom-scraper`) Actor

Scrape unlimited listings from SpareRoom. Get property details, prices, and user info quickly. Perfect for sourcing rental opportunities at scale.

- **URL**: https://apify.com/vivid-softwares/spareroom-scraper.md
- **Developed by:** [VividSoftwares](https://apify.com/vivid-softwares) (community)
- **Categories:** Real estate, Developer tools, Automation
- **Stats:** 27 total users, 1 monthly users, 78.3% runs succeeded, 5 bookmarks
- **User rating**: No ratings yet

## Pricing

$15.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## This actor has been retired

This subscription-priced actor is no longer maintained. Please use the active pay-per-result version instead:

### [Use the active SpareRoom Property Scraper](https://apify.com/vivid-softwares/spareroom-property-scraper)

Pricing is already configured on the active actor. Move any schedules, tasks, integrations, and API calls to it before your next run. This actor remains available only as a migration notice. Do not start new runs here.

***

**Previous documentation, retained for reference**

### What Does This Tool Do?

This tool automatically collects property information from SpareRoom.co.uk without you having to visit each listing manually. Instead of spending hours:

- Browsing through hundreds of property pages
- Copying details into spreadsheets
- Repeatedly checking for new listings

Our tool does all this work for you! It searches through SpareRoom according to your criteria (location, price range, etc.) and creates a complete list of all matching properties with their details. You can then easily:

- Compare multiple properties at once
- Track price changes over time
- Find the best deals before others
- Make data-driven decisions for property investment or rental searches

### 🚀 How to Use SpareRoom Scraper

Follow these simple steps to start collecting property data:

1. **Set Up Your Search**
   - Visit [SpareRoom.co.uk](https://www.spareroom.co.uk)
   - Enter your desired location
   - Apply your filters (price, room type, etc.)
   - Click "Search" to see your results
   - Copy the URL from your browser

2. **Run the Scraper**
   - Go to your Apify Console
   - Find "SpareRoom Scraper" in your actors list
   - Click "Run"
   - Paste your search URL into the `startUrls` field
   - Click "Run" to start scraping

3. **Get Your Results**
   - Wait for the scraper to finish
   - Download your data in JSON, CSV, or Excel format
   - Use the data to analyze properties and make informed decisions

### 📋 What You'll Get

Each property listing includes:

| Field | Description | Example |
|-------|-------------|---------|
| url | Property listing URL | "https://www.spareroom.co.uk/flatshare/flatshare_detail.pl?flatshare_id=1234567" |
| title | Room title | "Double Room in Zone 2" |
| price | Monthly rent | "£800 pcm" |
| location | Area/zone | "London, Zone 2" |
| description | Room description | "Spacious double room..." |
| features | Room features | \["Furnished", "Bills included"] |
| postedDate | Listing date | "2024-03-20" |
| contactInfo | Contact details | {"name": "John Doe", "phone": "1234567890"} |

### ⚙️ Advanced Configuration

The actor accepts the following input parameters:

```json
{
    "startUrls": [
        {
            "url": "https://www.spareroom.co.uk/flatshare/?search_id=1363034394&mode=list"
        }
    ],
    "includeDuplicates": false,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
}
```

### 🔄 Deduplication

The actor automatically handles duplicate listings by:

- Tracking previously seen listings
- Excluding duplicates by default
- Maintaining data consistency
- Optimizing storage and processing

### 💡 Tips for Best Results

- **Search URLs**
  - Use specific search filters on SpareRoom
  - Copy the exact URL from your browser
  - You can use multiple URLs in one run

- **Running Regularly**
  - Set up scheduled runs to catch new listings
  - The tool will automatically track what's new
  - No need to worry about duplicates

- **Data Usage**
  - Results are in JSON format
  - Easy to import into spreadsheets or databases
  - Compatible with most data analysis tools

### ❓ Need Help?

If you encounter any issues:

- Check your search URL is correct
- Ensure you have proper permissions
- Contact support if problems persist

### Related Actors

Looking for more property data? Check out these related actors:

- [OpenRent Property Scraper | Unlimited Usage](https://apify.com/vivid-softwares/openrent-scraper) - Scrape property listings from OpenRent.co.uk
- [OpenRent Property Scraper | Pay Per Result](https://apify.com/vivid-softwares/openrent-property-scraper) - Scrape property listings from OpenRent.co.uk
- [SpareRoom Property Scraper | Pay Per Result](https://apify.com/vivid-softwares/spareroom-property-scraper) - Scrape property listings from SpareRoom.co.uk
- [Gumtree Property Scraper | Unlimited Usage](https://apify.com/vivid-softwares/gumtree-scraper) - Scrape property listings from Gumtree.com
- [Gumtree Property Scraper | Pay Per Result](https://apify.com/vivid-softwares/gumtree-property-scraper) - Scrape property listings from Gumtree.com
- [Facebook Marketplace Property Scraper](https://apify.com/vivid-softwares/facebook-property-scraper) - Scrape Facebook Marketplace property listings with prices, locations, descriptions, seller details, phone numbers, images, and listing URLs

### 📄 License

MIT

# Actor input Schema

## `startUrls` (type: `array`):

URLs to start scraping from

## `includeDuplicates` (type: `boolean`):

Whether to include duplicate listings in the output

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

Proxy settings for the scraper

## Actor input object example

```json
{
  "startUrls": [
    "https://www.spareroom.co.uk/flatshare/totnes?mode=list"
  ],
  "includeDuplicates": false,
  "proxyConfiguration": {}
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        "https://www.spareroom.co.uk/flatshare/totnes?mode=list"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("vivid-softwares/spareroom-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": ["https://www.spareroom.co.uk/flatshare/totnes?mode=list"] }

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

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

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

```

## CLI example

```bash
echo '{
  "startUrls": [
    "https://www.spareroom.co.uk/flatshare/totnes?mode=list"
  ]
}' |
apify call vivid-softwares/spareroom-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vivid-softwares/spareroom-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/vpaEwE1LNrXYV1UHa/builds/wbSJKU3qHLCfU3mYz/openapi.json
