# Rent.com Scraper - Rental Listings & Prices (`solidcode/rent-com-scraper`) Actor

\[💰 $0.9 / 1K] Collect US rental listings from Rent.com with 65 fields each: rent range, beds, baths, square footage, floor plans, amenities, assigned schools, Walk Score, photos and leasing contacts. Search any city, ZIP or county and filter by property type, rent, size, pets and 16 amenities.

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

## Pricing

from $0.90 / 1,000 rental 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## Rent.com Scraper - Rental Listings & Prices

Pull US rental listings from Rent.com at scale — rent ranges, floor plans, amenities, assigned
schools, Walk Scores, photos and leasing contacts, 65 fields on every row. Built for rental-market
analysts, property managers and PropTech teams who need a clean, filterable national rental
dataset without babysitting an in-house collector that returns half the columns empty.

### Why This Scraper?

- **65 fields per rental listing** — rent range, beds, baths, square footage, floor plans, address, coordinates, amenities, assigned schools, Walk Score, photos, availability and leasing contact, all flattened into one row you can open in Excel.
- **12 search filters that were each measured to change the result set** — 6 property types, 5 bedroom counts, 3 bathroom counts, min/max rent, min/max square footage, 4 pet policies, 16 amenities, a deals-only switch and free-text keyword. Every one was verified against a live 6,720-listing market before it shipped.
- **GPS coordinates and a Walk Score on 100% of listings** — measured across 360 listings spanning California, Texas, New York, Illinois and Florida and three property categories.
- **Openable photo URLs, not opaque image ids** — 9,715 photo links across those same 360 listings, a median of 23 per listing and up to 88.
- **Assigned schools with grade ranges, districts and GreatSchools rating links** — 2,307 school assignments across the sample, kept index-aligned so a district never slides onto the wrong school.
- **Floor-plan level pricing** — 1,154 individual floor plans across the sample, each with its own name, bed count, bath count, square footage and rent range, so a 14-plan community is never flattened to a single "from" price.
- **Both kinds of rental in one dataset** — 289 of the 360 sampled listings are multi-unit communities (management company, leasing office hours, units available, application and admin fees) and 71 are individual houses, condos, duplexes and triplexes (unit number, direct contact phone).
- **Deals and concessions as first-class columns** — the full offer text ("Celebrate USA 250th Anniversary - $250 - $750 off move in costs") and the short badge ("$750 Off"). Switching on deals-only narrowed a 6,720-listing market to 616.
- **A typo can never become a nationwide crawl** — every location is resolved against Rent.com's own lookup before a single result is collected, and one that cannot be matched is skipped with a message instead of silently widening to all ~500,000 US listings you would then be billed for.

### Use Cases

#### Rental Market Research

- Track asking rents by city, ZIP, county or neighborhood, at floor-plan resolution rather than a single headline price.
- Measure concession activity over time — which submarkets are advertising free months and how the badge value moves.
- Compare amenity penetration between markets (in-unit laundry, garage parking, fitness centers) using the 16 measured amenity filters.

#### Lead Generation

- Build lists of managed communities with the management company name and leasing office hours attached.
- Capture direct contact phone numbers where Rent.com publishes them, with a `leadPhoneRequired` flag telling you when a listing is gated behind a lead form instead.
- Segment by property type to target single-family landlords separately from large operators.

#### Investment & Underwriting

- Pull comparable rents for a specific ZIP or county with bed, bath and square-footage bounds applied server-side.
- Model rent per square foot from `rentMin`/`rentMax` against `sqftMin`/`sqftMax`, or per floor plan.
- Score locations with Walk Score, Transit Score, Bike Score and assigned school districts in the same row as the rent.

#### Data Enrichment & Integration

- Enrich an existing address list with coordinates, neighborhood names and current asking rent.
- Feed a CRM or data warehouse on a schedule and diff on `updatedAt` to see what actually moved.
- Attribute inventory by feed with `syndicationSource` when reconciling against other listing sources.

#### Relocation & Consumer Products

- Power a rental search product with photos, floor plans, pet policies and parking types already normalized.
- Filter by commute-friendly transit scores and school assignments for family relocation tools.
- Surface currently-available units with `unitsAvailable` and `availabilityStatus` rather than stale listings.

### Getting Started

#### Simplest run

```json
{
  "maxItems": 100
}
```

#### Search a location with filters

```json
{
  "searchLocation": "Austin, TX",
  "propertyType": "HOUSES",
  "bedrooms": "THREE_BEDROOM",
  "minRent": 1500,
  "maxRent": 3000,
  "petPolicy": "DOGS_OK",
  "amenity": "GARAGE",
  "maxItems": 500
}
```

#### Paste a filtered search URL from the site

Set your filters on the site, then copy the address bar URL — the location and property
type are read straight out of it.

```json
{
  "searchUrls": [
    "https://www.rent.com/california/counties/el-dorado/apartments_townhouses_condos_houses",
    "https://www.rent.com/illinois/chicago/houses"
  ],
  "maxItems": 500
}
```

### Input Reference

#### What to Scrape

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `searchUrls` | array | — | Paste Rent.com search page addresses, one per line -- for example https://www.rent.com/texas/austin/apartments or https://www.rent.com/california/counties/el-dorado/apartments\_townhouses\_condos\_houses. The location and property type are read out of the address; any other options in it are ignored, so set those in the filters below. An address whose location cannot be recognised is skipped with a message instead of being widened into a nationwide search. Leave this empty to use the Location box instead. |
| `searchLocation` | string | `Austin, TX` | City, ZIP code, county or neighborhood to search -- for example "Austin, TX", "78701" or "El Dorado County, CA". Rent.com's own location lookup resolves what you type, and a location it does not recognise stops that search with a message rather than quietly searching the whole country. Ignored when Search URLs is filled in. |
| `maxItems` | integer | `100` | Maximum rental listings per search URL (0 = collect everything each search returns). |

#### Search Filters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `propertyType` | string | — | Only return one kind of rental. Leave unset for all of them. "Houses" also includes a small number of duplexes, which is how Rent.com groups them. |
| `bedrooms` | string | — | Keep only properties that offer this bedroom count. Buildings with several floor plans match if any one of them has it. |
| `bathrooms` | string | — | Keep only properties that offer this bathroom count. |
| `minRent` | integer | — | Only show properties with something available at or above this rent. |
| `maxRent` | integer | — | Only show properties with something available at or below this rent. |
| `minSquareFeet` | integer | — | Only show properties with a floor plan at or above this size. |
| `maxSquareFeet` | integer | — | Only show properties with a floor plan at or below this size. |
| `petPolicy` | string | — | Filter by what the property allows. |
| `amenity` | string | — | Only show properties that offer this. |
| `withDeals` | boolean | `false` | Show only properties currently advertising a deal or concession. |
| `keyword` | string | — | Free-text match against the listing -- for example "pool", "loft" or a building name. Leave empty to skip it. |

#### Options

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `sortBy` | string | `RELEVANCE` | The order results come back in. Rent.com's own relevance order is the default. |
| `concurrency` | integer | `8` | How many requests to run in parallel. Lower this if you see failures. |
| `proxyConfiguration` | object | Apify Proxy | Proxy settings for the run. |

### Output

Every rental listing is one dataset row. Rent.com publishes two kinds of listing — a multi-unit
community and an individual house, condo or unit — and both land in the same dataset with the
same column names, so each gets its own example below.

Both examples are real captured rows. Long arrays (photos, schools, floor plans, amenities)
are trimmed here for readability, and phone numbers are replaced with a placeholder.

#### A multi-unit apartment community

```json
{
  "id": "lc5928165",
  "url": "https://www.rent.com/apartment/vineyards-at-valley-view-el-dorado-hills-ca-lc5928165",
  "name": "Vineyards at Valley View",
  "propertyType": "APARTMENTS",
  "description": "The difference between living, and living well. Our residences make it easy to enjoy life in El Dorado Hills, with resort amenities, beautiful gourmet kitchens, in-home washer and dryers, cozy gas fireplaces, and spacious private patios and balconies.",
  "bedsMin": 1, "bedsMax": 2, "bedsDisplay": "1–2 Beds",
  "bathsMin": 1, "bathsMax": 2, "bathsDisplay": "1–2 Baths",
  "sqftMin": 632, "sqftMax": 1132, "sqftDisplay": "632–1132 Sqft",
  "totalUnits": 344, "unitsAvailable": 6, "unitsAvailableDisplay": "6 Units Available",
  "availabilityStatus": "TODAY",
  "address": "2100 Valley View Pkwy", "addressFull": "2100 Valley View Pkwy, El Dorado Hills, CA 95762",
  "city": "El Dorado Hills", "state": "California", "stateAbbr": "CA", "zip": "95762",
  "latitude": 38.646457, "longitude": -121.05935,
  "walkScore": 43, "walkScoreLabel": "Car-Dependent", "bikeScore": 32, "bikeScoreLabel": "Somewhat Bikeable",
  "schoolNames": ["Oak Meadow Elementary School", "Oak Ridge High School", "Rolling Hills Middle School"],
  "schoolGrades": ["K-5", "8-12", "6-8"],
  "schoolDistricts": ["Buckeye Union Elementary School District", "El Dorado Union High School District", "Buckeye Union Elementary School District"],
  "schoolLinks": ["https://www.greatschools.org/california/el-dorado-hills/12346-Oak-Meadow-Elementary-School/"],
  "rentMin": 2066, "rentMax": 3515, "rentDisplay": "$2,066+",
  "dealDescriptions": ["Celebrate USA 250th Anniversary - $250 - $750 off move in costs *(on select units restrictions apply)"],
  "dealBadges": ["$750 Off"],
  "floorPlanNames": ["The Mendocino", "The Napa", "The Amador", "The Shenandoah"],
  "floorPlanBeds": [2, 2, 2, 1], "floorPlanBaths": [2, 2, 1, 1],
  "floorPlanSqft": [1076, 1102, 986, 632],
  "floorPlanRentMin": [2430, 2305, 2334, 2066], "floorPlanRentMax": [2430, 2305, 2334, 2096],
  "leadPhoneRequired": true, "managementCompany": "Woodmont Real Estate Services",
  "officeHours": [{"day": "Monday", "times": [{"open": "09:00 AM", "close": "06:00 PM"}]}],
  "photos": ["https://i.rent.com/t_3x2_fixed_webp_w720/3c13ef41574c273de2e5b7600c631059"],
  "hasHdTour": false, "updatedAt": "2026-07-30T00:00:00.000+00:00", "syndicationSource": "LISTHUB",
  "amenities": ["Fitness Center", "Swimming Pool", "Washer & Dryer In Unit", "Garage"],
  "petPolicies": ["CATS_ALLOWED", "DOGS_ALLOWED"], "parkingTypes": ["Garage"]
}
```

#### An individual house, condo or unit

Same columns; the fields only this kind carries are `unitName`, `phone` and `phoneFormatted`,
while `managementCompany`, `officeHours` and `unitsAvailable` are community fields.

```json
{
  "id": "lv3189373516",
  "url": "https://www.rent.com/r/6315-del-monte-rd-austin-tx-lv3189373516",
  "name": "6315 Del Monte Rd unit A",
  "propertyType": "HOUSE",
  "unitName": "A",
  "bedsMin": 3, "bedsMax": 3, "bedsDisplay": "3 Beds",
  "bathsMin": 3.5, "bathsMax": 3.5, "bathsDisplay": "3.5 Baths",
  "sqftMin": 2201, "sqftMax": 2201, "sqftDisplay": "2201 Sqft",
  "addressFull": "6315 Del Monte Rd unit A, Austin, TX 78741",
  "city": "Austin", "state": "Texas", "stateAbbr": "TX", "zip": "78741",
  "neighborhoods": ["East Austin", "Montopolis"], "latitude": 30.241206, "longitude": -97.6913338,
  "walkScore": 37, "transitScore": 41, "bikeScore": 53,
  "rentMin": 2850, "rentMax": 2850, "rentDisplay": "$2,850",
  "floorPlanNames": ["3 bed 3.5 bath 2201 sqft"],
  "phone": "5551234567", "phoneFormatted": "(555) 123-4567", "leadPhoneRequired": false,
  "availabilityStatus": "TODAY", "updatedAt": "2026-07-19T15:24:25.000+00:00",
  "syndicationSource": "LOVELY",
  "amenities": ["Air Conditioning", "Dishwasher", "Garage", "Hardwood Flooring"],
  "petPolicies": ["DOGS_ALLOWED"], "parkingTypes": ["Garage Lot", "Covered Lot", "Other"]
}
```

#### Core Fields

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Listing ID |
| `url` | string | Listing URL |
| `name` | string | Property name |
| `propertyType` | string | Property type |
| `description` | string | Description |
| `bedsMin` | number | Bedrooms (min) |
| `bedsMax` | number | Bedrooms (max) |
| `bedsDisplay` | string | Bedrooms |
| `bathsMin` | number | Bathrooms (min) |
| `bathsMax` | number | Bathrooms (max) |
| `bathsDisplay` | string | Bathrooms |
| `sqftMin` | number | Square feet (min) |
| `sqftMax` | number | Square feet (max) |
| `sqftDisplay` | string | Square feet |
| `unitName` | string | Unit number |
| `totalUnits` | number | Total units |
| `unitsAvailable` | number | Units available |
| `unitsAvailableDisplay` | string | Availability |
| `availabilityStatus` | string | Available from |

#### Price & Value

| Field | Type | Description |
|-------|------|-------------|
| `rentMin` | number | Rent (min) |
| `rentMax` | number | Rent (max) |
| `rentDisplay` | string | Rent |
| `applicationFee` | number | Application fee |
| `adminFee` | number | Admin fee |
| `dealDescriptions` | array | Current specials |
| `dealBadges` | array | Special offer badges |
| `floorPlanNames` | array | Floor plan names |
| `floorPlanBeds` | array | Floor plan bedrooms |
| `floorPlanBaths` | array | Floor plan bathrooms |
| `floorPlanSqft` | array | Floor plan square feet |
| `floorPlanRentMin` | array | Floor plan rent (min) |
| `floorPlanRentMax` | array | Floor plan rent (max) |

#### Location

| Field | Type | Description |
|-------|------|-------------|
| `address` | string | Street address |
| `addressFull` | string | Full address |
| `city` | string | City |
| `state` | string | State |
| `stateAbbr` | string | State code |
| `zip` | string | ZIP code |
| `neighborhoods` | array | Neighborhoods |
| `latitude` | number | Latitude |
| `longitude` | number | Longitude |
| `walkScore` | number | Walk Score |
| `walkScoreLabel` | string | Walkability |
| `transitScore` | number | Transit Score |
| `transitScoreLabel` | string | Transit access |
| `bikeScore` | number | Bike Score |
| `bikeScoreLabel` | string | Bikeability |
| `schoolNames` | array | Nearby schools |
| `schoolGrades` | array | School grade ranges |
| `schoolDistricts` | array | School districts |
| `schoolLinks` | array | School rating links |

#### Contacts

| Field | Type | Description |
|-------|------|-------------|
| `phone` | string | Contact phone |
| `phoneFormatted` | string | Contact phone (formatted) |
| `leadPhoneRequired` | boolean | Phone hidden behind lead form |
| `managementCompany` | string | Management company |
| `officeHours` | array | Leasing office hours |

#### Media

| Field | Type | Description |
|-------|------|-------------|
| `photos` | array | Photo URLs |
| `tourUrls` | array | Tour & video links |
| `hasHdTour` | boolean | Has virtual tour |

#### Details & Timestamps

| Field | Type | Description |
|-------|------|-------------|
| `updatedAt` | string | Last updated |
| `syndicationSource` | string | Listing source |
| `amenities` | array | Amenities |
| `petPolicies` | array | Pet policy |
| `parkingTypes` | array | Parking |
| `categoryBadges` | array | Category badges |

### Tips for Best Results

- **Filters intersect, so stack them one at a time.** In Austin, houses with a swimming pool are 1 listing out of 1,661 — pools are an apartment-complex amenity, so pairing `propertyType: HOUSES` with `amenity: POOL` and four more constraints correctly returns nothing. If a run comes back empty, drop the narrowest filter first.
- **Start at `maxItems: 100`, then open it up.** The default filter combination returns about 1,771 listings in Austin, and a large metro goes far deeper — Los Angeles carries 10,552 and the run walks all of them if you set `maxItems: 0`.
- **Three of Rent.com's own sort options are deliberately not offered.** Rating, tour-enabled and distance ordering were each measured to return the identical results in the identical order as no sorting at all, so the 6 orders in the list are 6 that actually reorder your data.
- **Read `leadPhoneRequired` before you use `phone`.** A direct number appeared on 198 of 360 sampled listings, and every one of those 198 was a listing Rent.com does not gate behind a lead form — individual houses and condos far more often than managed communities.
- **`transitScore` is not missing, it is not scored.** Walk Score covered 100% of the sample and Bike Score 97%, but transit scoring only exists in served areas — 100% of New York rows carried one and 0% of rural El Dorado County rows did.
- **Pasted URLs are read for location and property type only.** Any other options in the address are ignored, so set them in the filter fields — and an address whose location cannot be recognised is skipped with a message rather than widened.

### Pricing

**From $0.90 per 1,000 results.**

| Results | Price |
|---------|-------|
| 100 | $0.09 |
| 1,000 | $0.90 |
| 10,000 | $9.00 |
| 100,000 | $90.00 |

Those are the rates on Gold and above. Higher-volume plans pay less per result:

| Your Apify plan | Price |
|-----------------|-------|
| No discount | $1.08 |
| Bronze | $1.02 |
| Silver | $0.96 |
| **Gold and above** | **$0.90** |

Per 1,000 results.

A "result" is any rental listing row in the output dataset. When you run several searches at once, a rental listing matching more than one of them is de-duplicated before it reaches the dataset, so you are never charged twice for the same rental listing. Platform fees (compute, storage) are additional and depend on your Apify plan.

### Integrations

Export data in JSON, CSV, Excel, XML, or RSS. Connect to 1,500+ apps via:

- **Zapier** / **Make** / **n8n** — Workflow automation
- **Google Sheets** — Direct spreadsheet export
- **Slack** / **Email** — Notifications on new results
- **Webhooks** — Trigger custom APIs on run completion
- **Apify API** — Full programmatic access

### Legal & Ethical Use

**This is an unofficial scraper. It is not affiliated with, endorsed by, or connected to Rent.com or its operators in any way.** All trademarks belong to their respective owners.

This actor is intended for legitimate market research and analytics. You are responsible for complying with applicable laws and with Rent.com's Terms of Service.

Results may include personal data such as contact details, and rental listings are housing
data — using them for discriminatory targeting is unlawful under fair housing rules. Do not
use results for spam, harassment, or any unlawful purpose, and follow applicable privacy
rules when storing or processing them.

# Actor input Schema

## `searchUrls` (type: `array`):

Paste Rent.com search page addresses, one per line -- for example https://www.rent.com/texas/austin/apartments or https://www.rent.com/california/counties/el-dorado/apartments\_townhouses\_condos\_houses. The location and property type are read out of the address; any other options in it are ignored, so set those in the filters below. An address whose location cannot be recognised is skipped with a message instead of being widened into a nationwide search. Leave this empty to use the Location box instead.

## `searchLocation` (type: `string`):

City, ZIP code, county or neighborhood to search -- for example "Austin, TX", "78701" or "El Dorado County, CA". Rent.com's own location lookup resolves what you type, and a location it does not recognise stops that search with a message rather than quietly searching the whole country. Ignored when Search URLs is filled in.

## `propertyType` (type: `string`):

Only return one kind of rental. Leave unset for all of them. "Houses" also includes a small number of duplexes, which is how Rent.com groups them.

## `bedrooms` (type: `string`):

Keep only properties that offer this bedroom count. Buildings with several floor plans match if any one of them has it.

## `bathrooms` (type: `string`):

Keep only properties that offer this bathroom count.

## `minRent` (type: `integer`):

Only show properties with something available at or above this rent.

## `maxRent` (type: `integer`):

Only show properties with something available at or below this rent.

## `minSquareFeet` (type: `integer`):

Only show properties with a floor plan at or above this size.

## `maxSquareFeet` (type: `integer`):

Only show properties with a floor plan at or below this size.

## `petPolicy` (type: `string`):

Filter by what the property allows.

## `amenity` (type: `string`):

Only show properties that offer this.

## `withDeals` (type: `boolean`):

Show only properties currently advertising a deal or concession.

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

Free-text match against the listing -- for example "pool", "loft" or a building name. Leave empty to skip it.

## `sortBy` (type: `string`):

The order results come back in. Rent.com's own relevance order is the default.

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

Maximum rental listings per search URL (0 = collect everything each search returns).

## `concurrency` (type: `integer`):

How many requests to run in parallel. Lower this if you see failures.

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

Proxy settings for the run.

## Actor input object example

```json
{
  "searchUrls": [],
  "searchLocation": "Austin, TX",
  "propertyType": "APARTMENTS",
  "bedrooms": "TWO_BEDROOM",
  "maxRent": 2500,
  "withDeals": false,
  "sortBy": "RELEVANCE",
  "maxItems": 100,
  "concurrency": 8,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `core` (type: `string`):

Core Fields for each rental listing.

## `financial` (type: `string`):

Price & Value for each rental listing.

## `location` (type: `string`):

Location for each rental listing.

## `contact` (type: `string`):

Contacts for each rental listing.

## `media` (type: `string`):

Media for each rental listing.

## `meta` (type: `string`):

Details & Timestamps for each rental listing.

# 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 = {
    "propertyType": "APARTMENTS",
    "bedrooms": "TWO_BEDROOM",
    "maxRent": 2500
};

// Run the Actor and wait for it to finish
const run = await client.actor("solidcode/rent-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 = {
    "propertyType": "APARTMENTS",
    "bedrooms": "TWO_BEDROOM",
    "maxRent": 2500,
}

# Run the Actor and wait for it to finish
run = client.actor("solidcode/rent-com-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 '{
  "propertyType": "APARTMENTS",
  "bedrooms": "TWO_BEDROOM",
  "maxRent": 2500
}' |
apify call solidcode/rent-com-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/mMHez0GUtutlPWIhe/builds/fc9ibrvbeuQmtfLC8/openapi.json
