{
  "openapi": "3.0.1",
  "info": {
    "title": "Zillow Scraper - Rentals, Homes for Sale, Sold & Price Drops",
    "description": "For investors, agents and researchers: Zillow homes for sale, rentals and recently sold by city, ZIP or neighborhood with price, beds, baths, sq ft, Zestimate, price cuts, days on Zillow, broker and photos. Watch mode returns only new listings and price drops. Export JSON, CSV or Excel.",
    "version": "0.1",
    "x-build-id": "t9xWBhMJCo9SAqhjr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neverempty~zillow-listings-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neverempty-zillow-listings-monitor",
        "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/neverempty~zillow-listings-monitor/runs": {
      "post": {
        "operationId": "runs-sync-neverempty-zillow-listings-monitor",
        "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/neverempty~zillow-listings-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-neverempty-zillow-listings-monitor",
        "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 code, neighborhood or Zillow search URL)",
            "type": "array",
            "description": "Where to search, one per line, the way you would type it into Zillow: Austin, TX or 90210 or Mission, San Francisco, CA. You can also paste the URL of a Zillow search page with your filters already set (for example https://www.zillow.com/chicago-il/rentals/); the URL then decides for sale, rent or sold. Up to 20 locations per run. Leave it empty to run the example: 20 homes for sale in Austin, TX.",
            "items": {
              "type": "string"
            }
          },
          "listingType": {
            "title": "Listing type",
            "enum": [
              "sale",
              "rent",
              "sold"
            ],
            "type": "string",
            "description": "For sale returns homes listed for sale now, with price, Zestimate and price cuts. For rent returns houses, apartments and apartment buildings with the monthly rent. Recently sold returns sold homes with the sold price and date (some states do not publish sold prices; those come back empty, not guessed).",
            "default": "sale"
          },
          "minPrice": {
            "title": "Price from (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price in US dollars. For rentals this is the monthly rent, for example 1500."
          },
          "maxPrice": {
            "title": "Price up to (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price in US dollars. For rentals this is the monthly rent, for example 3000."
          },
          "minBeds": {
            "title": "Bedrooms, at least",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Only homes with at least this many bedrooms, for example 3. 0 includes studios."
          },
          "minBaths": {
            "title": "Bathrooms, at least",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Only homes with at least this many bathrooms, for example 2."
          },
          "minLivingArea": {
            "title": "Living area from (sq ft)",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest interior size in square feet, for example 1500."
          },
          "maxLivingArea": {
            "title": "Living area up to (sq ft)",
            "minimum": 0,
            "type": "integer",
            "description": "Largest interior size in square feet, for example 3000."
          },
          "homeTypes": {
            "title": "Home types",
            "type": "array",
            "description": "Only these home types. Leave it empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "house",
                "townhouse",
                "condo",
                "multiFamily",
                "apartment",
                "manufactured",
                "land"
              ],
              "enumTitles": [
                "Houses",
                "Townhomes",
                "Condos and co-ops",
                "Multi-family",
                "Apartments",
                "Manufactured",
                "Lots and land"
              ]
            }
          },
          "daysOnZillow": {
            "title": "Listed (or sold) within",
            "enum": [
              "any",
              "1",
              "7",
              "14",
              "30",
              "90",
              "6m",
              "12m",
              "24m",
              "36m"
            ],
            "type": "string",
            "description": "Only listings that appeared on Zillow within this time. For Recently sold it is the time since the sale.",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "default",
              "newest",
              "priceLow",
              "priceHigh"
            ],
            "type": "string",
            "description": "The order Zillow lists the results in. With a maximum per search set, it decides which listings you get.",
            "default": "default"
          },
          "maxResultsPerSearch": {
            "title": "Max properties per location",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "How many properties to return for each location. Empty = 100. Zillow shows at most 820 per search; for more, this Actor splits the search into price ranges by itself, up to 5,000 per location. Each property is returned once per run, even if two locations overlap."
          },
          "monitoringMode": {
            "title": "Watch mode: only new listings, price drops and changes",
            "type": "boolean",
            "description": "For schedules. The first run returns the current listings marked first-check and remembers them. Each later run returns only properties that are new (changeType new), cheaper than last time (price-drop, with the previous price), changed status such as pending or sold (status-change), or no longer listed (no-longer-listed, after two complete runs without it). A run with no changes returns one free row that says so.",
            "default": false
          },
          "watchName": {
            "title": "Watch name",
            "type": "string",
            "description": "Optional. Give each scheduled task its own name so two watches of the same location keep separate memories."
          },
          "resetMonitoringState": {
            "title": "Start the watch over",
            "type": "boolean",
            "description": "Forget what this watch has already returned. The next run behaves like a first run.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}