{
  "openapi": "3.0.1",
  "info": {
    "title": "QuintoAndar Scraper",
    "description": "[💰$2 / 1K] ⚡ Fast QuintoAndar scraper for Brazil rentals and homes for sale. No login, no API key. Search by URL or location with filters and get rent, sale price, condo fee, IPTU, total cost, area, rooms, address, GPS, amenities, photos and full description.",
    "version": "1.0",
    "x-build-id": "n4EbhiICc58cbnGj5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jooah-code~quintoandar-com-br-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jooah-code-quintoandar-com-br-scraper",
        "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/jooah-code~quintoandar-com-br-scraper/runs": {
      "post": {
        "operationId": "runs-sync-jooah-code-quintoandar-com-br-scraper",
        "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/jooah-code~quintoandar-com-br-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-jooah-code-quintoandar-com-br-scraper",
        "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": "Start URLs",
            "type": "array",
            "description": "QuintoAndar search URLs (rent or buy, with any filters set on the site) or listing URLs.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchQueries": {
            "title": "Locations",
            "type": "array",
            "description": "Locations to search, for example \"São Paulo\", \"Pinheiros, São Paulo\" or \"Copacabana, Rio de Janeiro\". Each location is scraped separately with the filters below.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Maximum number of results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of listings to scrape per start URL or location. Use 0 for no limit (the site shows up to 1,000 listings per search).",
            "default": 5
          },
          "transactionType": {
            "title": "Rent or buy",
            "enum": [
              "rent",
              "sale"
            ],
            "type": "string",
            "description": "Search rentals or properties for sale. Applies to locations only.",
            "default": "rent"
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Only these property types. Leave empty for all. Applies to locations only.",
            "items": {
              "type": "string",
              "enum": [
                "apartment",
                "house",
                "studio",
                "condoHouse"
              ],
              "enumTitles": [
                "Apartment",
                "House",
                "Studio / kitnet",
                "House in a gated community"
              ]
            }
          },
          "minBedrooms": {
            "title": "Minimum bedrooms",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "At least this many bedrooms (1-4). Applies to locations only."
          },
          "minBathrooms": {
            "title": "Minimum bathrooms",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "At least this many bathrooms (1-4). Applies to locations only."
          },
          "minParkingSpaces": {
            "title": "Minimum parking spaces",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "At least this many parking spaces (1-3). Applies to locations only."
          },
          "minSuites": {
            "title": "Minimum suites",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "At least this many suites (1-4). Applies to locations only."
          },
          "minPrice": {
            "title": "Minimum price (BRL)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum monthly rent for rentals or minimum price for sales, in BRL. Applies to locations only."
          },
          "maxPrice": {
            "title": "Maximum price (BRL)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum monthly rent for rentals or maximum price for sales, in BRL. Applies to locations only."
          },
          "minArea": {
            "title": "Minimum area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum floor area in square meters. Applies to locations only."
          },
          "maxArea": {
            "title": "Maximum area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum floor area in square meters. Applies to locations only."
          },
          "furnished": {
            "title": "Furnished",
            "enum": [
              "any",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Furnished or unfurnished properties only. Applies to locations only.",
            "default": "any"
          },
          "petsAllowed": {
            "title": "Pets allowed",
            "enum": [
              "any",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Properties that accept pets, or that do not. Applies to locations only.",
            "default": "any"
          },
          "nearSubway": {
            "title": "Near the subway",
            "enum": [
              "any",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Properties near a subway station, or not. Applies to locations only.",
            "default": "any"
          },
          "availability": {
            "title": "Availability (rentals)",
            "enum": [
              "any",
              "immediate",
              "soon"
            ],
            "type": "string",
            "description": "Rentals available now or soon. Only for rentals. Applies to locations only.",
            "default": "any"
          },
          "publishedWithinDays": {
            "title": "Published within",
            "enum": [
              "1",
              "7",
              "15",
              "30",
              "60",
              "180"
            ],
            "type": "string",
            "description": "Only listings published in the last N days. Applies to locations only."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "newest",
              "lowestPrice",
              "highestPrice"
            ],
            "type": "string",
            "description": "Order of the results. Applies to locations only; start URLs use the site default order.",
            "default": "relevance"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}