{
  "openapi": "3.0.1",
  "info": {
    "title": "QuintoAndar Scraper 💰 $1/1K – Brazil Rentals & Sales",
    "description": "Scrape QuintoAndar rentals and homes for sale in São Paulo, Rio, BH, Curitiba and 80+ Brazilian cities: rent, total monthly cost, condo fee, IPTU, sale price, size, rooms, GPS, amenities, photos. Search by city, neighbourhood or URL. No 1,000-result cap. No login.",
    "version": "0.0",
    "x-build-id": "p4fNTVFzXEKFs2cPZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lukass~quintoandar-mp-actor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lukass-quintoandar-mp-actor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/lukass~quintoandar-mp-actor/runs": {
      "post": {
        "operationId": "runs-sync-lukass-quintoandar-mp-actor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/lukass~quintoandar-mp-actor/run-sync": {
      "post": {
        "operationId": "run-sync-lukass-quintoandar-mp-actor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "startUrls": {
            "title": "🔗 quintoandar.com.br URLs (easiest way)",
            "type": "array",
            "description": "Search on quintoandar.com.br, then paste the URL. Works with search pages (/alugar/imovel/sao-paulo-sp-brasil, /comprar/imovel/pinheiros-sao-paulo-sp-brasil/apartamento/2-quartos) and single listings (/imovel/895834302). Rent/sale, property type, bedrooms, furnished, pets and near-subway are read from the URL; the filters below fill in the rest.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "City or \"Neighbourhood, City\", one per line, e.g. São Paulo, Pinheiros, São Paulo or Copacabana, Rio de Janeiro. QuintoAndar operates in ~90 Brazilian cities (São Paulo, Rio de Janeiro, Belo Horizonte, Porto Alegre, Brasília, Curitiba, Campinas, …).",
            "items": {
              "type": "string"
            }
          },
          "operation": {
            "title": "Rent or buy",
            "enum": [
              "rent",
              "sale"
            ],
            "type": "string",
            "description": "Used for locations. Pasted URLs keep their own (alugar/comprar).",
            "default": "rent"
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Leave empty for all types",
            "items": {
              "type": "string",
              "enum": [
                "apartment",
                "house",
                "studio",
                "houseCondo"
              ],
              "enumTitles": [
                "Apartment",
                "House",
                "Studio / kitnet",
                "House in a gated condominium"
              ]
            },
            "default": []
          },
          "minPrice": {
            "title": "Minimum price",
            "type": "integer",
            "description": "Monthly rent for rentals, asking price for sales"
          },
          "maxPrice": {
            "title": "Maximum price",
            "type": "integer",
            "description": "Monthly rent for rentals, asking price for sales"
          },
          "rentPriceType": {
            "title": "Rental price filter applies to",
            "enum": [
              "rent",
              "total"
            ],
            "type": "string",
            "description": "Bare rent, or the total monthly cost (rent + condo fee + IPTU + insurance + fees) - QuintoAndar offers both",
            "default": "rent"
          },
          "maxCondoIptu": {
            "title": "Maximum condo fee + IPTU",
            "type": "integer",
            "description": "Highest monthly condo fee plus IPTU (property tax) a listing may have"
          },
          "minArea": {
            "title": "Minimum area",
            "type": "integer",
            "description": "Smallest usable area a listing may have, e.g. 50"
          },
          "maxArea": {
            "title": "Maximum area",
            "type": "integer",
            "description": "Largest usable area a listing may have, e.g. 120"
          },
          "minBedrooms": {
            "title": "Minimum bedrooms",
            "type": "integer",
            "description": "Fewest bedrooms a listing may have"
          },
          "maxBedrooms": {
            "title": "Maximum bedrooms",
            "type": "integer",
            "description": "Most bedrooms a listing may have"
          },
          "minBathrooms": {
            "title": "Minimum bathrooms",
            "type": "integer",
            "description": "Fewest bathrooms a listing may have"
          },
          "minSuites": {
            "title": "Minimum suites",
            "type": "integer",
            "description": "Fewest suites (bedrooms with their own bathroom) a listing may have"
          },
          "minParkingSpaces": {
            "title": "Minimum parking spaces",
            "type": "integer",
            "description": "Fewest parking spaces a listing may have"
          },
          "furnished": {
            "title": "Furnished",
            "type": "boolean",
            "description": "Checked: furnished only. Unchecked: unfurnished only. Leave unset for both."
          },
          "petsAllowed": {
            "title": "Pets allowed",
            "type": "boolean",
            "description": "Checked: only listings that accept pets. Leave unset for all."
          },
          "nearSubway": {
            "title": "Near the metro",
            "type": "boolean",
            "description": "Checked: only listings near a metro station. Leave unset for all."
          },
          "publishedWithinDays": {
            "title": "Published in the last N days",
            "type": "integer",
            "description": "e.g. 7 for listings (re)published during the last week"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "lowestPrice",
              "highestPrice"
            ],
            "type": "string",
            "description": "Order within each search. Large searches are split into map areas, so the order holds per area, not across the whole dataset.",
            "default": "newest"
          },
          "fetchDetails": {
            "title": "Fetch listing details",
            "type": "boolean",
            "description": "Open every listing page for the full description, ZIP code, building name and number, floor range, construction year, publication dates and nearby places. One extra request per listing.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum listings",
            "type": "integer",
            "description": "Stop after this many listings. Leave empty for everything."
          },
          "maxSplitDepth": {
            "title": "Map split depth",
            "minimum": 0,
            "maximum": 15,
            "type": "integer",
            "description": "QuintoAndar returns at most 1000 listings per search, so bigger searches are split into map quadrants, recursively. 8 levels covers the largest cities.",
            "default": 8
          },
          "proxy": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy is recommended. The API has shown no bot protection, so the default group is enough; switch to Residential (BR) if requests start failing.",
            "default": {
              "useApifyProxy": true
            }
          },
          "debugLog": {
            "title": "Debug log",
            "type": "boolean",
            "description": "Log every request the Actor makes - useful when a search returns nothing",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}