{
  "openapi": "3.0.1",
  "info": {
    "title": "Zillow Scraper — Property Listings, Filters & Addresses",
    "description": "Scrape Zillow by city, ZIP, address or URL. Filter by price, beds, size and type, sort, and export up to 40 fields: price, Zestimate, price and tax history. Gets past the 820-listing search cap.",
    "version": "1.1",
    "x-build-id": "I0htVsSDfUs47hWAo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/khadinakbar~zillow-all-in-one-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-khadinakbar-zillow-all-in-one-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/khadinakbar~zillow-all-in-one-scraper/runs": {
      "post": {
        "operationId": "runs-sync-khadinakbar-zillow-all-in-one-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/khadinakbar~zillow-all-in-one-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-khadinakbar-zillow-all-in-one-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": {
          "searchQuery": {
            "title": "Search Query",
            "type": "string",
            "description": "City, neighborhood or area, for example 'Austin, TX' or 'Denver, CO'. Use for a market search. For exact homes use addresses, zpids or startUrls instead."
          },
          "zipCodes": {
            "title": "ZIP Codes",
            "type": "array",
            "description": "Five-digit ZIP codes to search, one per line, for example 78701. Each ZIP is searched separately.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "addresses": {
            "title": "Street addresses",
            "type": "array",
            "description": "Exact property addresses, one per line, for example '12703 Timberside Dr, Austin, TX 78727'. Each address returns one full property record (or an enriched one if you choose that depth).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "zpids": {
            "title": "Zillow Property IDs (ZPIDs)",
            "type": "array",
            "description": "Use this field when the user provides Zillow property IDs (numeric, e.g. ['12345678', '87654321']). The actor builds the detail URL from each ZPID automatically. Great for CRM enrichment workflows.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Direct Zillow URLs",
            "type": "array",
            "description": "Zillow URLs. A property page (.../homedetails/...) returns that property. A Zillow search or map URL runs as a search, including the filters already in the URL. Do not use this for plain locations; use searchQuery.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "outputDepth": {
            "title": "Output depth",
            "enum": [
              "auto",
              "cards",
              "details",
              "enriched"
            ],
            "type": "string",
            "description": "cards = fast listing cards from search results (price, beds, baths, size, photo, status, coordinates), the cheapest option. details = the full property page (description, price and tax history, Zestimate, features, photos). enriched = details plus listing agent name and phone, walk, transit and bike scores, nearby schools with ratings, and tax assessments. auto = cards for searches, details for addresses, IDs and property URLs.",
            "default": "auto"
          },
          "listingType": {
            "title": "Listing Type",
            "enum": [
              "FOR_SALE",
              "FOR_RENT",
              "RECENTLY_SOLD"
            ],
            "type": "string",
            "description": "Filter listings by sale status. FOR_SALE = active listings on market. FOR_RENT = rental listings. RECENTLY_SOLD = homes sold in the last 90 days (great for comps and market analysis).",
            "default": "FOR_SALE"
          },
          "propertyTypes": {
            "title": "Property Types (optional filter)",
            "type": "array",
            "description": "Only these types, one per line: SINGLE_FAMILY, CONDO, TOWNHOUSE, MULTI_FAMILY, LAND, APARTMENT, MANUFACTURED. Leave empty for all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min Price ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum listing price in USD. Leave empty for no minimum."
          },
          "maxPrice": {
            "title": "Max Price ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum listing price in USD. Leave empty for no maximum."
          },
          "minBeds": {
            "title": "Min Bedrooms",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Minimum number of bedrooms. Leave empty for no minimum."
          },
          "minBaths": {
            "title": "Min Bathrooms",
            "pattern": "^\\d+(\\.\\d)?$",
            "type": "string",
            "description": "Minimum number of bathrooms. Leave empty for no minimum."
          },
          "minSqft": {
            "title": "Min size (sq ft)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum living area in square feet."
          },
          "maxSqft": {
            "title": "Max size (sq ft)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum living area in square feet."
          },
          "minYearBuilt": {
            "title": "Built after (year)",
            "minimum": 1700,
            "maximum": 2100,
            "type": "integer",
            "description": "Earliest year built, for example 1990."
          },
          "maxYearBuilt": {
            "title": "Built before (year)",
            "minimum": 1700,
            "maximum": 2100,
            "type": "integer",
            "description": "Latest year built, for example 2020."
          },
          "maxHoa": {
            "title": "Max HOA fee ($/month)",
            "minimum": 0,
            "type": "integer",
            "description": "Only homes with a monthly HOA fee at or below this amount. Use 0 for no HOA."
          },
          "daysOnZillow": {
            "title": "Days on Zillow",
            "enum": [
              "any",
              "1",
              "7",
              "14",
              "30",
              "90",
              "6m",
              "12m",
              "24m",
              "36m"
            ],
            "type": "string",
            "description": "Only listings added within this many days (for sold searches, sold within this many days).",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "newest",
              "priceLow",
              "priceHigh",
              "size",
              "bedrooms",
              "bathrooms",
              "lotSize",
              "zestimate"
            ],
            "type": "string",
            "description": "Order of results. Larger searches that need price splitting come back in ascending price order instead.",
            "default": "relevance"
          },
          "maxResults": {
            "title": "Max Results",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Maximum rows to save. One row = one charged event; see Pricing for the price per row type. Zillow caps one search at about 820 cards, so for larger runs the Actor splits the search by price automatically. Set 10 for a quick test.",
            "default": 50
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Optional proxy settings. By default the Actor reads Zillow pages through its own managed routes and falls back to US residential proxy when needed (billed as Apify platform usage). A custom proxy group or proxy URL list you set here is tried before the residential fallback.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}