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

SpareRoom Locations

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

Autocomplete a place text into SpareRoom places. Each match has a display name, a where value for the search endpoint, a type and the area ids. The answer holds at most 20 matches. Areas, towns and postcode districts resolve. Full postcodes do not resolve and return an empty list, which is not billed.

SpareRoom Locations 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/spareroom/locations
Auth header
x-api-key
Cost
1 credit/request
q = coffee shops
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.

q string Required

Place text with at least 2 characters, for example man.

Example value coffee shops

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.

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.