{
  "openapi": "3.0.1",
  "info": {
    "title": "Zillow Agent Scraper — Realtor Leads, Phones & Reviews",
    "description": "Find real estate agent leads on Zillow by city, ZIP, specialty, language or name. Phones, brokerage, license, reviews & sales stats. No login.",
    "version": "0.1",
    "x-build-id": "OxiTNp42QK0vFNWjl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapeverse~zillow-agents-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapeverse-zillow-agents-leads",
        "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/scrapeverse~zillow-agents-leads/runs": {
      "post": {
        "operationId": "runs-sync-scrapeverse-zillow-agents-leads",
        "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/scrapeverse~zillow-agents-leads/run-sync": {
      "post": {
        "operationId": "run-sync-scrapeverse-zillow-agents-leads",
        "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": {
          "searchLocations": {
            "title": "Locations (city, ZIP code or neighborhood)",
            "type": "array",
            "description": "One location per line, as you would type it on Zillow, e.g. \"Buffalo, NY\", \"14222\", \"Brooklyn, NY\". Each location is searched separately with the filters below.",
            "items": {
              "type": "string"
            }
          },
          "agentNames": {
            "title": "Agent names (optional)",
            "type": "array",
            "description": "Search agents by name, e.g. \"Jason Sokody\". With locations: the name is searched inside each location. Without locations: searched nationwide.",
            "items": {
              "type": "string"
            }
          },
          "directoryUrls": {
            "title": "Zillow agent directory URLs (optional)",
            "type": "array",
            "description": "Paste URLs like https://www.zillow.com/professionals/real-estate-agent-reviews/buffalo-ny/?isTopAgent=true&specialties=luxury-homes. Filters inside the URL are kept; the filter fields below are NOT applied to URLs.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "helpsWith": {
            "title": "Helps with",
            "type": "array",
            "description": "Only agents who help buyers and/or sellers on Zillow. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "BUYING",
                "SELLING"
              ],
              "enumTitles": [
                "Buying",
                "Selling"
              ]
            }
          },
          "topAgentsOnly": {
            "title": "Zillow Top Agents only",
            "type": "boolean",
            "description": "Only agents with Zillow's \"Top Agent\" badge (top performers by sales and reviews).",
            "default": false
          },
          "specialties": {
            "title": "Specialties",
            "type": "array",
            "description": "Agents who list ALL selected specialties on Zillow (each extra specialty narrows the results). Leave empty for any.",
            "items": {
              "type": "string",
              "enum": [
                "first-time-home-buyers",
                "investment-properties",
                "rentals",
                "military-or-veterans",
                "luxury-homes",
                "new-construction",
                "property-management",
                "senior-communities",
                "relocation",
                "foreclosure",
                "lot-or-land",
                "vacation-short-term-rentals"
              ],
              "enumTitles": [
                "First Time Homebuyers",
                "Investment Properties",
                "Rentals",
                "Military/Veterans",
                "Luxury Homes",
                "New Construction",
                "Property Management",
                "Senior Communities",
                "Relocation",
                "Foreclosure",
                "Lot/Land",
                "Vacation / Short-term Rentals"
              ]
            }
          },
          "languages": {
            "title": "Languages spoken",
            "type": "array",
            "description": "Agents who speak the selected language(s). Leave empty for any.",
            "items": {
              "type": "string",
              "enum": [
                "american-sign-language",
                "arabic",
                "bengali",
                "cantonese",
                "farsi",
                "french",
                "german",
                "greek",
                "haitian-creole",
                "hebrew",
                "hindi",
                "hungarian",
                "italian",
                "japanese",
                "korean",
                "mandarin",
                "polish",
                "portuguese",
                "russian",
                "spanish",
                "filipino",
                "thai",
                "turkish",
                "ukrainian",
                "vietnamese"
              ],
              "enumTitles": [
                "American Sign Language (ASL)",
                "Arabic",
                "Bengali",
                "Cantonese",
                "Farsi",
                "French",
                "German",
                "Greek",
                "Haitian Creole",
                "Hebrew",
                "Hindi",
                "Hungarian",
                "Italian",
                "Japanese",
                "Korean",
                "Mandarin",
                "Polish",
                "Portuguese",
                "Russian",
                "Spanish",
                "Tagalog (Filipino)",
                "Thai",
                "Turkish",
                "Ukrainian",
                "Vietnamese"
              ]
            }
          },
          "priceMin": {
            "title": "Minimum price",
            "enum": [
              "0",
              "50000",
              "100000",
              "150000",
              "200000",
              "250000",
              "300000",
              "350000",
              "400000",
              "450000",
              "500000",
              "550000",
              "600000",
              "650000",
              "700000",
              "750000",
              "800000",
              "850000",
              "900000",
              "950000",
              "1000000",
              "1250000",
              "1500000",
              "1750000",
              "2000000",
              "2250000",
              "2500000",
              "2750000",
              "3000000",
              "3250000",
              "3500000",
              "3750000",
              "4000000",
              "4250000",
              "4500000",
              "4750000",
              "5000000",
              "6000000",
              "7000000",
              "8000000",
              "9000000",
              "10000000",
              "11000000",
              "12000000",
              "13000000",
              "14000000",
              "15000000",
              "16000000",
              "17000000",
              "18000000"
            ],
            "type": "string",
            "description": "Agents whose recent sales price range fits this window (Zillow's Price range filter). Leave empty for any."
          },
          "priceMax": {
            "title": "Maximum price",
            "enum": [
              "50000",
              "100000",
              "150000",
              "200000",
              "250000",
              "300000",
              "350000",
              "400000",
              "450000",
              "500000",
              "550000",
              "600000",
              "650000",
              "700000",
              "750000",
              "800000",
              "850000",
              "900000",
              "950000",
              "1000000",
              "1250000",
              "1500000",
              "1750000",
              "2000000",
              "2250000",
              "2500000",
              "2750000",
              "3000000",
              "3250000",
              "3500000",
              "3750000",
              "4000000",
              "4250000",
              "4500000",
              "4750000",
              "5000000",
              "6000000",
              "7000000",
              "8000000",
              "9000000",
              "10000000",
              "11000000",
              "12000000",
              "13000000",
              "14000000",
              "15000000",
              "16000000",
              "17000000",
              "18000000",
              "500000000"
            ],
            "type": "string",
            "description": "Upper end of the price window. $18M+ = no upper limit."
          },
          "minRating": {
            "title": "Minimum rating",
            "enum": [
              "3",
              "4",
              "4.5",
              "4.8",
              "5"
            ],
            "type": "string",
            "description": "Only agents with at least this average review rating (out of 5)."
          },
          "minReviewCount": {
            "title": "Minimum number of reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Only agents with at least this many Zillow reviews."
          },
          "minSalesLast12Months": {
            "title": "Minimum sales in last 12 months",
            "minimum": 0,
            "type": "integer",
            "description": "Only agents (or teams) with at least this many sales in the last 12 months, as shown on Zillow."
          },
          "agentType": {
            "title": "Teams or individual agents",
            "enum": [
              "ANY",
              "TEAMS_ONLY",
              "INDIVIDUALS_ONLY"
            ],
            "type": "string",
            "description": "Keep all, only teams, or only individual agents.",
            "default": "ANY"
          },
          "requirePhone": {
            "title": "Only agents with a phone number",
            "type": "boolean",
            "description": "Drop agents whose profile shows no phone number. Requires profile details.",
            "default": false
          },
          "requireEmail": {
            "title": "Only agents with an email address",
            "type": "boolean",
            "description": "Drop agents whose profile shows no email. Requires profile details.",
            "default": false
          },
          "scrapeProfileDetails": {
            "title": "Scrape full profile details",
            "type": "boolean",
            "description": "Visit each agent's profile for phone numbers, email, license, bio, website & socials, years of experience, service areas, team members, total sales, reviews and AI review summary. Off = directory card data only (faster, cheaper).",
            "default": false
          },
          "maxAgentsPerSearch": {
            "title": "Max agents per search",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum agents saved per location / name / URL. Leave empty for all. You only pay for agents you get."
          },
          "reviewsPerAgent": {
            "title": "Recent reviews per agent",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "How many of the most recent reviews to include per agent (0-5). Requires profile details.",
            "default": 5
          },
          "includeListingsAndSales": {
            "title": "Include listings & recent sales",
            "type": "boolean",
            "description": "Add the agent's current for-sale/for-rent listings and most recent sales (address, price, beds, baths, Zillow link). Requires profile details.",
            "default": false
          },
          "splitLargeSearches": {
            "title": "Get more than 375 agents per search",
            "type": "boolean",
            "description": "Zillow shows at most 375 agents (25 pages) per search. When on, big searches are also run in price-range slices to find extra agents (deduplicated). Slices overlap heavily, so this is slower and returns fewer new agents per request; for full-city coverage, listing several ZIP codes in Locations works better.",
            "default": false
          },
          "dedupeAcrossSearches": {
            "title": "De-duplicate agents across searches",
            "type": "boolean",
            "description": "Save each agent once even if they appear in several locations or searches.",
            "default": true
          },
          "includeRawProfile": {
            "title": "Include raw profile JSON",
            "type": "boolean",
            "description": "Adds a rawProfile field with Zillow's full profile data (large).",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential US proxies are recommended for Zillow and used by default.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}