Skip to content
Scrappa Get API key
SpareRoom API 1 credit/request

SpareRoom Areas

GET https://scrappa.co/api/spareroom/areas

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.

SpareRoom Areas 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/spareroom/areas
Auth header
x-api-key
Cost
1 credit/request
city = example
Response preview
200 OK
Example JSON appears below when a response schema is available for this 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.

city string Required

City slug as used on SpareRoom, for example london or manchester.

Example value example

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

HTTP 422

A parameter is missing or invalid. This response is not billable.

404

HTTP 404

The ad, place or city does not exist. This response is not billable.

503

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.