# Pull recently sold home comps in Phoenix, AZ

**Use case:** 

Read Realtor.com's recently sold results for Phoenix, AZ and return each sale with its sold price, living area and lot size as numbers, which is the minimum set for a price-per-square-foot comparison. Arizona discloses sale prices, so price is the figure the home closed at rather than its last list price.

## Input

```json
{
  "locations": [
    "Phoenix, AZ"
  ],
  "listingType": "sold",
  "maxItems": 100,
  "concurrency": 2
}
```

## Output

```json
{
  "propertyId": {
    "label": "propertyId",
    "format": "string"
  },
  "address": {
    "label": "address",
    "format": "string"
  },
  "city": {
    "label": "city",
    "format": "string"
  },
  "state": {
    "label": "state",
    "format": "string"
  },
  "zipcode": {
    "label": "zipcode",
    "format": "string"
  },
  "price": {
    "label": "price",
    "format": "number"
  },
  "beds": {
    "label": "beds",
    "format": "number"
  },
  "baths": {
    "label": "baths",
    "format": "number"
  },
  "areaSqft": {
    "label": "areaSqft",
    "format": "number"
  },
  "lotSizeSqft": {
    "label": "lotSizeSqft",
    "format": "number"
  },
  "status": {
    "label": "status",
    "format": "string"
  },
  "agentName": {
    "label": "agentName",
    "format": "string"
  },
  "brokerName": {
    "label": "brokerName",
    "format": "string"
  },
  "latitude": {
    "label": "latitude",
    "format": "number"
  },
  "longitude": {
    "label": "longitude",
    "format": "number"
  },
  "detailUrl": {
    "label": "detailUrl",
    "format": "string"
  },
  "searchLocation": {
    "label": "searchLocation",
    "format": "string"
  },
  "sourceUrl": {
    "label": "sourceUrl",
    "format": "string"
  },
  "collectedAt": {
    "label": "collectedAt",
    "format": "string"
  }
}
```

## About this Actor

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