SpareRoom API

SpareRoom Room and Flatshare API for the UK

Scrappa SpareRoom API returns structured JSON from SpareRoom, the UK flatshare site. Search rooms and flatshares by area or postcode district with rent, room type, bills included, availability, household and landlord filters. Read facet counts, open any ad for rent per room, deposit, bills, terms, amenities, household, location and the photo gallery, autocomplete places and list the areas of a city. Scrappa is an independent service and is not affiliated with or endorsed by SpareRoom.

500 free credits
No card needed
From $0.20 / 1k
Pay as you go
Structured JSON
Ready for apps
API key access
Test in minutes
4
Endpoints
UK
Source coverage
$0.20
Per 1k requests

Try it now

Make one request. Inspect structured JSON.

Use the first endpoint in this API family with a Scrappa API key. Every account includes 500 free monthly credits, so you can validate the response shape before buying credits.

Request preview
Request
curl -X GET "https://scrappa.co/api/spareroom/search?where=London&max_rent=900&bills_included=true" \
  -H "Accept: application/json" \
  -H "X-API-KEY: YOUR_API_KEY"
JSON response
{
  "success": true,
  "data": {
    "type": "results",
    "where": "London",
    "page": 1,
    "page_size": 100,
    "page_count": 10,
    "has_next_page": true,
    "result_count": 62,
    "results": [
      {
        "id": 18181176,
        "title": "Spacious Single in Tulse Hill - Bills included",
        "rent": { "min": 824, "max": 824, "period": "pcm", "currency": "GBP" },
        "bills_included": "yes",
        "location": { "postcode": "SW2", "neighbourhood": "Tulse Hill" }
      }
    ]
  },
  "error": null,
  "meta": { "endpoint_family": "spareroom.search", "billable": true, "retryable": false, "duration_ms": 900 }
}

What you can build

Structured data for real applications. Here are some ideas.

Rental Market Analysis

Track rent per room, deposits and bills included by area and postcode district across the UK.

Room Finder Apps

Build room search with rent, room type, availability and household filters and show photos and location.

Supply Monitoring

Watch new and renewed ads per area, with the advertiser type and response rate on every ad.

Student Housing Research

Compare rooms for students and professionals, term lengths and bills across cities.

SpareRoom scraper API

SpareRoom API for UK rooms, rent and flatshares

The SpareRoom API is built for rental analytics and room search features. Each ad includes the id, title, rent per room with period, deposit, bills included, availability, location with coordinates, photos in five sizes and the advertiser. One search reaches at most 1,000 ads, so use the areas endpoint to split a big city into districts.

Search by area or postcode district with rent, room type, bills, availability and household filters.

Read facet counts that show how many ads each filter would return.

Get an options list instead of an empty page when a place name is ambiguous.

Open an ad for the full description, terms, amenities and photo gallery.

Split a city into districts with the areas endpoint.

Test the SpareRoom API with 500 free monthly credits before scaling production traffic.

Choose the right SpareRoom API endpoint

Use Locations to find a valid place

Autocomplete a place name into a working where value before you search.

Open SpareRoom Locations API docs

Use Search for room coverage

Combine area, rent, bills and availability filters to page through matching ads.

Open SpareRoom Search API docs

Use Listing for full records

Open an ad by its id to get the description, terms, amenities and all photo sizes.

Open SpareRoom Listing API docs

Available endpoints

Everything you need in one API.

GET

Listing

/api/spareroom/listing

Get one ad with rent, deposit, bills, terms, amenities, household, location and photos

Scrappa vs ScrapingBee / ScraperAPI

See how Scrappa compares to the official API.

SpareRoom data as JSON
Scrappa:
ScrapingBee / ScraperAPI: Build your own parser
Rent, bills and availability filters
Scrappa:
ScrapingBee / ScraperAPI:
Facet counts per filter
Scrappa:
ScrapingBee / ScraperAPI:
Price per 1k requests
Scrappa: From $0.20
ScrapingBee / ScraperAPI: Varies by credits per request
Unified API key
Scrappa: Yes (80+ APIs)
ScrapingBee / ScraperAPI: Scraping only
Free tier
Scrappa: 500 credits/month
ScrapingBee / ScraperAPI: Trial credits

Key features

Room and flatshare search by area or postcode district
Rent per room with period, deposit, bills included and availability on every ad
Facet counts for every filter and sort by price or age
Ambiguous places return an options list and are never billed
Full ad details with amenities, household, terms and photos in five sizes
Place autocomplete and a district index per city
Failed requests and empty answers are never billed
Simple API key auth with 500 free credits per month

Frequently asked questions

No. Scrappa is an independent service and is not affiliated with or endorsed by SpareRoom. The API returns structured JSON from public room and flatshare ads through a Scrappa API key.

SpareRoom serves at most 1,000 ads for one search. The response sets truncated to true when more ads match. Use the areas endpoint and search each district to cover a big city.

The search returns type ambiguous_place with a list of options and no ads. Repeat the search with one option as where. This answer is not billed.

SpareRoom matches rent per ad. Scrappa then keeps only the rooms inside your band and compares weekly and monthly prices on the period you choose. The ad total is withheld in that case, because it no longer describes the rows.

Every Scrappa account includes 500 free credits each month. After that, each request costs one credit. Requests that return no usable data are never charged.

Start using the SpareRoom API

Sign up and get 500 free credits. No credit card required.