Supercasa

Location Autocomplete

Resolve a Portuguese location, or an opaque selection token, for search.

get/supercasa/autocomplete

Request

  • Base URL: https://scrappa.co/api
  • URL: https://scrappa.co/api/supercasa/autocomplete
  • Auth: API key in header X-API-KEY

Query parameters

locationstring nullable

Free-text place name, e.g. Marvila or Lisboa.

location_selection_tokenstring nullable

A selectionToken returned by an earlier ambiguous lookup.

location_level'state' | 'town' | 'neighborhood' | 'zone' | 'null' nullable

Accepted for parity with search and deliberately not sent: a name that exists at several levels resolves to no match instead of the disambiguation options. Leave it unset here.

business'sale' | 'rent' | 'holiday_rent' | 'null' nullable

sale (default) or rent.

categorystring nullable

Master category slug the options are drawn from. Defaults to property.

Response

string required
OR

Changes

No recorded changes to this operation across all 4 revisions of this API.