{
  "openapi": "3.0.1",
  "info": {
    "title": "Zillow Search Scraper",
    "description": "Zillow Search Scraper SD - Zillow Search Scraper is a real estate data tool that extracts every listing of a Zillow search for sale, for rent or sold, with Zillow's own filters (price, beds, baths, size, year, home type, days on Zillow, keywords) and a price split past the 1,000 cap.",
    "version": "1.0",
    "x-build-id": "hGT6lcVsrZcj4gWmm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neuro-scraper~zillow-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neuro-scraper-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/neuro-scraper~zillow-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neuro-scraper-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/neuro-scraper~zillow-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neuro-scraper-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": {
          "searchTerms": {
            "title": "Locations",
            "type": "array",
            "description": "One per line: a city and state (Austin, TX), a ZIP code (78704), a county or a neighborhood - anything you would type into Zillow's search box. Each line is one search.",
            "items": {
              "type": "string"
            }
          },
          "searchUrls": {
            "title": "Zillow search URLs",
            "type": "array",
            "description": "Search URLs copied from Zillow after you set filters or moved the map, e.g. https://www.zillow.com/austin-tx/rentals/. Each URL is one search; the filters below are added on top.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "zipCodes": {
            "title": "ZIP codes",
            "type": "array",
            "description": "Optional list of US ZIP codes, one search each (e.g. 90210). Same as putting them in Locations.",
            "items": {
              "type": "string"
            }
          },
          "propertyUrls": {
            "title": "Property URLs, ZPIDs or addresses",
            "type": "array",
            "description": "Single listings: Zillow listing links (…/homedetails/…_zpid/), ZPIDs or full street addresses. One row per listing with the full listing record.",
            "items": {
              "type": "string"
            }
          },
          "zpids": {
            "title": "ZPIDs",
            "type": "array",
            "description": "Zillow property ids (the number before _zpid in a listing link).",
            "items": {
              "type": "string"
            }
          },
          "addresses": {
            "title": "Addresses",
            "type": "array",
            "description": "Full street addresses (e.g. '18 Zelma Dr, Greenville, SC 29617'). Each address that Zillow resolves to one listing gives one row.",
            "items": {
              "type": "string"
            }
          },
          "listingType": {
            "title": "Listing type",
            "enum": [
              "forSale",
              "forRent",
              "sold"
            ],
            "type": "string",
            "description": "Which Zillow tab to search for the locations above. Search URLs keep their own tab.",
            "default": "forSale"
          },
          "maxItems": {
            "title": "Max listings per search",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stops each search (each location / URL) after this many listings: 20 with 2 locations = 40. Zillow serves 41 per page and about 1,000 per search; choose 'Split by price' below to go further.",
            "default": 50
          },
          "extractionMethod": {
            "title": "Extraction method",
            "enum": [
              "PAGINATION",
              "SPLIT_BY_PRICE"
            ],
            "type": "string",
            "description": "Split by price cuts a search with more than 800 results into price ranges until each range is small enough, pages through every range and removes duplicates. Use it with a high max listings value.",
            "default": "PAGINATION"
          },
          "priceMin": {
            "title": "Min price",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest list price (USD; monthly rent for rentals), e.g. 300000."
          },
          "priceMax": {
            "title": "Max price",
            "minimum": 0,
            "type": "integer",
            "description": "Highest list price (USD; monthly rent for rentals), e.g. 450000."
          },
          "bedsMin": {
            "title": "Min bedrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "e.g. 3 = 3 or more bedrooms."
          },
          "bedsMax": {
            "title": "Max bedrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "e.g. 4 = at most 4 bedrooms."
          },
          "bathsMin": {
            "title": "Min bathrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "e.g. 2 = 2 or more bathrooms."
          },
          "sqftMin": {
            "title": "Min square feet",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest living area in square feet, e.g. 1500."
          },
          "sqftMax": {
            "title": "Max square feet",
            "minimum": 0,
            "type": "integer",
            "description": "Largest living area in square feet, e.g. 3000."
          },
          "lotSizeMin": {
            "title": "Min lot size (sqft)",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest lot in square feet (1 acre = 43,560 sqft)."
          },
          "lotSizeMax": {
            "title": "Max lot size (sqft)",
            "minimum": 0,
            "type": "integer",
            "description": "Largest lot in square feet."
          },
          "yearBuiltMin": {
            "title": "Built in or after",
            "minimum": 1700,
            "maximum": 2100,
            "type": "integer",
            "description": "e.g. 2000."
          },
          "yearBuiltMax": {
            "title": "Built in or before",
            "minimum": 1700,
            "maximum": 2100,
            "type": "integer",
            "description": "e.g. 2015."
          },
          "hoaMax": {
            "title": "Max HOA fee per month",
            "minimum": 0,
            "type": "integer",
            "description": "e.g. 200. 0 = no HOA fee."
          },
          "parkingSpotsMin": {
            "title": "Min parking spots",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "e.g. 2."
          },
          "daysOnZillow": {
            "title": "Days on Zillow",
            "enum": [
              "any",
              "1",
              "7",
              "14",
              "30",
              "90",
              "6m",
              "12m",
              "24m",
              "36m"
            ],
            "type": "string",
            "description": "Only listings that went on Zillow within this time (for sold searches: sold within this time).",
            "default": "any"
          },
          "homeTypes": {
            "title": "Home types",
            "type": "array",
            "description": "Keep only these home types. Empty = all types.",
            "items": {
              "type": "string",
              "enum": [
                "houses",
                "townhomes",
                "multiFamily",
                "condos",
                "lots",
                "apartments",
                "manufactured"
              ],
              "enumTitles": [
                "Houses",
                "Townhomes",
                "Multi-family",
                "Condos / co-ops",
                "Lots / land",
                "Apartments",
                "Manufactured"
              ]
            },
            "default": []
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "globalrelevanceex",
              "days",
              "pricea",
              "priced",
              "beds",
              "baths",
              "size",
              "lot",
              "zest",
              "zesta",
              "paymenta",
              "paymentd",
              "mostrecentchange"
            ],
            "type": "string",
            "description": "Order of the results (Zillow's own sort options). Empty = Zillow's default."
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Words that must appear in the listing, e.g. pool, fixer upper, waterfront."
          },
          "singleStoryOnly": {
            "title": "Single-story only",
            "type": "boolean",
            "description": "Only single-story homes.",
            "default": false
          },
          "onlyWithPhotos": {
            "title": "Only with photos",
            "type": "boolean",
            "description": "Skip listings without photos.",
            "default": false
          },
          "onlyPriceReduction": {
            "title": "Price reduced",
            "type": "boolean",
            "description": "Only listings with a price cut.",
            "default": false
          },
          "openHouseOnly": {
            "title": "Open house",
            "type": "boolean",
            "description": "Only listings with an open house.",
            "default": false
          },
          "has3DTour": {
            "title": "3D tour",
            "type": "boolean",
            "description": "Only listings with a 3D home tour.",
            "default": false
          },
          "hasPool": {
            "title": "Pool",
            "type": "boolean",
            "description": "Must have a pool.",
            "default": false
          },
          "hasGarage": {
            "title": "Garage",
            "type": "boolean",
            "description": "Must have a garage.",
            "default": false
          },
          "hasAirConditioning": {
            "title": "Air conditioning",
            "type": "boolean",
            "description": "Must have A/C.",
            "default": false
          },
          "hasBasement": {
            "title": "Basement",
            "type": "boolean",
            "description": "Must have a basement.",
            "default": false
          },
          "waterfront": {
            "title": "Waterfront",
            "type": "boolean",
            "description": "Only waterfront homes.",
            "default": false
          },
          "forSaleByOwnerOnly": {
            "title": "For sale by owner only",
            "type": "boolean",
            "description": "Only owner-posted (FSBO) listings (for-sale searches).",
            "default": false
          },
          "forSaleByAgent": {
            "title": "Listings by agent",
            "type": "boolean",
            "description": "Include (true) or exclude (false) agent-listed homes in the search. Leave unset to keep Zillow's default for this listing type."
          },
          "forSaleByOwner": {
            "title": "Listings by owner (FSBO)",
            "type": "boolean",
            "description": "Include (true) or exclude (false) for-sale-by-owner homes in the search. Leave unset to keep Zillow's default for this listing type."
          },
          "newConstruction": {
            "title": "New construction",
            "type": "boolean",
            "description": "Include (true) or exclude (false) new-construction homes in the search. Leave unset to keep Zillow's default for this listing type."
          },
          "foreclosure": {
            "title": "Foreclosures",
            "type": "boolean",
            "description": "Include (true) or exclude (false) foreclosure listings in the search. Leave unset to keep Zillow's default for this listing type."
          },
          "auction": {
            "title": "Auctions",
            "type": "boolean",
            "description": "Include (true) or exclude (false) auction listings in the search. Leave unset to keep Zillow's default for this listing type."
          },
          "comingSoon": {
            "title": "Coming soon",
            "type": "boolean",
            "description": "Include (true) or exclude (false) coming-soon listings in the search. Leave unset to keep Zillow's default for this listing type."
          },
          "preForeclosure": {
            "title": "Pre-foreclosures",
            "type": "boolean",
            "description": "Include (true) or exclude (false) pre-foreclosure (pre-market) homes in the search. Leave unset to keep Zillow's default for this listing type."
          },
          "foreclosed": {
            "title": "Foreclosed (bank owned, pre-market)",
            "type": "boolean",
            "description": "Include (true) or exclude (false) foreclosed pre-market homes in the search. Leave unset to keep Zillow's default for this listing type."
          },
          "distressedOnly": {
            "title": "Distressed properties only",
            "type": "boolean",
            "description": "Only foreclosures, auctions, pre-foreclosures and foreclosed homes (all other listing categories off).",
            "default": false
          },
          "includePending": {
            "title": "Include pending / under contract",
            "type": "boolean",
            "description": "Also include listings that are pending or accepting backup offers.",
            "default": false
          },
          "features": {
            "title": "Must-have features",
            "type": "array",
            "description": "Shortcut list: pool, airConditioning, garage, waterfront, singleStory, basement, 3dTour, openHouse, petsAllowed, furnished, inUnitLaundry, photos, priceReduced.",
            "items": {
              "type": "string"
            }
          },
          "includeNearbyHomes": {
            "title": "Include nearby homes",
            "type": "boolean",
            "description": "Adds nearbyHomes (zpid, address, price, beds, baths, area, status of homes near each listing) when the listing page publishes them. Needs includeDetails.",
            "default": false
          },
          "includeRawData": {
            "title": "Include raw Zillow data",
            "type": "boolean",
            "description": "Adds rawData with the unprocessed search card and listing record (contact data removed).",
            "default": false
          },
          "flatOutput": {
            "title": "Flattened output",
            "type": "boolean",
            "description": "Writes nested objects as flat columns (address.city, address.zipcode ...) - handy for CSV / Excel.",
            "default": false
          },
          "monitoringMode": {
            "title": "Only new listings since the last run",
            "type": "boolean",
            "description": "Remembers the ZPIDs output by earlier monitoring runs and outputs only new listings.",
            "default": false
          },
          "monitoringStoreName": {
            "title": "Monitoring store name",
            "type": "string",
            "description": "Name of the key-value store that keeps the monitoring state (one name per watch list).",
            "default": "zillow-search-monitoring"
          },
          "petsAllowed": {
            "title": "Pets allowed (rentals)",
            "type": "boolean",
            "description": "Rentals that allow pets.",
            "default": false
          },
          "furnished": {
            "title": "Furnished (rentals)",
            "type": "boolean",
            "description": "Furnished rentals only.",
            "default": false
          },
          "inUnitLaundry": {
            "title": "In-unit laundry (rentals)",
            "type": "boolean",
            "description": "Rentals with in-unit laundry.",
            "default": false
          },
          "includeDetails": {
            "title": "Include listing details",
            "type": "boolean",
            "description": "On (default): opens every listing for the full record - description, year built, MLS id, facts and features, county, time zone, price history and all photos (one extra request per listing). Off: search-card fields only, about 3x faster.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Searches in parallel",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "How many locations / URLs are searched at the same time, each on its own IP.",
            "default": 1
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "US residential proxies (the default) are recommended for Zillow. The Actor switches to a new IP when a request is blocked.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          },
          "debugSaveRaw": {
            "title": "Debug: save the first raw listing record",
            "type": "boolean",
            "description": "Internal check: stores the first listing record (contact data removed) in the key-value store as DEBUG_RAW.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}