# Appfolio Scraper (`normdata/appfolio-scraper`) Actor

Scrapes rental vacancies from any property manager's public AppFolio site: rent, beds, baths, size, address, coordinates, full photo gallery, video walkthrough, and a direct apply link. Optional enrichment adds pet policy, amenities, and fees, plus automatic new listing and rent change tracking.

- **URL**: https://apify.com/normdata/appfolio-scraper.md
- **Developed by:** [Norm Data](https://apify.com/normdata) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

![Norm Data](https://i.ibb.co/rGbhM5Y8/Chat-GPT-Image-Sep-8-2026-02-20-50-PM.png)

## AppFolio Rental Listings Scraper

Scrape rental vacancy listings from any property manager's public AppFolio site: rent, bedrooms, bathrooms, square footage, address, coordinates, photos, and availability date. No API key and no login required. Useful for rental lead generation, vacancy monitoring, property management competitor research, and local rental market analysis.

```json
{
  "listing_id": 90,
  "title": "2 Bedroom 1 Bath Upstairs Apartment with Shared Laundry and Storage",
  "address": "701 Spencer - 701-5, Apt. 5, Riverton, WY 82501",
  "city": "Riverton",
  "state": "WY",
  "rent_min_usd": 725,
  "beds": 2,
  "baths": 1,
  "sqft": 800,
  "available_date": "2026-11-13",
  "pets_allowed": false,
  "company_name": "Riverton Rentals Property Management LLC",
  "company_phone": "307 856 7178",
  "is_new_listing": true,
  "rent_change_usd": null
  // amenities, pet_policy, utilities_included, appliances, description, and photo_urls are trimmed here for length
}
```

### What it does

- **Give it one or more AppFolio listings page URLs**, and it pulls every currently vacant unit.
- **Real filters**, applied by the source itself, not guessed after the fact: rent range, minimum bedrooms, minimum bathrooms, and pets allowed. Square footage and keyword filters are applied on our end for the fields the source doesn't filter natively.
- **Optional detail enrichment**: the full photo gallery (not just one thumbnail), a video walkthrough link when the listing has one, a direct link to apply, a full description, pet policy, amenities, utilities included, appliances, application fee, security deposit, and the property manager's name, phone number, and website.
- **Optional automatic change tracking**: run this actor on a schedule and every listing gets flagged as new or returning, with the exact rent change and days on market since you first saw it, computed for you.

Missing source values are returned as `null`, never invented.

### Why this scraper

- **Real, source-side filtering**, not a slow full pull filtered afterward. Rent range, bedrooms, bathrooms, and pets allowed are sent straight to the source and only matching listings come back.
- **Automatic new listing and rent change tracking.** Schedule this actor daily or weekly and every row tells you whether it's new, whether the rent moved, and how many days it's been sitting vacant, with zero setup beyond turning a checkbox on.
- **One run, multiple property managers.** Point it at several companies' AppFolio sites in a single run for straight, side-by-side comparison.
- **The property manager's own contact info**, name, phone, and website, right next to every listing, for outreach or lead generation.

### How it compares

| Capability | This actor | Other AppFolio scrapers |
|---|---|---|
| Rent, beds, baths, size, address, coordinates | yes | yes |
| Real source-side rent/bedroom/bathroom/pet filters | yes | some |
| Pet policy, amenities, utilities, appliances, fees | yes | some |
| Full photo gallery, video walkthrough, and a direct apply link | yes | some |
| Property manager contact info | yes | some |
| **New listing and rent change tracking across runs** | **yes** | **no** |
| Multiple property managers in one run | yes | some |

### Use cases

- **Rental lead generation.** Pull every open unit at a target property manager along with their office phone number for outreach.
- **Vacancy monitoring.** Schedule a run and get an alert-ready feed of newly listed units and rent changes at the companies you track.
- **Property management competitor research.** Compare a rival's current rent levels, unit sizes, and vacancy duration against your own.
- **Local rental market analysis.** Aggregate rent per square foot and days on market across several property managers in one area.
- **Pet-friendly housing search.** Filter straight to units that actually allow cats or dogs instead of reading every listing by hand.

### Quickstart

Default sample:

```json
{ "listingUrls": ["https://rivertonrentals.appfolio.com/listings/listings"], "includeDetails": true, "trackChanges": true }
```

Only larger, pet-friendly units under a rent ceiling:

```json
{ "listingUrls": ["https://example.appfolio.com/listings/listings"], "rentMax": 1500, "bedsMin": 2, "petsAllowed": true }
```

Multiple property managers in one run, filtered by keyword:

```json
{ "listingUrls": ["https://companyone.appfolio.com/listings/listings", "https://companytwo.appfolio.com/listings/listings"], "keyword": "downtown" }
```

### Input reference

| Field | Description |
|---|---|
| `maxItems` | Caps how many rows this run writes across all listing pages given. |
| `listingUrls` | One or more AppFolio listings page URLs. |
| `rentMin` / `rentMax` | Only listings within this monthly rent range. |
| `bedsMin` / `bathsMin` | Only listings with at least this many bedrooms or bathrooms. |
| `sqftMin` | Only listings at or above this size. |
| `petsAllowed` | Only listings that allow cats and/or dogs. |
| `keyword` | Match listings whose title or address contains this text. |
| `includeDetails` | Add pet policy, amenities, utilities, appliances, fees, and contact info. Defaults to off. |
| `trackChanges` | Flag new listings and rent changes since your last run. Defaults to on. |

### Output reference (selected)

| Field | Description |
|---|---|
| `rent_min_usd` / `rent_max_usd` | Monthly rent, or the low and high end of a range. |
| `beds` / `baths` / `sqft` | Bedroom count, bathroom count (fractional for a half bath), and square footage. |
| `available_date` | The date this unit is available, in ISO format. |
| `pet_policy` / `pets_allowed` | The raw pet policy lines, and a derived yes/no (detail enrichment only). |
| `photo_urls` / `photo_count` | Every full-size photo in the listing's gallery, not just the one preview thumbnail (detail enrichment only). |
| `video_url` | A video walkthrough link, when the listing has one (detail enrichment only). |
| `apply_url` | A direct link to the rental application for this unit (detail enrichment only). |
| `description` | The listing's full free-text description (detail enrichment only). |
| `company_name` / `company_phone` / `company_website` | The property manager's own listed contact info, `company_website` normalized into a real, complete URL (detail enrichment only). |
| `error` / `source_url` | `null` on a normal row. If a given listings page URL couldn't be reached or parsed, a row with `error` set to the reason and `source_url` set to that URL is written instead, so a broken input never just silently disappears. |
| `is_new_listing` | True the first time this unit has been seen (change tracking only). |
| `previous_rent_usd` / `rent_change_usd` | The rent your last run saw, and the difference (change tracking only). |
| `days_on_market` | Days since this unit was first seen by this actor (change tracking only). |

### Run via API and CLI

```bash
curl "https://api.apify.com/v2/acts/norm-data~appfolio-scraper/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"listingUrls":["https://rivertonrentals.appfolio.com/listings/listings"],"includeDetails":true}'
```

```bash
apify call norm-data/appfolio-scraper --input '{"listingUrls":["https://rivertonrentals.appfolio.com/listings/listings"]}'
```

### Fetch results

```bash
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json"
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=csv"
```

### Billing and limits

You pay per result written, plus a separate event only for listings where detail enrichment actually ran. Change tracking adds no extra charge. Free plan runs are locked to a fixed 10 row sample with detail enrichment and change tracking off.

Base listings across many property managers move fast, around 3,000 rows in under a minute. Full detail enrichment is slower since it means one real request per unit to that property manager's own site, expect a fully enriched 3,000 row run to take a few minutes rather than under one.

### FAQ and troubleshooting

**Do I need to know every property manager's AppFolio URL myself?** Yes. This actor reads the listings pages you give it; it doesn't maintain its own directory of every AppFolio customer.

**Why did my run return 0 rows?** Either the property manager currently has no vacant units, or your filters excluded everything available. You are not charged for a run that returns nothing.

**One of my listing URLs was wrong or unreachable, what happens?** That URL comes back as its own row with `error` set to the reason and everything else null, instead of silently vanishing from the results. Your other, working URLs are unaffected.

**How do I get new-listing alerts?** Turn on `trackChanges` and run this actor on a schedule. Every row after the first run on a given unit tells you whether it's new and how its rent has changed.

**Why is a field like `description` often empty?** Many property managers simply don't write one for every unit. This is a real gap in the source, not a parsing miss.

**Is this an official AppFolio tool?** No. This is an independent actor built on public AppFolio-hosted listings pages, not affiliated with or endorsed by AppFolio.

### Local development

```bash
bun install
bun test
bun run src/main.ts
```

# Changelog

This Actor's version history is a separate document: https://apify.com/normdata/appfolio-scraper/changelog.md

# Actor input Schema

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

Caps how many rows this run writes across all the listing pages given below.

## `listingUrls` (type: `array`):

One or more property manager listings page URLs, on any company's AppFolio site.

## `rentMin` (type: `integer`):

Only listings at or above this monthly rent.

## `rentMax` (type: `integer`):

Only listings at or below this monthly rent.

## `bedsMin` (type: `integer`):

Only listings with at least this many bedrooms.

## `bathsMin` (type: `integer`):

Only listings with at least this many bathrooms.

## `sqftMin` (type: `integer`):

Only listings at or above this size.

## `petsAllowed` (type: `boolean`):

Only listings that allow cats and/or dogs.

## `keyword` (type: `string`):

Match listings whose title or address contains this text.

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

For each listing, add pet policy, amenities, utilities included, appliances, application fee, security deposit, and the property manager's name, phone, and website. One extra request per listing, billed as a separate event.

## `trackChanges` (type: `boolean`):

Remember every listing you've seen before and flag brand new listings, rent changes, and days on market automatically. Run this Actor on a schedule to build a real vacancy history for each property manager.

## Actor input object example

```json
{
  "maxItems": 10,
  "listingUrls": [
    "https://rivertonrentals.appfolio.com/listings/listings"
  ],
  "petsAllowed": false,
  "includeDetails": false,
  "trackChanges": true
}
```

# Actor output Schema

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

One dataset row per vacant unit found on the given AppFolio listing pages, with rent, bedroom/bathroom count, square footage, address, coordinates, photo, and availability date, plus (when enrichment is on) pet policy, amenities, fees, and contact info, and (when change tracking is on) whether it's a new listing and how the rent has changed since your last run.

# 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 = {
    "maxItems": 10,
    "listingUrls": [
        "https://rivertonrentals.appfolio.com/listings/listings"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("normdata/appfolio-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 = {
    "maxItems": 10,
    "listingUrls": ["https://rivertonrentals.appfolio.com/listings/listings"],
}

# Run the Actor and wait for it to finish
run = client.actor("normdata/appfolio-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 '{
  "maxItems": 10,
  "listingUrls": [
    "https://rivertonrentals.appfolio.com/listings/listings"
  ]
}' |
apify call normdata/appfolio-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,normdata/appfolio-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/Z1yqyHM5kloooZ26x/builds/fcoAJRCBY095gaPXh/openapi.json
