# Pull recently sold comps in Miami Beach

**Use case:** 

Collects homes sold in Miami Beach (ZIP 33139) in the last six months, with the sale price, last sold date, address, beds, baths, living area, lot size, year built and Zestimate. It is the comparable-sales set an appraisal, a CMA or an investment model starts from, exported as a spreadsheet instead of copied off listing pages.

## Input

```json
{
  "search": "33139",
  "startUrls": [],
  "zpids": [
    "89070667",
    "448148857"
  ],
  "type": "sold",
  "priceMin": 250000,
  "priceMax": 4250000,
  "bedsMin": 2,
  "bedsMax": 5,
  "bathsMin": 2,
  "sqftMin": 750,
  "lotSizeMin": 5000,
  "yearBuiltMin": 2017,
  "daysOnZillowMax": 182,
  "keywords": "pool",
  "includeHomesWithNoHoaData": true,
  "includePending": false,
  "includeForeclosed": false,
  "includePreforeclosure": false,
  "availableFrom": "2026-09-19",
  "excludeSeniorCommunity": false,
  "sortOrder": "daysOn",
  "sortAscending": true,
  "maxItems": 300,
  "monitoringMode": false,
  "maxSplitLevel": 3,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "debugLog": false
}
```

## Output

```json
{
  "photos": {
    "label": "Photos",
    "format": "array"
  },
  "homeStatus": {
    "label": "Home status",
    "format": "string"
  },
  "homeType": {
    "label": "Home type",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "address": {
    "label": "Address",
    "format": "object"
  },
  "bedrooms": {
    "label": "Bedrooms",
    "format": "number"
  },
  "bathrooms": {
    "label": "Bathrooms",
    "format": "number"
  },
  "livingArea": {
    "label": "Living area (sq ft)",
    "format": "number"
  },
  "lotSize": {
    "label": "Lot size",
    "format": "number"
  },
  "yearBuilt": {
    "label": "Year built",
    "format": "integer"
  },
  "zestimate": {
    "label": "Zestimate",
    "format": "number"
  },
  "daysOnZillow": {
    "label": "Days on Zillow",
    "format": "integer"
  },
  "url": {
    "label": "Listing URL",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Zillow Scraper 💰 $1.50/1K – For Sale, Rent & Sold Actor is ready to run with the inputs already set for "Pull recently sold comps in Miami Beach". [Sign up or log in](https://console.apify.com/create-task-from-example/lXBteGkdZSRfuGOG2) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Pull recently sold comps in Miami Beach" task

The Zillow Scraper 💰 $1.50/1K – For Sale, Rent & Sold Actor will start running based on the input automatically. You can also change all the input fields, like 🔎 search location, 🔗 zillow urls, and more, to match your specific use case.

### 3. Receive the "Pull recently sold comps in Miami Beach" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as photos, home status, home type, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Pull recently sold comps in Miami Beach" task via API](https://apify.com/lukass/zillow-scraper.md).

## About this Actor

This example demonstrates how to use [Zillow Scraper 💰 $1.50/1K – For Sale, Rent & Sold](https://apify.com/lukass/zillow-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/lukass/zillow-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/lukass/zillow-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
