# Build a list of listing agents in Los Angeles

**Use case:** 

Collects the homes for sale in Los Angeles on Realtor.com whose listing agent has a phone number: agent name, email, phone, photo, office and broker, with the listing they hold. Use it to build an outreach list of active agents.

## Input

```json
{
  "startUrls": [],
  "location": "Los Angeles, CA",
  "locations": [],
  "searchQueries": [],
  "listingStatus": "for_sale",
  "propertyType": [],
  "maxItems": 100,
  "maxItemsPerQuery": 0,
  "extractDetails": false,
  "sortBy": "list_date:desc",
  "radiusMiles": 0,
  "soldWithinDays": 0,
  "foreclosureOnly": false,
  "newConstructionOnly": false,
  "openHousesOnly": false,
  "virtualTourOnly": false,
  "noHoaFeeOnly": false,
  "excludePending": false,
  "mlsOnly": false,
  "petsAllowed": [],
  "excludeKeywords": [],
  "requirePhone": true,
  "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`).
