# RentCafe Scraper ❤️ $1/1K US Apartment Data Extractor (`azzouzana/rentcafe-scraper`) Actor

RentCafe Scraper: Export US apartment listings & multifamily rentals to CSV/JSON via Search URL. Extract property data, rental prices, floor plans, availability & landlord leads across the USA. Built for real estate investors, property managers & fast B2B data extraction. 🚀 Proxy-optimized!

- **URL**: https://apify.com/azzouzana/rentcafe-scraper.md
- **Developed by:** [Azzouzana](https://apify.com/azzouzana) (community)
- **Categories:** Real estate, Travel, Automation
- **Stats:** 16 total users, 2 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

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

## RentCafe Apartment Listings Scraper (By Search URL)

Fast & cheap Apify actor designed to scrape apartment listings from [RentCafe.com](https://www.rentcafe.com/). This scraper extracts detailed property information including pricing, availability, address, phones numbers, amenities, and photos.

### Features

- **Automated Pagination**: Handles search results spanning multiple pages.
- **Detailed Property Data**: Extracts addresses, contact info, pricing, floor plans, phones numbers, amenities, and much more.
- **Configurable Input**: Easily customize the target URL and maximum number of items to scrape.

### Usage

#### Input Parameters

| Field | Type | Description | Default |
|-------|------|-------------|---------|
| `startUrl` | String | The URL of the RentCafe search results page to scrape. | (Required) |
| `maxItems` | Number | Maximum number of items to scrape. | 100 |

#### Example Input

```json
{
    "startUrl": "https://www.rentcafe.com/apartments-for-rent/us/az/?PropertyType=Apartment,Condo",
    "maxItems": 200
}
````

### 🆓 Free tier limitations

We want you to see how this actor works before you commit. To keep things fair for everyone, the **free tier** usually includes these trial limits:

- **Sample data:** up to **5 listings** per run—enough to check data quality.
- **Daily cap:** **5 runs** per calendar day (UTC).
- **Between runs:** at least **1 minute** before you can start another run.

> Limits can change with platform load depending on system load and your intended scraping to prevent what we might interpret as free users abuse.

#### Upgrade when you're ready!

Use the free tier to decide if this actor fits your project. Paid Apify plans remove these wait times and caps so you can run at full volume—[**upgrade to a paid plan**](https://apify.com/pricing?fpr=cbgdsf).

#### Sample Output

```json
{
	"PropertyId": "57867",
	"Name": "Desert Sands",
	"IsRentCafeListing": true,
	"DetailsUrl": "https://www.rentcafe.com/apartments/az/casa-grande/desert-sands/default.aspx",
	"ContactUrl": null,
	"Phone": "(833) 515-1627",
	"Address": {
		"Address": "720 W. Oneil Dr.",
		"City": "Casa Grande",
		"State": "AZ",
		"ZipCode": "85122",
		"PrettyAddress": "720 W. Oneil Dr., Casa Grande, AZ 85122"
	},
	"AddressFormatted": "720 W. Oneil Dr., Casa Grande, AZ 85122",
	"FallbackAltText": "720 W. Oneil Dr. 1-3 Beds Apartment for Rent",
	"IsCompanyImg": false,
	"ShowPrice": true,
	"PriceValue": "$1,114 - $1,685",
	"PriceLink": null,
	"Beds": "1-3 Beds",
	"FloorplanBedPrice": [
		{
			"Beds": "1 BED",
			"Rent": "$1,114+",
			"RentCssClass": "",
			"DisplayPrice": true
		},
		{
			"Beds": "2 BEDS",
			"Rent": "$1,225+",
			"RentCssClass": "",
			"DisplayPrice": true
		},
		{
			"Beds": "3 BEDS",
			"Rent": "$1,413+",
			"RentCssClass": "",
			"DisplayPrice": true
		}
	],
	"HasPrice": true,
	"Baths": "1-2 Baths",
	"Area": "759 - 1,197 Sqft",
	"Latitude": 32.8984,
	"Longitude": -111.7626,
	"PropertyType": null,
	"HasActionButton": true,
	"CompanyDisplayName": "HSL Asset Management LLC",
	"CompanyLogo": null,
	"IsMatrixListing": false,
	"IsFavoriteListing": false,
	"FavoriteCount": "21",
	"PropertyShortName": "desert-sands",
	"SpecialsAvailable": false,
	"FeaturedType": 5,
	"IsPremiumFeatured": true,
	"PhotoGallery": [
		"https://cdngeneral.rentcafe.com/dmslivecafe/2/58822/Large%20Living%20Rooms.jpg?width=480&quality=90",
		"https://cdngeneral.rentcafe.com/dmslivecafe/2/58822/Spacious%20Kitchen(1).jpg?width=480&quality=90",
		"https://cdngeneral.rentcafe.com/dmslivecafe/2/58822/Spacious%20Bedrooms(1).jpg?width=480&quality=90",
		"https://cdngeneral.rentcafe.com/dmslivecafe/2/58822/Dining%20Area(2).jpg?width=480&quality=90",
		"https://cdngeneral.rentcafe.com/dmslivecafe/2/58822/Sparkling%20Pool(4).jpg?width=480&quality=90"
	],
	"PhotoGalleryImagesCount": 41,
	"Amenities": [
		"air-conditioner",
		"washer-dryer",
		"dishwasher",
		"pool",
		"patio-balcony",
		"large-closets"
	],
	"HasAvailabilityLabel": true,
	"HasPhoneNumber": true,
	"IsCampaign": 0,
	"UseLazyLoadForImage": false,
	"IsContactUsDisabled": false,
	"LastUpdatedDate": "Today",
	"StarRating": 0,
	"UnitsAvailable": "",
	"ReviewsCount": 0,
	"ShowReviews": false,
	"TopRatedLabel": null,
	"VerifiedListingText": "This listing is provided by <b>HSL Asset Management LLC</b>, a reputable property management company with verified listings on RentCafe.",
	"Reviews": null,
	"HasVideo": false,
	"IsClone": false,
	"CafeType": 0,
	"Index": 2,
	"NumberOfRentals": 0,
	"GroupName": null,
	"GroupId": null,
	"IsContacted": false,
	"IsNotAFit": false,
	"LeadContext": "SearchPage",
	"ActionButton": null,
	"IsLiveContent": false,
	"AerielViewVideoId": "CX0lDmh_34SqMTvYv5eSt3",
	"ILSEnableScheduleTour": false,
	"EnableSGTScheduleTour": false,
	"ILSShowTourForm": true,
	"OnlineLeasingUrl": "https://www.rentcafe.com/onlineleasing/apartmentsforrent/oleapplication.aspx?propleadsource_57867=rentcafe&stepname=Floorplan&myOlePropertyid=57867",
	"CssClass": null,
	"IsPartiallyAffordable": false,
	"IsFullyAffordable": false,
	"IsContactedAndUnitsAreAvailable": false,
	"RecommId": null,
	"IsNonYardiListing": false,
	"NonVoyImportCode": 100,
	"IsRewardsPartner": false
}
```

### 📬 Contact & Support

**Need a custom solution? Have a feature request?**\
We'd love to hear from you!

- 💬 **Discord**: `@azzouzana`
- 📧 **Email**: <labs@azzouzana.com>

***

<center><i>Made with ❤️ for the data community.</i></center>

# Actor input Schema

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

The RentCafe search URL to scrape.

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

Maximum number of items to scrape.

## Actor input object example

```json
{
  "startUrl": "https://www.rentcafe.com/apartments-for-rent/us/az/?PropertyType=Apartment,Condo",
  "maxItems": 100
}
```

# 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.rentcafe.com/apartments-for-rent/us/az/?PropertyType=Apartment,Condo"
};

// Run the Actor and wait for it to finish
const run = await client.actor("azzouzana/rentcafe-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.rentcafe.com/apartments-for-rent/us/az/?PropertyType=Apartment,Condo" }

# Run the Actor and wait for it to finish
run = client.actor("azzouzana/rentcafe-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.rentcafe.com/apartments-for-rent/us/az/?PropertyType=Apartment,Condo"
}' |
apify call azzouzana/rentcafe-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "RentCafe Scraper ❤️ $1/1K US Apartment Data Extractor",
        "description": "RentCafe Scraper: Export US apartment listings & multifamily rentals to CSV/JSON via Search URL. Extract property data, rental prices, floor plans, availability & landlord leads across the USA. Built for real estate investors, property managers & fast B2B data extraction. 🚀 Proxy-optimized!",
        "version": "0.0",
        "x-build-id": "3LJhTmK7EFtOtNV4c"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/azzouzana~rentcafe-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-azzouzana-rentcafe-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/azzouzana~rentcafe-scraper/runs": {
            "post": {
                "operationId": "runs-sync-azzouzana-rentcafe-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/azzouzana~rentcafe-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-azzouzana-rentcafe-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",
                        "pattern": "^https:\\/\\/www\\.rentcafe\\.com\\/.*",
                        "type": "string",
                        "description": "The RentCafe search URL to scrape."
                    },
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 10,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum number of items to scrape.",
                        "default": 100
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
