{
  "openapi": "3.0.1",
  "info": {
    "title": "Zillow Scraper | Real Estate Listings, Rentals & Sold Homes",
    "description": "Get Zillow listings with price, address, coordinates, beds, baths, sqft, home type, Zestimate, days on Zillow, sold date, broker and photos. Search US cities, ZIPs, counties or states with filters, or paste search URLs. Rental buildings with rent range. Past the 820 cap, no login.",
    "version": "0.0",
    "x-build-id": "BZstriQcsyaQ8HG1P"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/genial_candlestand~zillow-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-genial_candlestand-zillow-search-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/genial_candlestand~zillow-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-genial_candlestand-zillow-search-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/genial_candlestand~zillow-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-genial_candlestand-zillow-search-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": {
          "locations": {
            "title": "Locations (city, ZIP, county, neighborhood, borough or state)",
            "type": "array",
            "description": "One place per line, e.g. \"Austin, TX\", \"10001\", \"Travis County, TX\", \"Capitol Hill, Seattle, WA\", \"Brooklyn, NY\" or \"Texas\". Add the state for best matching. Street addresses are not supported. Each location is one search and uses the filters below. Give Locations or Start URLs (or both).",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs (Zillow search pages)",
            "type": "array",
            "description": "Zillow search result URLs from your browser, e.g. https://www.zillow.com/austin-tx/, https://www.zillow.com/homes/for_sale/Boise,-ID_rb/ or a map search with ?searchQueryState=…. Each URL keeps its own listing type and filters; the filters of this form are not applied to it. Property pages (/homedetails/…) and building pages are not accepted.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "listingType": {
            "title": "Listing type",
            "enum": [
              "forSale",
              "forRent",
              "sold"
            ],
            "type": "string",
            "description": "For sale, for rent or recently sold. Applies to Locations only, not to Start URLs.",
            "default": "forSale"
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price in USD. For sale and sold: the list or sold price. For rent: the monthly rent. Must not be greater than Max price."
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price in USD. For sale and sold: the list or sold price. For rent: the monthly rent."
          },
          "minBeds": {
            "title": "Min bedrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "At least this many bedrooms. 0 = any."
          },
          "minBaths": {
            "title": "Min bathrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "number",
            "description": "At least this many bathrooms; halves allowed (1.5). 0 = any."
          },
          "minLivingArea": {
            "title": "Min living area (sqft)",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest interior living area in square feet. Must not be greater than Max living area."
          },
          "maxLivingArea": {
            "title": "Max living area (sqft)",
            "minimum": 0,
            "type": "integer",
            "description": "Largest interior living area in square feet."
          },
          "minYearBuilt": {
            "title": "Built in or after (year)",
            "minimum": 1700,
            "maximum": 2100,
            "type": "integer",
            "description": "Only homes built in this year or later, e.g. 2010. Must not be later than Built in or before."
          },
          "maxYearBuilt": {
            "title": "Built in or before (year)",
            "minimum": 1700,
            "maximum": 2100,
            "type": "integer",
            "description": "Only homes built in this year or earlier, e.g. 1990."
          },
          "homeTypes": {
            "title": "Home types",
            "type": "array",
            "description": "Only these home types; empty = all. Apartments: for rent only. Lots/land and Manufactured: for sale and sold only. A type that does not fit the listing type is dropped with a warning; chosen alone it is an input error.",
            "items": {
              "type": "string",
              "enum": [
                "houses",
                "townhomes",
                "condos",
                "multiFamily",
                "apartments",
                "lots",
                "manufactured"
              ],
              "enumTitles": [
                "Houses",
                "Townhomes",
                "Condos / co-ops",
                "Multi-family",
                "Apartments (rent only)",
                "Lots / land (sale and sold only)",
                "Manufactured (sale and sold only)"
              ]
            }
          },
          "maxDaysOnZillow": {
            "title": "Listed (or sold) within",
            "enum": [
              "any",
              "1",
              "7",
              "14",
              "30",
              "90",
              "6m",
              "12m",
              "24m",
              "36m"
            ],
            "type": "string",
            "description": "For sale and for rent: listed on Zillow within this time. Recently sold: sold within this time. \"1 day\" is not available for sold listings (input error).",
            "default": "any"
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "newest",
              "priceLowToHigh",
              "priceHighToLow",
              "bedrooms",
              "bathrooms",
              "livingArea"
            ],
            "type": "string",
            "description": "Order of results. Price sorting works for sale and sold only; for rent Zillow's default order is used with a warning. When a search is split into price bands, the order holds within each band.",
            "default": "relevance"
          },
          "splitLargeSearches": {
            "title": "Get more than 820 results per search",
            "type": "boolean",
            "description": "Zillow shows at most 820 listings per search (20 pages × 41). When on, a search with more results (and more requested) is split into price bands and merged without duplicates. Listings without a price may be missed in split searches. Off = at most 820 per search.",
            "default": true
          },
          "maxItemsPerSearch": {
            "title": "Max results per search",
            "minimum": 1,
            "type": "integer",
            "description": "Stop each location or start URL after this many listings, so one big area does not use up Max results. Empty = no per-search limit."
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Stop the whole run after this many listings across all searches. You pay per listing.",
            "default": 500
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Zillow blocks most datacenter IPs; keep the default US residential proxy.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}