List the areas of one city, for example london or manchester. Each entry has the area name, the postcode district when SpareRoom shows one, and a public page URL. Use the name or the district as where in the search endpoint. A search reaches at most 1,000 ads, so search each district to cover a big city. Some cities list no district. An unknown city returns a 404 that is not billed.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
string
Required
City slug as used on SpareRoom, for example london or manchester.
example
Errors
Handle these documented responses before retrying or showing customer-facing failures.
HTTP 422
A parameter is missing or invalid. This response is not billable.
HTTP 404
The ad, place or city does not exist. This response is not billable.
HTTP 503
The upstream is unavailable, refused the request or answered in an unexpected shape. This response is not billable.
Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.