APIs / VivaReal / Location Autocomplete

VivaReal: Location Autocomplete

Location Autocomplete from VivaReal as JSON. 1 credit per successful call.

GET /v1/vivareal/location-autocomplete

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
portalstringOptionalZAP, VIVAREAL, zap, vivareal
qstringRequiredUp to 120 characters
sizeintegerOptionalAny

Example request

VivaReal
GET/v1/vivareal/location-autocomplete?portal=ZAP&q=Pinheiros
{
  "success": true,
  "query": "Pinheiros",
  "returned": 10,
  "locations": [
    {
      "type": "neighborhood",
      "name": "Pinheiros",
      "url": "/venda/imoveis/sp+sao-paulo+zona-oeste+pinheiros/",
      "location_id": "BR>Sao Paulo>NULL>Sao Paulo>Zona Oeste>Pinheiros",
      "neighborhood": "Pinheiros",
      "zone": "Zona Oeste",
      "city": "São Paulo",
      "state": "São Paulo",
      "state_code": "SP",
      "lat": -23.563579,
      "lon": -46.691607
    },
    {
      "type": "neighborhood",
      "name": "Pinheiros",
      "url": "/aluguel/imoveis/sp+sao-paulo+zona-oeste+pinheiros/",
      "location_id": "BR>Sao Paulo>NULL>Sao Paulo>Zona Oeste>Pinheiros",
      "neighborhood": "Pinheiros",
      "zone": "Zona Oeste",
      "city": "São Paulo",
      "state": "São Paulo",
      "state_code": "SP",
      "lat": -23.563579,
      "lon": -46.691607
    },
    {
      "type": "neighborhood",
      "name": "Pinheiros",
      "url": "/venda/imoveis/sc+balneario-barra-do-sul++pinheiros/",
      "location_id": "BR>Santa Catarina>NULL>Balneario Barra do Sul>Barrios>Pinheiros",
      "neighborhood": "Pinheiros",
      "city": "Balneário Barra do Sul",
      "state": "Santa Catarina",
      "state_code": "SC",
      "lat": -26.301474,
      "lon": -48.84799
    }
  ],
  "meta": {
    "endpoint_family": "location-autocomplete",
    "portal": "ZAP",
    "attempts": 1
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

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

Response fields

Each item in locations has these 11 fields, read from a recorded call that returned 10 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
typestring
namestring
urlstring
location_idstring
neighborhoodstring
zonestring
citystring
statestring
state_codestring
latnumber
lonnumber