Skip to content

// docs

Imovelweb: Get listing details

Search Imovelweb autocomplete suggestions by keyword (KLP — Keyword List Page), returning the original JSON in data. Costs 1 credit per successful request.

imovelweb.com.br:klp · 1 credit per request

Standard credit cost. Your account pricing is shown in the sandbox.

Try this operation in the sandbox

When to use this operation

Send keyword with 1 to 200 characters. Ordering, duplicates, relative URLs and additional fields are preserved. Pagination and additional filters are not supported. The query uses country_id 2 (Brazil), limit 20 and suggestion_type SEARCHABLE. data is the original location suggestion array; there is no intermediate result field. An empty array indicates a valid search with no suggestions.

HTTP request

cURL
curl -X POST https://api.geckoapi.com.br/v1/extract \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "target": "imovelweb.com.br",
  "type": "klp",
  "keyword": "São Paulo"
}'

Keep your API key on your server. See the quickstart for authentication and response handling.

MCP request

The hosted MCP tool fixes target and type for this operation. Its remaining arguments use the same input rules as Extract.

POST /v1/mcp · Bearer or X-API-Key authentication

imovelweb_com_br_klp · tools/call
{
  "jsonrpc": "2.0",
  "id": 3,
  "method": "tools/call",
  "params": {
    "name": "imovelweb_com_br_klp",
    "arguments": {
      "keyword": "São Paulo",
      "executionId": "exec_example_123"
    }
  }
}

Supported inputs

Conditional fields depend on the alternatives and constraints in the rule column. Fields marked unsupported are omitted.

FieldTypeRequirementRuleDefaultExample
keyword
Keyword for PLP searches. In Google Search it represents the query sent to Google; in Booking PLP is mandatory; in other PLPs it can replace URL.
string Required Keyword with 1 to 200 characters after trimming surrounding whitespace. - São Paulo
target
Target source for extraction.
enum Required Always required and must be imovelweb.com.br. - imovelweb.com.br
type
Extraction type: pdp, idp, plp, ilp, quote, review or places.
enum Required Always required and must be klp (Keyword List Page). - klp

Request examples

City autocomplete

Real query for São Paulo on Imovelweb. Suggestions may vary.

City autocomplete
{
  "target": "imovelweb.com.br",
  "type": "klp",
  "keyword": "São Paulo"
}

Neighborhood autocomplete

Terms containing spaces and accents are accepted.

Neighborhood autocomplete
{
  "target": "imovelweb.com.br",
  "type": "klp",
  "keyword": "Vila Mariana"
}

Response schema

Leaf paths and expected types. Field names and enum values are part of the API contract.

responseSchema
{
  "requestId": "string (uuid)",
  "executionId": "string (uuid)",
  "data": "array<object>",
  "data[].id": "string",
  "data[].name": "string",
  "data[].label": "string",
  "data[].labelSuggest": "string",
  "data[].tokens": "array<string>"
}

Example response

Illustrative response. Product names, reviews and other source content retain their original language. Missing and null values do not imply zero stock, free shipping or zero reviews.

responseExample
{
  "requestId": "58b53d62-131a-4842-938b-9153d7928113",
  "executionId": "fc1ea885-9751-4652-a29d-03bc1d57fdb8",
  "data": [
    {
      "id": "V1-B-265",
      "name": "São Paulo",
      "label": "provincia",
      "labelSuggest": "São Paulo",
      "tokens": [
        "sao",
        "paulo"
      ]
    },
    {
      "id": "V1-C-109049",
      "name": "Casa Branca",
      "label": "departamento",
      "labelSuggest": "Casa Branca, São Paulo",
      "tokens": [
        "sao",
        "casa",
        "branca",
        "paulo"
      ]
    },
    {
      "id": "V1-C-109668",
      "name": "São Paulo",
      "label": "departamento",
      "labelSuggest": "São Paulo, São Paulo",
      "tokens": [
        "sao",
        "paulo"
      ]
    },
    {
      "id": "V1-C-109625",
      "name": "Santo André",
      "label": "departamento",
      "labelSuggest": "Santo André, São Paulo",
      "tokens": [
        "andre",
        "sao",
        "santo",
        "paulo"
      ]
    },
    {
      "id": "V1-C-109025",
      "name": "Campinas",
      "label": "departamento",
      "labelSuggest": "Campinas, São Paulo",
      "tokens": [
        "sao",
        "campinas",
        "paulo"
      ]
    },
    {
      "id": "V1-Z-8",
      "name": "Vila Olímpia",
      "label": "",
      "labelSuggest": "Vila Olímpia, São Paulo, São Paulo",
      "tokens": [
        "sao",
        "olimpia",
        "vila",
        "paulo"
      ]
    },
    {
      "id": "V1-Z-11",
      "name": "Jardim Paulista",
      "label": "",
      "labelSuggest": "Jardim Paulista, São Paulo, São Paulo",
      "tokens": [
        "jardim",
        "sao",
        "paulista",
        "paulo"
      ]
    },
    {
      "id": "V1-Z-15",
      "name": "Butantã",
      "label": "",
      "labelSuggest": "Butantã, São Paulo, São Paulo",
      "tokens": [
        "sao",
        "butanta",
        "paulo"
      ]
    },
    {
      "id": "V1-Z-25",
      "name": "Parelheiros",
      "label": "",
      "labelSuggest": "Parelheiros, São Paulo, São Paulo",
      "tokens": [
        "sao",
        "parelheiros",
        "paulo"
      ]
    },
    {
      "id": "V1-Z-29",
      "name": "Morumbi",
      "label": "",
      "labelSuggest": "Morumbi, São Paulo, São Paulo",
      "tokens": [
        "sao",
        "morumbi",
        "paulo"
      ]
    }
  ]
}

Complete field reference

PathTypeDescriptionExample
data array<object> Original Imovelweb location suggestion array. [{"id":"V1-B-265","name":"São Paulo","label":"provincia","labelSuggest":"São Paulo","tokens":["sao","paulo"]},{"id":"V1-C-109049","name":"Casa Branca","label":"departamento","labelSuggest":"Casa Branca, São Paulo","tokens":["sao","casa","branca","paulo"]},{"id":"V1-C-109668","name":"São Paulo","label":"departamento","labelSuggest":"São Paulo, São Paulo","tokens":["sao","paulo"]},{"id":"V1-C-109625","name":"Santo André","label":"departamento","labelSuggest":"Santo André, São Paulo","tokens":["andre","sao","santo","paulo"]},{"id":"V1-C-109025","name":"Campinas","label":"departamento","labelSuggest":"Campinas, São Paulo","tokens":["sao","campinas","paulo"]},{"id":"V1-Z-8","name":"Vila Olímpia","label":"","labelSuggest":"Vila Olímpia, São Paulo, São Paulo","tokens":["sao","olimpia","vila","paulo"]},{"id":"V1-Z-11","name":"Jardim Paulista","label":"","labelSuggest":"Jardim Paulista, São Paulo, São Paulo","tokens":["jardim","sao","paulista","paulo"]},{"id":"V1-Z-15","name":"Butantã","label":"","labelSuggest":"Butantã, São Paulo, São Paulo","tokens":["sao","butanta","paulo"]},{"id":"V1-Z-25","name":"Parelheiros","label":"","labelSuggest":"Parelheiros, São Paulo, São Paulo","tokens":["sao","parelheiros","paulo"]},{"id":"V1-Z-29","name":"Morumbi","label":"","labelSuggest":"Morumbi, São Paulo, São Paulo","tokens":["sao","morumbi","paulo"]}]
data[].id string Original location identifier. V1-B-265
data[].label string Original location category; may be empty. provincia
data[].labelSuggest string Full display name, including related locations. São Paulo
data[].name string Location name. São Paulo
data[].tokens array<string> Original terms used in the suggestion. ["sao","paulo"]
executionId string (uuid) Execution identifier. fc1ea885-9751-4652-a29d-03bc1d57fdb8
requestId string (uuid) Request identifier. 58b53d62-131a-4842-938b-9153d7928113

Errors and missing data

When supported by this operation, an entity not found upstream can return HTTP 200 with data: null and notFound: true. Check the documented response fields before interpreting an empty result. Source-specific behavior and exceptions are described above.

HTTP statusError codeMeaning
400INVALID_PAYLOADInvalid JSON or a request that violates the documented validation rules.
401UNAUTHORIZEDMissing authorization or an invalid API key or token.
402INSUFFICIENT_CREDITSThe account has insufficient credits for this operation.
403FORBIDDENThe account does not have access, or the API is temporarily disabled.
409EXECUTION_CONFLICTThe execution identifier conflicts with an incompatible execution state.
429RATE_LIMIT_EXCEEDED / TOO_MANY_INFLIGHT_REQUESTSA rate limit or simultaneous request limit was exceeded.
5xxUPSTREAM_TIMEOUT / UPSTREAM_HTTP_ERROR / WORKER_FUNCTION_ERRORAn upstream, worker or gateway failure. Failed requests follow the platform refund policy.

Other Imovelweb operations