# RentHop NYC Apartment Rentals Scraper (`crawlerbros/renthop-scraper`) Actor

Scrape live New York City apartment rental listings from RentHop.com - price, bedrooms/bathrooms, neighborhood, zip code, coordinates, and photo, filterable by price range, bedroom count, and neighborhood.

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

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## RentHop NYC Apartment Rentals Scraper

Scrape live New York City apartment rental listings from [RentHop.com](https://www.renthop.com) — address, monthly rent, bedrooms/bathrooms, neighborhood, zip code, coordinates, and listing photo. Filter by price range, bedroom count, and neighborhood. No login, no API key, no cookies required.

### What this actor does

- Pulls current NYC apartment listings, paginating automatically up to your `maxItems` limit
- Filters by **min/max monthly rent**, **bedroom count** (studio through 4+), **minimum bathrooms**, a free-text **neighborhood** substring filter (e.g. "Williamsburg", "Astoria", "Manhattan"), **amenities/pet policy/listing type** (pets allowed, no broker fee, doorman, elevator, laundry, furnished, etc. — RentHop's own search checkboxes), and a free-text **keyword** search
- Sort by RentHop's own quality score or by price
- **Bot-detection resilient** — drives a real headless Chromium browser through Apify's free AUTO datacenter proxy group, which reliably passes RentHop's Cloudflare JS challenge

### Output fields

- `listingId`, `address`, `neighborhoods`, `zipCode`, `city`, `state`
- `price` (single price) or `priceMin`/`priceMax` (for listings quoted as a range)
- `bedrooms`, `bathrooms`
- `latitude`, `longitude`
- `url` — direct link to the listing
- `photoUrl`
- `scrapedAt`

### Input

| Field | Type | Description |
|---|---|---|
| `minPrice` / `maxPrice` | integer | Monthly rent range in USD |
| `bedrooms` | select | `any`, `studio`, `1`, `2`, `3`, `4+` |
| `neighborhood` | string | Substring filter over neighborhood/borough names |
| `bathrooms` | select | Minimum bathrooms: `any`, `1`, `2`, `3`, `4+` |
| `amenities` | array (select) | Any of: Cats/Dogs Allowed, Sublet, Short Term Allowed, Furnished, Laundry In Unit/Building, Private/Common Outdoor Space, Home Office, Parking Space, Dishwasher, Doorman, Elevator, Fitness Center, Storage Facility, Exclusive, By Owner, No Broker Fee |
| `keyword` | string | Free-text keyword matched against listing descriptions |
| `sortBy` | select | `hopscore` (RentHop's quality ranking) or `price` |
| `maxItems` | integer | Max listings to return (1-1000, default 50) |

#### Example: budget 1-bedroom in Williamsburg

```json
{
  "minPrice": 2000,
  "maxPrice": 3200,
  "bedrooms": "1",
  "neighborhood": "Williamsburg",
  "maxItems": 50
}
```

#### Example: no-fee pet-friendly listings, sorted by price

```json
{
  "amenities": ["catsAllowed", "dogsAllowed", "noFee"],
  "sortBy": "price",
  "maxItems": 100
}
```

#### Example: 2+ bedroom, 2+ bath with a doorman

```json
{
  "bedrooms": "2",
  "bathrooms": "2",
  "amenities": ["doorman", "elevator"],
  "maxItems": 30
}
```

### Use cases

- Track new no-fee apartment listings in a specific NYC neighborhood
- Build a rent-price dataset by borough/neighborhood for market research
- Feed a rental-search alert bot with fresh listings matching a budget
- Compare amenity availability (doorman, elevator, in-unit laundry) across price bands
- Power a relocation or apartment-hunting tool with live NYC inventory

### FAQ

**Do I need a RentHop account or API key?**
No. This actor scrapes RentHop's public search results directly — no login, API key, or cookies required.

**Which cities/markets are covered?**
New York City only (all five boroughs). RentHop's non-NYC city pages require client-side JavaScript/XHR calls that aren't reliably scrapable, so this actor is intentionally scoped to NYC where results are consistently accurate.

**Why do I sometimes get `priceMin`/`priceMax` instead of `price`?**
A small number of RentHop listings are posted as a price range (e.g. studios that can be leased at different rates) rather than a fixed price. Those come through as `priceMin`/`priceMax` instead of a single `price`.

**Are the filters exact?**
Yes. RentHop's own search parameters aren't always perfectly honored upstream, so this actor re-validates price, bedroom count, and minimum bathroom count against each listing's own data before including it in your results.

**Is this affiliated with RentHop?**
No, this is a third-party actor that scrapes RentHop's public website. It is not affiliated with or endorsed by RentHop.com.

**How fresh is the data?**
Every run scrapes RentHop's live search results at request time, so listings reflect current availability.

### Data source and scope

Data is scraped from the public HTML of renthop.com. **This actor is scoped to the New York City market only** — RentHop server-renders full listing data for NYC search pages, but other city pages on the site require client-side JavaScript/XHR calls to populate results and cannot be reliably scraped without a full browser session. Restricting scope to NYC keeps every run 100% reliable with real data.

### Filter accuracy note

RentHop's own server-side `min_price`/`max_price`, `bedrooms[]`, and `bathrooms` search parameters are not always reliably honored upstream (e.g. a search for exactly 2 bedrooms can occasionally include studios/1-bedrooms in RentHop's own raw results). This actor re-checks price, bedroom count, and minimum bathroom count against each listing's own parsed data before emitting it, so the guarantee that returned records actually match your filters holds regardless of any upstream quirks.

### Limitations

- The `url` (listing page) and `photoUrl` (image) fields point directly to `renthop.com`/`photos.renthop.com`, which are fronted by a Cloudflare JS challenge. These links open normally in a real web browser, but a plain HTTP client (`curl`, most scripts/integrations without a JS-capable browser) will receive an HTTP 403 challenge response instead of the listing page/photo. This is the same protection the actor itself works around internally with a real headless browser; if your workflow needs to fetch these URLs programmatically, use a headless-browser client too.

# Actor input Schema

## `minPrice` (type: `integer`):

Minimum monthly rent.

## `maxPrice` (type: `integer`):

Maximum monthly rent.

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

Filter by bedroom count.

## `neighborhood` (type: `string`):

Optional case-insensitive substring filter over NYC neighborhood/borough names (e.g. 'Williamsburg', 'Manhattan', 'Astoria').

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

Filter by minimum bathroom count.

## `amenities` (type: `array`):

Optional filters matching RentHop's own search checkboxes (pet policy, unit/building amenities, listing type).

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

Optional free-text keyword(s) RentHop matches against listing descriptions (e.g. 'wifi', 'balcony').

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

How RentHop orders results.

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

Maximum number of listings to return.

## Actor input object example

```json
{
  "minPrice": 1500,
  "maxPrice": 4000,
  "bedrooms": "any",
  "bathrooms": "any",
  "sortBy": "hopscore",
  "maxItems": 50
}
```

# Actor output Schema

## `listings` (type: `string`):

Dataset containing all scraped apartment listings.

# 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 = {
    "minPrice": 1500,
    "maxPrice": 4000,
    "bedrooms": "any",
    "bathrooms": "any",
    "sortBy": "hopscore",
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/renthop-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 = {
    "minPrice": 1500,
    "maxPrice": 4000,
    "bedrooms": "any",
    "bathrooms": "any",
    "sortBy": "hopscore",
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/renthop-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 '{
  "minPrice": 1500,
  "maxPrice": 4000,
  "bedrooms": "any",
  "bathrooms": "any",
  "sortBy": "hopscore",
  "maxItems": 50
}' |
apify call crawlerbros/renthop-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlerbros/renthop-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/GpAPdyp12eGuEUonV/builds/2yp52ebE5bGCFHZFm/openapi.json
