# Get recently sold homes in Miami (last 30 days)

**Use case:** 

Collects the homes sold in Miami, FL over the last 30 days on Realtor.com: sale price, sale date, beds, baths, square footage, price per square foot and address. Use it for comparable sales, a valuation or a market report.

## Input

```json
{
  "startUrls": [],
  "location": "Miami, FL",
  "locations": [],
  "searchQueries": [],
  "listingStatus": "sold",
  "propertyType": [],
  "maxItems": 100,
  "maxItemsPerQuery": 0,
  "extractDetails": false,
  "sortBy": "list_date:desc",
  "radiusMiles": 0,
  "soldWithinDays": 30,
  "foreclosureOnly": false,
  "newConstructionOnly": false,
  "openHousesOnly": false,
  "virtualTourOnly": false,
  "noHoaFeeOnly": false,
  "excludePending": false,
  "mlsOnly": false,
  "petsAllowed": [],
  "excludeKeywords": [],
  "requirePhone": false,
  "onlyNew": false,
  "stateKey": "default",
  "resetState": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxConcurrency": 8,
  "maxRequestsPerMinute": 120,
  "maxRequestRetries": 5,
  "debugLog": false
}
```

## Output

```json
{
  "address": {
    "label": "Address",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "stateCode": {
    "label": "State code",
    "format": "string"
  },
  "listPrice": {
    "label": "List price",
    "format": "number"
  },
  "beds": {
    "label": "Bedrooms",
    "format": "integer"
  },
  "baths": {
    "label": "Bathrooms",
    "format": "number"
  },
  "sqft": {
    "label": "Living area (sqft)",
    "format": "integer"
  },
  "url": {
    "label": "Listing URL",
    "format": "string"
  },
  "photos": {
    "label": "Photos",
    "format": "array"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Realtor.com Listings Scraper](https://apify.com/nice_dev/realtor-listings-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/nice_dev/realtor-listings-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/nice_dev/realtor-listings-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`).
