APIs / Real estate / SpareRoom
1 credit per call4 endpoints2 datapointsChecked working 6 Dec 2026
SpareRoom API
SpareRoom API for room and flatshare search with rent filters, single listings, areas and location lookup as JSON. Four endpoints, 1 credit per successful call.
{
"success": true,
"data": {
"type": "results",
"where": "London",
"page": 1,
"page_size": 100,
"page_count": 10,
"has_next_page": true,
"result_count": 100,
"total_pool": 12891,
"rows_reachable": 1000,
"truncated": true,
"total_rooms_available": 16127,
"location": {
"latitude": 51.51648767499999,
"longitude": -0.10976950833333333,
"latitude_delta": 0.291945783904339,
"longitude_delta": 0.47141769068993,
"areas": [
{
"id": 1,
"name": "The East End"
},
{
"id": 2,
"name": "Outer East End / Newham"
},
{
"id": 3,
"name": "Docklands"
}
]
},
"filter_options": [
{
"group": "Price",
"options": [
{
"label": "Up to £900pcm",
"count": 4906,
"params": "…"
},
{
"label": "£901 to £1,300pcm",
"count": 5965,
"params": "…"
},
{
"label": "£1,301pcm plus",
"count": 2588,
"params": "…"
}
]
},
{
"group": "Types",
"options": [
{
"label": "Rooms in existing shares",
"count": 11036,
"params": "…"
},
{
"label": "Studios / 1 Beds",
"count": 1071,
"params": "…"
},
{
"label": "Whole properties (suitable for sharing)",
"count": 777,
"params": "…"
}
]
},
{
"group": "Rooms",
"options": [
{
"label": "Double rooms",
"count": 11856,
"params": "…"
},
{
"label": "Single rooms",
"count": 1315,
"params": "…"
},
{
"label": "Rooms with en-suite",
"count": 2572,
"params": "…"
}
]
}
],
"results": [
{
"id": 18472716,
"url": "https://www.spareroom.co.uk/18472716",
"title": "1-Bed penthouse flat near Canary Wharf",
"excerpt": "Modern 1-bed flat with wrap-around terrace.\nFurnished\nPerfectly located between Canary Wharf and the City. Between Limehouse and Westferry DLR stations, m.",
"ad_type": "offered",
"accommodation_type": "1 bed flat or studio",
"property_type": "Flat",
"status": "Available",
"rooms_in_property": 1,
"rooms_for_rent": 1,
"double_rooms": 1,
"rent": {
"min": 2500,
"period": "pcm",
"rent_options": "whole",
"currency": "GBP"
},
"rooms": [
{
"type": "double",
"price": 2500,
"period": "pcm",
"status": "available",
"furnishings": "unfurnished"
}
],
"security_deposit": 2500,
"availability": {
"from": "2026-11-23",
"from_iso": "2026-11-23T12:00:00Z",
"days_per_week": "7 days a week"
},
"couples_allowed": true,
"location": {
"postcode": "E14",
"neighbourhood": "Westferry",
"latitude": 51.513191,
"longitude": -0.0292769
},
"images": {
"tiny": "https://photos2.spareroom.co.uk/images/flatshare/listings/tiny/10/19/101956202.jpg",
"thumb": "https://photos2.spareroom.co.uk/images/flatshare/listings/thumbs/10/19/101956202.jpg",
"standard": "https://photos2.spareroom.co.uk/images/flatshare/listings/10/19/101956202.jpg",
"large": "https://photos2.spareroom.co.uk/images/flatshare/listings/large/10/19/101956202.jpg",
"square": "https://photos2.spareroom.co.uk/images/flatshare/listings/square/10/19/101956202.jpg"
},
"advertiser": {
"id": 25592173,
"uuid": "bhDJ9wMYovyCnpiwL2NZMA",
"name": "Quentin",
"type": "live out landlord",
"type_code": "live_out_landlord",
"verified": true,
"photo_checks": [
"name",
"date_of_birth"
],
"additional_checks": [
"phone",
"email"
]
},
"promotion": {
"label": "New Today",
"featured": false,
"bold": true,
"has_video": false,
"early_bird_required": false
},
"expires_at": "2026-11-20T20:45:36Z"
},
{
"id": 17985606,
"url": "https://www.spareroom.co.uk/17985606",
"title": "Stylish Double Room in Stoke Newington 🏡+Garden",
"excerpt": "***Men preferred property***Spacious double room available in a beautifully kept Victorian garden flat on a quiet residential street in Stoke Newington.\n\nThis is not your typical house share — it’s a calm, well-maintained home with a premiu…",
"ad_type": "offered",
"accommodation_type": "Double room",
"property_type": "Flat",
"status": "Available",
"rooms_in_property": 3,
"rooms_for_rent": 1,
"double_rooms": 1,
"rent": {
"min": 950,
"period": "pcm",
"rent_options": "room",
"currency": "GBP"
},
"rooms": [
{
"type": "double",
"price": 950,
"period": "pcm",
"security_deposit": 950,
"status": "available",
"ensuite": false,
"furnishings": "furnished"
}
],
"bills_included": "yes",
"security_deposit": 950,
"availability": {
"from": "2026-12-03",
"from_iso": "2026-12-03T12:00:00Z",
"days_per_week": "7 days a week"
},
"couples_allowed": true,
"location": {
"postcode": "N16",
"neighbourhood": "Stoke Newington",
"latitude": 51.560814,
"longitude": -0.0682005
},
"images": {
"tiny": "https://photos2.spareroom.co.uk/images/flatshare/listings/tiny/10/19/101955949.jpg",
"thumb": "https://photos2.spareroom.co.uk/images/flatshare/listings/thumbs/10/19/101955949.jpg",
"standard": "https://photos2.spareroom.co.uk/images/flatshare/listings/10/19/101955949.jpg",
"large": "https://photos2.spareroom.co.uk/images/flatshare/listings/large/10/19/101955949.jpg",
"square": "https://photos2.spareroom.co.uk/images/flatshare/listings/square/10/19/101955949.jpg"
},
"advertiser": {
"id": 24351788,
"uuid": "llFabfb4so8eWG9xVlXzZw",
"name": "Ricco&Nicholas",
"type": "live in landlord",
"type_code": "live_in_landlord",
"verified": true,
"photo_checks": [
"name",
"date_of_birth"
],
"additional_checks": [
"phone",
"email"
],
"profile_photo": "https://photos2.spareroom.co.uk/images/flatshare/listings/large/10/19/101956055.jpg"
},
"promotion": {
"label": "New Today",
"featured": false,
"bold": true,
"has_video": false,
"early_bird_required": false
},
"expires_at": "2026-11-20T19:57:01Z"
},
{
"id": 16746915,
"url": "https://www.spareroom.co.uk/16746915",
"title": "Spacious Double Room in Abbey Wood",
"excerpt": "Hi,\r\nSpacious double room, available to let in a friendly 3-bed house share. The room is furnished with built in wardrobes and beautifully decorated with a 'homey' feel. 15 min walk from the Abbey Wood station!\r\nWould best suit professional…",
"ad_type": "offered",
"accommodation_type": "Double room",
"property_type": "House",
"status": "Available",
"rooms_in_property": 3,
"rooms_for_rent": 1,
"double_rooms": 1,
"rent": {
"min": 700,
"period": "pcm",
"rent_options": "room",
"currency": "GBP"
},
"rooms": [
{
"type": "double",
"price": 700,
"period": "pcm",
"security_deposit": 700,
"status": "available",
"furnishings": "furnished"
}
],
"bills_included": "yes",
"security_deposit": 700,
"availability": {
"from": "2026-10-25",
"from_iso": "2026-10-25T12:00:00Z",
"days_per_week": "7 days a week"
},
"couples_allowed": false,
"location": {
"postcode": "SE2",
"neighbourhood": "Abbey Wood",
"latitude": 51.495941,
"longitude": 0.1081477,
"nearest_station": {
"name": "Abbey Wood",
"zone": "4"
}
},
"images": {
"tiny": "https://photos2.spareroom.co.uk/images/flatshare/listings/tiny/88/06/88064039.jpg",
"thumb": "https://photos2.spareroom.co.uk/images/flatshare/listings/thumbs/88/06/88064039.jpg",
"standard": "https://photos2.spareroom.co.uk/images/flatshare/listings/88/06/88064039.jpg",
"large": "https://photos2.spareroom.co.uk/images/flatshare/listings/large/88/06/88064039.jpg",
"square": "https://photos2.spareroom.co.uk/images/flatshare/listings/square/88/06/88064039.jpg"
},
"advertiser": {
"id": 3909246,
"uuid": "eEgM4EdNQuSJypBZZA0R5Q",
"name": "Edyta",
"type": "live in landlord",
"type_code": "live_in_landlord",
"verified": true,
"photo_checks": [
"name",
"date_of_birth"
],
"additional_checks": [
"phone",
"email"
],
"profile_photo": "https://photos2.spareroom.co.uk/images/flatshare/listings/large/98/98/98987510.jpg"
},
"promotion": {
"label": "New Today",
"featured": false,
"bold": true,
"has_video": false,
"early_bird_required": false
},
"expires_at": "2026-11-20T19:35:14Z"
}
]
},
"meta": {
"endpoint_family": "spareroom.search",
"retryable": false,
"duration_ms": 642
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | groupstring | optionsobject[] |
|---|---|---|
| 1 | Price | [3 items] |
| 2 | Types | [3 items] |
| 3 | Rooms | [3 items] |
[
{
"group": "Price",
"options": [
{
"label": "Up to £900pcm",
"count": 4906,
"params": "…"
},
{
"label": "£901 to £1,300pcm",
"count": 5965,
"params": "…"
},
{
"label": "£1,301pcm plus",
"count": 2588,
"params": "…"
}
]
},
{
"group": "Types",
"options": [
{
"label": "Rooms in existing shares",
"count": 11036,
"params": "…"
},
{
"label": "Studios / 1 Beds",
"count": 1071,
"params": "…"
},
{
"label": "Whole properties (suitable for sharing)",
"count": 777,
"params": "…"
}
]
},
{
"group": "Rooms",
"options": [
{
"label": "Double rooms",
"count": 11856,
"params": "…"
},
{
"label": "Single rooms",
"count": 1315,
"params": "…"
},
{
"label": "Rooms with en-suite",
"count": 2572,
"params": "…"
}
]
}
]group,options
Price,"[{""label"":""Up to £900pcm"",""count"":4906,""params"":""…""},{""label"":""£901 to £1,300pcm"",""count"":5965,""params"":""…""},{""label"":""£1,301pcm plus"",""count"":2588,""params"":""…""}]"
Types,"[{""label"":""Rooms in existing shares"",""count"":11036,""params"":""…""},{""label"":""Studios / 1 Beds"",""count"":1071,""params"":""…""},{""label"":""Whole properties (suitable for sharing)"",""count"":777,""params"":""…""}]"
Rooms,"[{""label"":""Double rooms"",""count"":11856,""params"":""…""},{""label"":""Single rooms"",""count"":1315,""params"":""…""},{""label"":""Rooms with en-suite"",""count"":2572,""params"":""…""}]"Recorded from our API · 3 items shown · 2 datapoints per itemGET /v1/spareroom/search?where=London
2 datapoints
Other
- groupstring
- optionsobject[]
Playground
Run this API
curl "https://api.perceptlayer.com/v1/spareroom/search?where=London" \
-H "X-API-Key: $API_KEY"SpareRoom · 4 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/spareroom/areas | city | JSON | 1 credit |
GET/v1/spareroom/listing | id+1 optional | idurltitledescriptionad_typead_status+20 more | 1 credit |
GET/v1/spareroom/locations | q | namewheretypearea_idsnarrow_area_ids | 1 credit |
GET/v1/spareroom/search | where+36 optional | typewherepage_countresult_countrows_reachabletruncated+3 more | 1 credit |
Overview
About the SpareRoom API
What you can get
The SpareRoom API returns SpareRoom room listings as JSON through 4 endpoints.
- Search:
searchtakes awhere, plus 36 optional parameters: among thempage,sort(relevance, newest, last_updated, price_low_to_high or price_high_to_low),min_rent,max_rent,rent_period(pcm or pw),bills_included,available_from,room_types(double or single),furnished,posted_by(private_landlords, flatmates, agents or co_live),min_term,max_term,min_bedsandmax_beds. - Listings:
listingtakes anid, withad_type(offered or wanted). - Areas:
areastakes acity. - Locations:
locationstakes aq.
How a call works
Search a city: GET /v1/spareroom/search?where=London with your key in the X-API-Key header. The recorded London search reported a total_pool of 12,891 and total_rooms_available of 16,127, with 100 results on page 1 of 10 (page_count, has_next_page); page on with page. Each result carries fields such as id, title, ad_type, rent, rooms, security_deposit, availability and location. The listing endpoint takes an id and ad_type, the same names search results use. Every successful call costs 1 credit; failed calls cost nothing.
More real estate APIs
Use cases
Track room rents in a city or area over time
Use the SpareRoom API to track room rents in a city or area over timeCompare rents for double and single rooms, and with or without bills included
Use the SpareRoom API to compare rents for double and single rooms, and with or without bills includedMeasure supply by area with `areas` and `search`
Use the SpareRoom API to measure supply by area with `areas` and `search`Watch a city for new rooms with `sort=newest`
Use the SpareRoom API to watch a city for new rooms with `sort=newest`FAQ
Questions
Do I need a SpareRoom API key?
No. You call this SpareRoom API with your Perceptlayer key in the `X-API-Key` header, so there's no SpareRoom account or app to register.
How much does the SpareRoom API cost?
Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Can I filter SpareRoom search by rent?
Yes. `search` takes `min_rent` and `max_rent`, with `rent_period` set to `pcm` or `pw`. In the recorded search, each result's `rent` object carries `min`, `period` and `currency`.
Is this the official SpareRoom API?
No. Perceptlayer is an independent service and is not affiliated with SpareRoom. It returns SpareRoom data as JSON with a Perceptlayer key, so there is no SpareRoom developer account, app review or partner approval to get first. It only reads data: if SpareRoom has an official API and you need to act on your own SpareRoom account, such as posting, managing orders or reading private data, use that one.
Should I build a SpareRoom scraper instead?
You can, but a SpareRoom scraper is code you maintain: page changes break it, requests get blocked, and SpareRoom's terms govern how you collect data. The SpareRoom API gives you 4 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the SpareRoom API with 100 free credits
No credit card. Failed calls are never billed.