# Recently sold homes in Phoenix

**Use case:** 

Recently sold Phoenix, AZ properties with sold price and sold date - the comps feed for a valuation model.

## Input

```json
{
  "location": "Phoenix, AZ",
  "locations": [
    "Austin, TX",
    "78704",
    "Brooklyn, NY"
  ],
  "postalCodes": [
    "90210",
    "10001"
  ],
  "startUrls": [],
  "zipCodesOffset": 0,
  "zipCodesLimit": 1000,
  "searchType": "sold",
  "priceMin": 500000,
  "priceMax": 1500000,
  "bedsMin": 3,
  "bathsMin": 2,
  "sqftMin": 1000,
  "yearBuiltMin": 2000,
  "hoaFeeMax": 300,
  "noHoaFee": false,
  "keywords": [
    "pool"
  ],
  "pendingContingent": "include",
  "listedWithinDays": 7,
  "priceReducedWithinDays": 14,
  "openHouseWithinDays": 7,
  "soldWithinDays": 90,
  "radiusMiles": 10,
  "sort": "sold_date",
  "maxUpdatedHoursAgo": 8,
  "splitLargeSearches": true,
  "fetchDetails": true,
  "maxItems": 100,
  "maxConcurrency": 10,
  "proxy": {
    "useApifyProxy": true
  },
  "debugLog": false
}
```

## Output

```json
{
  "photos": {
    "label": "Photos",
    "format": "array"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "propertyType": {
    "label": "Property type",
    "format": "string"
  },
  "listPrice": {
    "label": "List price",
    "format": "number"
  },
  "pricePerSqft": {
    "label": "Price per sq ft",
    "format": "number"
  },
  "line": {
    "label": "Street address",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "stateCode": {
    "label": "State code",
    "format": "string"
  },
  "postalCode": {
    "label": "ZIP code",
    "format": "string"
  },
  "beds": {
    "label": "Bedrooms",
    "format": "number"
  },
  "baths": {
    "label": "Bathrooms",
    "format": "number"
  },
  "sqft": {
    "label": "Living area (sq ft)",
    "format": "number"
  },
  "lotSqft": {
    "label": "Lot size (sq ft)",
    "format": "number"
  },
  "yearBuilt": {
    "label": "Year built",
    "format": "integer"
  },
  "estimate": {
    "label": "Value estimate",
    "format": "number"
  },
  "listDate": {
    "label": "List date",
    "format": "string"
  },
  "mlsId": {
    "label": "MLS ID",
    "format": "string"
  },
  "url": {
    "label": "Listing URL",
    "format": "string"
  }
}
```

## How it works

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

The Realtor.com Scraper – Sale, Rent & Sold Listings Actor is ready to run with the inputs already set for "Recently sold homes in Phoenix". [Sign up or log in](https://console.apify.com/create-task-from-example/NYEnvWCp8iT1mR8IM) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Recently sold homes in Phoenix" task

The Realtor.com Scraper – Sale, Rent & Sold Listings Actor will start running based on the input automatically. You can also change all the input fields, like 📍 location, 📍 locations (multiple), and more, to match your specific use case.

### 3. Receive the "Recently sold homes in Phoenix" 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, status, property 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 "Recently sold homes in Phoenix" task via API](https://apify.com/lukass/realtor-com.md).

## About this Actor

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