# Apartments.com Scraper — US Rentals, Prices & Availability (`crawloop/apartments-com-scraper`) Actor

Scrape apartments.com rental listings: search by city, ZIP, or address, property details with floor plans and units, fees, pet policies, and rent/availability monitoring on schedules.

- **URL**: https://apify.com/crawloop/apartments-com-scraper.md
- **Developed by:** [Andrej Kiva](https://apify.com/crawloop) (community)
- **Categories:** Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.99 / 1,000 property listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Apartments.com Scraper — US Rentals, Prices & Availability

> **Disclaimer:** Unofficial tool — not affiliated with, sponsored by, or endorsed by CoStar Group or Apartments.com. Data is read from publicly accessible search-result and property pages only. No login. You are responsible for complying with applicable law and the site's terms. No warranty on accuracy or availability. Provided for informational and research use.

Scrape apartments.com rental listings with the Apartments.com Scraper: search any US city, ZIP code, or address, and get one row per property with rents, beds and baths, phone, amenities, and images. Turn on **details** for full property data — units and floor plans with prices and availability dates, fees, pet policy, walk and transit scores, coordinates, renter rating, and review count. Drop in a list of property URLs for rent tracking, or switch on **monitor mode** and let a schedule report only what changed.

### When to use

- You need a US rentals dataset for a city, ZIP, or neighborhood: prices, beds, contact info, availability.
- You track specific communities over time (rent changes, new or leased-out units) and want a diff on a schedule, not a full re-export.
- You are building a rental-market dashboard, lead list, or relocation tool and want structured JSON from apartments.com instead of an API contract.
- Not for scraping private listings, saved accounts, or anything behind a login. Everything this Actor reads is public.

### Key features

- **Search inputs compatible with other apartments.com Actors**: `startUrls` (search pages and/or property URLs, mixed) and `search` (city, `City, ST`, ZIP, or address), `maxItems`.
- **Details per property**: units and floor plans (unit number, beds, baths, sq ft, rent, available date), fees, pet policy, amenities, year built, walk and transit scores, coordinates, images, renter rating, and review count.
- **Rent tracking with monitor mode**: the first run is a baseline; later runs with the same input output only properties whose rent, availability, or unit list changed, with `changeType` and the previous values. Ideal on a daily schedule.
- **Streaming and resumable**: rows are saved as they are scraped; a migrated run continues where it stopped.
- **Block handling with clear counts**: blocked pages are retried automatically on fresh connections, and every run logs requested / pushed / blocked / failed counts. A fully blocked run fails loudly instead of returning an empty dataset.
- Missing fields are `null`, never invented.

### Input

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `startUrls` | array | `[]` | apartments.com URLs, mixed: search-result pages and/or property pages. Property URLs always return full details. |
| `search` | string | — | City, `City, ST`, 5-digit ZIP, or a US address. Converted to a search. |
| `maxItems` | integer | `100` | Maximum rows to save. `0` = no limit. In monitor mode it caps how many properties are scanned. |
| `includeDetails` | boolean | `false` | Open each property page for full data (units, fees, pet policy, scores, coordinates, rating). |
| `monitorMode` | boolean | `false` | Output only changed properties vs. the previous run with the same input. |
| `resetMonitorState` | boolean | `false` | Delete the saved baseline for this input; the run becomes a new baseline. |

#### Example: search a city

```json
{
    "search": "Austin, TX",
    "maxItems": 50,
    "includeDetails": false,
    "monitorMode": false
}
```

#### Example: specific properties with details

```json
{
    "startUrls": [
        { "url": "https://www.apartments.com/the-waylon-austin-tx/eh4l64m/" },
        { "url": "https://www.apartments.com/center-apartments-lakewood-co/t1xtd59/" }
    ],
    "maxItems": 10,
    "includeDetails": true,
    "monitorMode": false
}
```

#### Example: rent monitoring on a schedule

```json
{
    "search": "Austin, TX",
    "maxItems": 200,
    "includeDetails": true,
    "monitorMode": true
}
```

### Output

One row per property. Search-card rows fill what the card has; `includeDetails` (or a property URL) fills the rest.

| Field | Description |
| :--- | :--- |
| `propertyId` | apartments.com listing id |
| `url` | Property page URL |
| `name` | Property name |
| `address` | `{street, city, state, zip}` |
| `latitude`, `longitude` | Coordinates (details) |
| `phone` | Leasing phone |
| `managementCompany` | Manager, when the listing names one |
| `rentMin`, `rentMax` | Advertised monthly rent range |
| `bedsMin`, `bedsMax`, `bathsMin`, `bathsMax`, `sqftMin`, `sqftMax` | Size ranges |
| `rating`, `reviewCount` | Renter rating (0–5) and review count |
| `propertyType` | e.g. Apartment, Condo |
| `yearBuilt` | Year built |
| `units` | `{floorPlan, unitNumber, beds, baths, sqft, rent, availableDate}` per unit/floor plan (details) |
| `fees` | `{group, name, value}` — required fees and pet fees (details) |
| `petPolicy` | Pet policy summary (details) |
| `amenities` | Amenity list |
| `images` | Image URLs |
| `walkScore`, `transitScore` | Neighborhood scores (details) |
| `changeType`, `previous` | Monitor mode: `new`, `removed`, `rent_changed`, `availability_changed`, `units_changed` + the previous snapshot |
| `scrapedAt` | ISO timestamp |

#### Example rows

```json
[
    {
        "propertyId": "40n18nj",
        "url": "https://www.apartments.com/edison-austin-austin-tx/40n18nj/",
        "name": "Edison Austin",
        "phone": "(737) 377-3852",
        "bedsMin": 0,
        "bedsMax": 2,
        "rentMin": 1541,
        "rentMax": 2341,
        "amenities": ["Pets Allowed", "Fitness Center", "Pool", "Gated"],
        "address": null,
        "units": null,
        "scrapedAt": "2026-11-05T17:18:48+00:00"
    },
    {
        "propertyId": "t1xtd59",
        "url": "https://www.apartments.com/center-apartments-lakewood-co/t1xtd59/",
        "name": "Center Apartments",
        "address": { "street": "5269-5297 W Center Ave", "city": "Lakewood", "state": "CO", "zip": "80226" },
        "latitude": 39.70617,
        "longitude": -105.05361,
        "phone": "(720) 407-6888",
        "rentMin": 1745,
        "rentMax": 1745,
        "bedsMin": 2,
        "bedsMax": 2,
        "sqftMin": 900,
        "sqftMax": 900,
        "propertyType": "Apartment",
        "yearBuilt": 1983,
        "walkScore": 40,
        "transitScore": 40,
        "petPolicy": "65 lbs. Weight Limit. Total of 2 pets allowed.",
        "units": [
            {
                "floorPlan": "2 Bedroom/1 Bath",
                "unitNumber": "5297",
                "beds": 2,
                "baths": 1.0,
                "sqft": 900,
                "rent": 1745,
                "availableDate": "Now"
            }
        ],
        "fees": [
            { "group": "Due at Move-In", "name": "Administrative Fee", "value": "$150" },
            { "group": "Dogs", "name": "Pet Deposit", "value": "$300" },
            { "group": "Dogs", "name": "Monthly Pet Fee", "value": "$35 / mo" }
        ],
        "scrapedAt": "2026-11-05T17:25:50+00:00"
    }
]
```

A full sample is in the Actor's `sample_output.json`.

### Use cases

- **Rent and availability tracking.** Point `startUrls` at the communities you watch, turn on `monitorMode`, schedule daily runs, and get a feed of `rent_changed` / `availability_changed` / `units_changed` events with previous values. Monitor state is keyed by the input, so one Actor can watch many cities.
- **City-wide market pulls.** `"search": "Austin, TX"` with `maxItems` gives a cheap card-level dataset; add `includeDetails` for unit-level pricing.
- **Lead generation for property-adjacent services.** Property name, phone, address, and management company in one export.
- **Relocation and comparison tools.** Walk/transit scores, fees, and pet policies in structured JSON.

### Integration examples

#### Node.js

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('crawloop/apartments-com-scraper').call({
    search: 'Austin, TX',
    maxItems: 50,
    includeDetails: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient('YOUR_APIFY_TOKEN')
run = client.actor('crawloop/apartments-com-scraper').call(run_input={
    'search': 'Austin, TX',
    'maxItems': 50,
    'includeDetails': True,
})
items = client.dataset(run['defaultDatasetId']).list_items().items
print(items)
```

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/crawloop~apartments-com-scraper/runs?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"search": "Austin, TX", "maxItems": 50}'
```

### MCP and AI assistants

Use this Actor from AI tools via [Apify MCP](https://docs.apify.com/platform/integrations/mcp).
Connect your Apify account, then call this Actor by name.

Example prompts:

- "Run the Apartments.com Scraper for Austin, TX with details and return the top 20 rows as JSON."
- "Scrape 200 Austin rentals and summarize median rent by bedroom count."
- "Check the Waylon Austin community and report any rent changes since last week" (with monitor mode).

### Pricing

This Actor is pay-per-event. Every run pays a **tiny actor start fee**, then you pay only for the events that actually happen. Failed pages are not charged. Prices below are **per 1,000 events**.

| Event | Per 1,000 | What it is |
| :--- | ---: | :--- |
| `property-listing` | $0.99 | One search-result row (card-level data: name, rent range, beds, phone, amenities). Used when you search a city or ZIP without opening property pages. |
| `property-details` | $3.99 | One full property record (address, units/floor plans, fees, pet policy, scores, coordinates, rating, review count). Used when `includeDetails` is on or you pass property URLs. |
| `monitor-check` | $2.99 | One property successfully looked up in monitor mode. Charged for **every property checked** — including quiet ticks and the first (baseline) run. |
| `monitor-change` | $0.99 | One dataset row that actually changed (`new`, `removed`, rent/availability/units change). Charged **only for rows that changed**. |
| Actor start | tiny | A small platform fee charged once at the beginning of every run. |

**Monitor mode:** you pay `monitor-check` for each property checked, and `monitor-change` only for rows that changed. Unchanged properties are scanned but not written, so they do not pay `monitor-change`. Monitor runs do not also charge `property-listing` or `property-details`.

#### Example costs

- **1,000 search results** (city search, no details) = **$0.99**, plus the tiny start fee.
- **500 full property records** ≈ **$2**, plus the tiny start fee (500 × $3.99 / 1,000).
- **Daily tracking of 100 properties for 30 days** ≈ **$9** for the checks (100 × 30 × $2.99 / 1,000), plus `monitor-change` only when something actually changed, plus a tiny start fee each day.

### FAQ

**Can I mix search pages and property URLs in one run?**
Yes. `startUrls` accepts both; property URLs always get full details.

**How do I track rents over time?**
Turn on `monitorMode` and schedule the run. The first run is the baseline (everything `new`); later runs with the same input return only changed properties with `changeType` and `previous` values.

**Which fields are on every row?**
All of them — missing data is `null`, never invented.

**Is there an apartments.com API alternative?**
This Actor gives you structured JSON output via the Apify API with any input you can type into the site's search box — a practical API alternative for apartments.com data.

### Related Actors

| Actor | Role |
| :--- | :--- |
| [realestate.com.au Scraper](https://apify.com/crawloop/realestate-com-au-scraper) | Australia sold comps, postcode search, monitoring |
| [Rightmove Scraper](https://apify.com/crawloop/rightmove-scraper) | UK sale and rent listings, monitoring |

# Actor input Schema

## `startUrls` (type: `array`):

apartments.com URLs, mixed: search-result pages (e.g. https://www.apartments.com/austin-tx/) and/or property pages (e.g. https://www.apartments.com/the-waylon-austin-tx/eh4l64m/). Property pages always return full details.

## `search` (type: `string`):

City, 'City, ST', 5-digit ZIP, or a US address. Converted to an apartments.com search (e.g. 'Austin, TX' -> austin-tx). Ignored when startUrls is set, unless both are provided.

## `maxItems` (type: `integer`):

Maximum rows to save. 0 means no limit. In monitor mode this caps how many properties are scanned, not how many changed rows are saved.

## `includeDetails` (type: `boolean`):

Open each property page for full data: address, coordinates, units and floor plans, fees, pet policy, amenities, walk and transit scores, year built, rating and review count.

## `monitorMode` (type: `boolean`):

Output only properties whose rent, availability, or unit list changed since the previous run with the same input. The first run is the baseline and outputs everything with changeType 'new'. Run it on a schedule for rent tracking.

## `resetMonitorState` (type: `boolean`):

Delete the saved baseline for this input before the run. The run becomes a new baseline.

## Actor input object example

```json
{
  "startUrls": [],
  "search": "",
  "maxItems": 100,
  "includeDetails": false,
  "monitorMode": false,
  "resetMonitorState": false
}
```

# Actor output Schema

## `results` (type: `string`):

Default dataset items.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("crawloop/apartments-com-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 = {}

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

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

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

```

## CLI example

```bash
echo '{}' |
apify call crawloop/apartments-com-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawloop/apartments-com-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/QSnlIbzTb37lCgNsa/builds/T5VOzCuvMaNkBZYBX/openapi.json
