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.
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
Place text with at least 2 characters, for example man.
coffee shops
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 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.