{
  "openapi": "3.0.1",
  "info": {
    "title": "Zillow For-Sale, Rent & Sold Listing Extractor",
    "description": "Search Zillow by city, state or ZIP for active, rental or recently sold listings, with pricing, Zestimate, agent, school, tax and price history for each property.",
    "version": "1.1",
    "x-build-id": "tg6asc79E8g9cCEKU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nimbryxo-studio~zillow-for-sale-rent-and-sold-listing-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nimbryxo-studio-zillow-for-sale-rent-and-sold-listing-extractor",
        "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/nimbryxo-studio~zillow-for-sale-rent-and-sold-listing-extractor/runs": {
      "post": {
        "operationId": "runs-sync-nimbryxo-studio-zillow-for-sale-rent-and-sold-listing-extractor",
        "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/nimbryxo-studio~zillow-for-sale-rent-and-sold-listing-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-nimbryxo-studio-zillow-for-sale-rent-and-sold-listing-extractor",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "search": {
            "title": "Search Location",
            "type": "string",
            "description": "City, ZIP, neighborhood, county or state to search (for example 'Houston, TX' or '77002')."
          },
          "mode": {
            "title": "Search Mode",
            "enum": [
              "BUY",
              "RENT",
              "SOLD"
            ],
            "type": "string",
            "description": "Search active for-sale listings, rentals, or recently sold listings.",
            "default": "BUY"
          },
          "maxItems": {
            "title": "Maximum Properties",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of records for the whole run across all sources (1-5000).",
            "default": 50
          },
          "endPage": {
            "title": "Maximum Pages",
            "minimum": 1,
            "maximum": 24,
            "type": "integer",
            "description": "Maximum search result pages per search task (1-24). Zillow returns up to 41 listings per page.",
            "default": 5
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Property detail URLs, /apartments/ building URLs, or Zillow search page URLs. Search URLs keep their own filters and mode.",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "title": "URL",
                  "type": "string",
                  "description": "Page URL to scrape."
                }
              }
            },
            "default": []
          },
          "zpids": {
            "title": "ZPIDs",
            "type": "array",
            "description": "Zillow property IDs or URLs containing _zpid. Each ZPID is resolved to its canonical detail page.",
            "items": {
              "type": "string"
            }
          },
          "addresses": {
            "title": "Street Addresses",
            "type": "array",
            "description": "Full street addresses to resolve to Zillow property pages, for example '1306 Castle Ct, Houston, TX 77006'.",
            "items": {
              "type": "string"
            }
          },
          "priceMin": {
            "title": "Minimum Price",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Minimum listing price in US dollars."
          },
          "priceMax": {
            "title": "Maximum Price",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Maximum listing price in US dollars."
          },
          "bedsMin": {
            "title": "Minimum Bedrooms",
            "enum": [
              "any",
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "Minimum number of bedrooms.",
            "default": "any"
          },
          "bathsMin": {
            "title": "Minimum Bathrooms",
            "enum": [
              "any",
              "1",
              "1.5",
              "2",
              "2.5",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "Minimum number of bathrooms.",
            "default": "any"
          },
          "sqftMin": {
            "title": "Minimum Square Feet",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Minimum living area in square feet."
          },
          "sqftMax": {
            "title": "Maximum Square Feet",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum living area in square feet."
          },
          "lotSizeMin": {
            "title": "Minimum Lot Size",
            "enum": [
              "any",
              "2000",
              "5000",
              "10890",
              "21780",
              "43560",
              "87120"
            ],
            "type": "string",
            "description": "Minimum lot size in square feet.",
            "default": "any"
          },
          "lotSizeMax": {
            "title": "Maximum Lot Size",
            "enum": [
              "any",
              "2000",
              "5000",
              "10890",
              "21780",
              "43560",
              "87120"
            ],
            "type": "string",
            "description": "Maximum lot size in square feet.",
            "default": "any"
          },
          "yearBuiltMin": {
            "title": "Built After",
            "minimum": 1800,
            "maximum": 2026,
            "type": "integer",
            "description": "Earliest construction year."
          },
          "yearBuiltMax": {
            "title": "Built Before",
            "minimum": 1800,
            "maximum": 2026,
            "type": "integer",
            "description": "Latest construction year."
          },
          "hoaMax": {
            "title": "Maximum HOA Fee",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum monthly HOA fee in US dollars."
          },
          "parkingSpotsMin": {
            "title": "Minimum Parking Spots",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Minimum number of parking spots (1-10)."
          },
          "propertyTypes": {
            "title": "Property Types",
            "type": "array",
            "description": "Limit results to selected property types. Leave empty for all homes.",
            "items": {
              "type": "string",
              "enum": [
                "house",
                "condo",
                "townhouse",
                "multiFamily",
                "manufactured",
                "lotLand",
                "apartment"
              ],
              "enumTitles": [
                "House",
                "Condo",
                "Townhouse",
                "Multi-family",
                "Manufactured",
                "Lot / Land",
                "Apartment"
              ]
            }
          },
          "daysOnZillow": {
            "title": "Days on Zillow",
            "enum": [
              "any",
              "1",
              "7",
              "14",
              "30",
              "90",
              "180",
              "365",
              "730",
              "1095"
            ],
            "type": "string",
            "description": "Only include listings added within this period.",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "relevance",
              "priceLow",
              "priceHigh",
              "newest",
              "zestimate",
              "zestimateLow"
            ],
            "type": "string",
            "description": "Result order. Relevance uses Zillow's priority order in RENT mode.",
            "default": "relevance"
          },
          "fsboOnly": {
            "title": "For Sale By Owner Only",
            "type": "boolean",
            "description": "Only include for-sale-by-owner listings.",
            "default": false
          },
          "foreclosureOnly": {
            "title": "Foreclosure Only",
            "type": "boolean",
            "description": "Only include foreclosure listings.",
            "default": false
          },
          "auctionOnly": {
            "title": "Auction Only",
            "type": "boolean",
            "description": "Only include auction listings.",
            "default": false
          },
          "newConstructionOnly": {
            "title": "New Construction Only",
            "type": "boolean",
            "description": "Only include new-construction listings.",
            "default": false
          },
          "includePending": {
            "title": "Include Pending Listings",
            "type": "boolean",
            "description": "Add pending and under-contract listings to active results.",
            "default": false
          },
          "openHouseOnly": {
            "title": "Open House Only",
            "type": "boolean",
            "description": "Only include listings with an open house.",
            "default": false
          },
          "priceReducedOnly": {
            "title": "Price Reduced Only",
            "type": "boolean",
            "description": "Only include listings with a price reduction.",
            "default": false
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Free-text keyword to match in the listing, for example 'pool'."
          },
          "amenities": {
            "title": "Amenities",
            "type": "array",
            "description": "Only include listings with the selected amenities.",
            "items": {
              "type": "string",
              "enum": [
                "pool",
                "garage",
                "airConditioning",
                "waterfront",
                "cityView",
                "threeDHome",
                "age55Plus",
                "singleStory",
                "basementFinished",
                "basementUnfinished",
                "waterView",
                "mountainView",
                "parkView"
              ],
              "enumTitles": [
                "Pool",
                "Garage",
                "Air conditioning",
                "Waterfront",
                "City view",
                "3D home",
                "55+ community",
                "Single story",
                "Finished basement",
                "Unfinished basement",
                "Water view",
                "Mountain view",
                "Park view"
              ]
            }
          },
          "rentalFilters": {
            "title": "Rental Filters",
            "type": "array",
            "description": "Rent-only filters. Ignored with a status note outside RENT mode.",
            "items": {
              "type": "string",
              "enum": [
                "pets",
                "furnished",
                "parking",
                "inUnitLaundry",
                "shortTerm",
                "noPets",
                "byOwner",
                "incomeRestricted",
                "studentHousing",
                "onlyRentalSeniorHousingType",
                "hasFitnessCenter",
                "hasDishwasher",
                "onlyRentalInstantTourAvailable",
                "hasAcceptingBackupOffers"
              ],
              "enumTitles": [
                "Pets allowed",
                "Furnished",
                "Parking",
                "In-unit laundry",
                "Short-term lease",
                "No pets",
                "By owner",
                "Income restricted",
                "Student housing",
                "Senior housing",
                "Fitness center",
                "Dishwasher",
                "Instant tour available",
                "Accepting backup offers"
              ]
            }
          },
          "scrapeDetails": {
            "title": "Scrape Full Details",
            "type": "boolean",
            "description": "Fetch each search result's detail page for description, photos, MLS, tax, open house and building floor plans. Explicit URLs, ZPIDs and addresses are always enriched.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}