APIs / Spacious / Autocomplete

Spacious: Autocomplete

Autocomplete from Spacious as JSON. 1 credit per successful call.

GET /v1/spacious/autocomplete

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringRequiredUp to 100 characters
typestringOptionalbuilding, neighbourhood
limitintegerOptionalAny

Example request

cURLshell
curl "https://api.perceptlayer.com/v1/spacious/autocomplete?query=imperial&type=building&limit=2" \
  -H "X-API-Key: $API_KEY"

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.