# Homes.com Property Scraper (`shahidirfan/homes-com-property-scraper`) Actor

Extract property data from Homes.com listings. Get prices, locations, specs, and agent contact info. Perfect for real estate research, competitive analysis, and investment tracking. Automate bulk property scraping.

- **URL**: https://apify.com/shahidirfan/homes-com-property-scraper.md
- **Developed by:** [Shahid Irfan](https://apify.com/shahidirfan) (community)
- **Categories:** Real estate, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Homes.com Property Scraper

Extract structured property listing data from Homes.com search pages, including pricing, location, property attributes, broker/agent metadata, and listing images. This scraper is designed for fast multi-page collection with no per-property page visits.

### Features

- **Search URL scraping** - Collect listings directly from city, neighborhood, or filtered Homes.com result pages.
- **Automatic pagination** - Follow next pages until your result limit or page limit is reached.
- **List-only extraction** - Collect data directly from listing-level structured sources without opening individual property pages.
- **Structured output** - Save normalized records for analytics, lead generation, and market research.
- **Clean datasets** - Automatically omits null and empty values from output records.
- **Event and map context** - Captures open-house schedule and coordinates when available.
- **Image galleries** - Adds `image_urls` from listing cards when multiple images are available.

---

### Use Cases

#### Real Estate Market Monitoring
Track property inventory, pricing, and listing changes in target cities to monitor market movement over time.

#### Investment Research
Build local listing datasets for price trend analysis, property comparison, and opportunity scouting.

#### Lead Generation
Collect listing and broker context to support acquisition workflows and outreach pipelines.

#### Location-Based Analysis
Compare listing characteristics across neighborhoods and regions using structured address data.

---

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `startUrl` | String | Yes | `https://www.homes.com/seattle-wa/` | Primary Homes.com search URL to start from. |
| `results_wanted` | Integer | No | `20` | Maximum number of listings to save. |
| `max_pages` | Integer | No | `10` | Maximum number of result pages to visit. |
| `proxyConfiguration` | Object | No | Disabled | Optional proxy settings. If proxy traffic is blocked, the actor retries without proxy automatically. |

---

### Output Data

Each dataset item can include the following fields (only non-empty fields are saved):

| Field | Type | Description |
|---|---|---|
| `position` | Number | Listing position in results. |
| `listing_id` | String | Listing identifier when available. |
| `name` | String | Listing title/name. |
| `url` | String | Listing URL. |
| `image` | String | Main image URL. |
| `image_urls` | Array | All discovered listing image URLs from listing cards. |
| `image_count` | Number | Count of URLs in `image_urls`. |
| `price` | Number | Listing price. |
| `price_currency` | String | Price currency code. |
| `availability` | String | Listing availability status. |
| `listing_type` | String | Property type/category. |
| `bedrooms` | Number | Number of bedrooms. |
| `bathrooms` | Number | Number of bathrooms. |
| `floor_size_value` | Number | Floor area value. |
| `floor_size_unit` | String | Floor area unit code. |
| `address_street` | String | Street address. |
| `address_city` | String | City/locality. |
| `address_region` | String | State/region. |
| `address_postal_code` | String | Postal code. |
| `address_country` | String | Country code/name. |
| `description` | String | Listing description text. |
| `seller_name` | String | Seller name when available. |
| `broker_name` | String | Brokerage/organization name. |
| `agent_name` | String | Agent name. |
| `agent_title` | String | Agent role/title. |
| `agent_phone` | String | Agent phone number. |
| `open_house_start` | String | Open-house start timestamp when available. |
| `open_house_end` | String | Open-house end timestamp when available. |
| `latitude` | Number | Property latitude when available. |
| `longitude` | Number | Property longitude when available. |
| `source_url` | String | Search page where listing was discovered. |
| `scraped_at` | String | ISO timestamp of extraction. |

---

### Usage Examples

#### Basic City Scrape

```json
{
	"startUrl": "https://www.homes.com/seattle-wa/",
	"results_wanted": 20,
	"max_pages": 10
}
````

#### With Proxy Configuration

```json
{
	"startUrl": "https://www.homes.com/seattle-wa/",
	"results_wanted": 30,
	"proxyConfiguration": {
		"useApifyProxy": true,
		"apifyProxyGroups": ["RESIDENTIAL"]
	}
}
```

***

### Sample Output

```json
{
	"position": 1,
	"name": "1234 Example Ave, Seattle, WA 98101",
	"url": "https://www.homes.com/property/1234-example-ave-seattle-wa/abcd1234/",
	"image_urls": [
		"https://images.homes.com/listings/115/example-primary.jpg",
		"https://images.homes.com/listings/115/example-buildingphoto-2.jpg"
	],
	"image_count": 2,
	"price": 899000,
	"price_currency": "USD",
	"bedrooms": 3,
	"bathrooms": 2,
	"address_city": "Seattle",
	"address_region": "WA",
	"listing_type": "SingleFamilyResidence",
	"open_house_start": "2026-03-21T10:00:00.000",
	"latitude": 47.560275,
	"longitude": -122.379175,
	"broker_name": "Example Realty Group",
	"source_url": "https://www.homes.com/seattle-wa/",
	"scraped_at": "2026-03-18T12:00:00.000Z"
}
```

***

### Tips for Best Results

#### Start with Focused URLs

Use city, ZIP, or filtered search pages so the dataset aligns with your exact research scope.

#### Keep Test Runs Small

Use `results_wanted: 20` for quick validation, then scale to larger production runs.

#### Start Without Proxy

For Homes.com, proxy traffic may trigger blocking on some runs. Start without proxy and enable it only if needed.

#### Keep Page Limits Practical

Use `max_pages` and `results_wanted` together to keep runs fast and predictable.

***

### Integrations

- **Google Sheets** - Export listing datasets for team review and reporting.
- **Airtable** - Build searchable property intelligence tables.
- **Make** - Trigger workflows on new listing collection runs.
- **Zapier** - Send listing data to CRMs and automation tools.
- **Webhooks** - Push records to your own pipelines and APIs.

#### Export Formats

- **JSON**
- **CSV**
- **Excel**
- **XML**

***

### Frequently Asked Questions

#### How many listings can I collect?

You can collect as many as available for your search scope, limited by your input settings and run resources.

#### Why do some records have different fields?

Listings vary by page and market. The actor saves only fields that exist for each listing.

#### Can I scrape multiple cities in one run?

Yes. Run the actor once per city URL and schedule runs for each target location.

#### Does it support pagination automatically?

Yes. It follows next pages until `max_pages` or `results_wanted` is reached.

#### How do I improve reliability?

Use Apify Proxy with residential groups and keep realistic per-run limits.

***

### Support

For issues or feature requests, use the Apify Actor issue/contact options in the Apify Console.

#### Resources

- [Apify Documentation](https://docs.apify.com/)
- [Apify API Reference](https://docs.apify.com/api/v2)
- [Apify Scheduling](https://docs.apify.com/platform/schedules)

***

### Legal Notice

This actor is intended for legitimate data collection and analysis workflows. You are responsible for complying with website terms and applicable laws in your jurisdiction.

# Actor input Schema

## `startUrl` (type: `string`):

Homes.com search URL to start scraping from.

## `results_wanted` (type: `integer`):

Maximum number of listings to save.

## `max_pages` (type: `integer`):

A safety cap on listing pages to visit per run.

## `proxyConfiguration` (type: `object`):

Optional proxy settings. If proxy traffic gets blocked, the actor automatically retries without proxy.

## Actor input object example

```json
{
  "startUrl": "https://www.homes.com/seattle-wa/",
  "results_wanted": 20,
  "max_pages": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrl": "https://www.homes.com/seattle-wa/",
    "results_wanted": 20,
    "max_pages": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("shahidirfan/homes-com-property-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrl": "https://www.homes.com/seattle-wa/",
    "results_wanted": 20,
    "max_pages": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("shahidirfan/homes-com-property-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrl": "https://www.homes.com/seattle-wa/",
  "results_wanted": 20,
  "max_pages": 10
}' |
apify call shahidirfan/homes-com-property-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=shahidirfan/homes-com-property-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Homes.com Property Scraper",
        "description": "Extract property data from Homes.com listings. Get prices, locations, specs, and agent contact info. Perfect for real estate research, competitive analysis, and investment tracking. Automate bulk property scraping.",
        "version": "1.0",
        "x-build-id": "DY3FOjgnZqXyxPrfp"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/shahidirfan~homes-com-property-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-shahidirfan-homes-com-property-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/shahidirfan~homes-com-property-scraper/runs": {
            "post": {
                "operationId": "runs-sync-shahidirfan-homes-com-property-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/shahidirfan~homes-com-property-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-shahidirfan-homes-com-property-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "startUrl"
                ],
                "properties": {
                    "startUrl": {
                        "title": "Start URL",
                        "type": "string",
                        "description": "Homes.com search URL to start scraping from."
                    },
                    "results_wanted": {
                        "title": "Maximum number of listings",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of listings to save.",
                        "default": 20
                    },
                    "max_pages": {
                        "title": "Maximum number of pages",
                        "minimum": 1,
                        "type": "integer",
                        "description": "A safety cap on listing pages to visit per run.",
                        "default": 10
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Optional proxy settings. If proxy traffic gets blocked, the actor automatically retries without proxy.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
