# Airbnb Reviews Scraper (`datapilot/airbnb-reviews-scraper`) Actor

Extracts review IDs, listing names, room types, neighbourhoods, reviewer names, review dates, ratings, review text, and listing URLs. Supports city search, accommodation-type filtering, keyword-based review filtering, Streams compressed CSV data efficiently matched reviews to the Apify Dataset

- **URL**: https://apify.com/datapilot/airbnb-reviews-scraper.md
- **Developed by:** [Data Pilot](https://apify.com/datapilot) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 88.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 scraped airbnb property reviews

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## Airbnb Reviews Scraper

🏠 **Airbnb Reviews Scraper** is a powerful Apify Actor designed to discover and extract large-scale **Airbnb reviews** data for any supported city. It returns detailed **Airbnb reviews** records including review text, reviewer name, review date, listing name, room type, neighbourhood, listing rating, and a direct listing URL. Whether you are doing sentiment analysis, hospitality research, or competitor benchmarking, the Airbnb Reviews Scraper delivers structured **Airbnb reviews** intelligence quickly.

The Actor reads the public Inside Airbnb data catalog, finds the latest complete snapshot for your city, and streams the compressed review files directly into the Apify Dataset. With room type filtering, keyword filtering, duplicate protection, proxy fallback, and PPE billing, it makes **Airbnb reviews** collection fast, memory-friendly, and easy to automate.

***

### 📋 Table of Contents

- [Features](#-features)
- [How It Works](#-how-it-works)
- [Input](#-input)
- [Output](#-output)
- [Technical Stack](#-technical-stack)
- [Data Fields](#-data-fields-explained)
- [Filters](#-filters)
- [Use Cases](#-use-cases)
- [Quick Start](#-quick-start)
- [Configuration](#-configuration)
- [Plans & Billing](#-plans--billing)
- [Important Notes](#-important-notes)
- [Support](#-support)

***

### 🔥 Features

- **City-Based Search** – Enter a city name (for example `chicago`) and get **Airbnb reviews** for that destination.
- **Latest Snapshot Detection** – Automatically picks the most recent snapshot that has both listings and reviews files.
- **Flexible City Matching** – Exact match on the city name first, then partial match on the place path.
- **Room Type Filter** – Filter **Airbnb reviews** by Entire home/apt, Private room, Shared room, or Hotel room.
- **Keyword Filter** – Keep only **Airbnb reviews** whose text contains your keyword (case-insensitive).
- **Listing Context** – Every review includes listing name, room type, neighbourhood, rating, and listing URL.
- **Clean Review Text** – Removes HTML tags and `<br>` breaks, decodes HTML entities, and normalizes whitespace.
- **Streaming Download** – Reads the `.csv.gz` files line by line without downloading the whole file first.
- **Duplicate Protection** – Skips repeated review IDs so each **Airbnb review** appears once.
- **Direct-First Proxy Mode** – Tries a direct connection first and falls back to Apify Proxy if needed.
- **Browser Impersonation** – Uses `curl_cffi` with Chrome impersonation for reliable requests.
- **Max Results Control** – Configure how many **Airbnb reviews** to collect per run.
- **PPE Billing Integration** – Pay-per-event billing for each result saved on paid plans.
- **Charge Limit Handling** – Stops automatically when the user's spending limit is reached.
- **Real-Time Dataset Push** – Each record is pushed to the Dataset as soon as it is found.
- **Detailed Logging** – Clear logs for plan type, progress, charges, and final summary.
- **Asyncio-Friendly** – Blocking work runs in an executor, so the Actor stays non-blocking.

***

### ⚙️ How It Works

The Airbnb Reviews Scraper takes a city name and optional filters as input. It loads the Inside Airbnb catalog page, finds the best matching city, and selects the latest snapshot that contains both a listings file and a reviews file. It first reads listing details (name, room type, neighbourhood, rating, URL), then streams the reviews file, applies your filters, and pushes each matching review to the Dataset.

**Key Processing Steps:**

1. **Input Parsing** – Read city, room type, keyword, and max results from Actor input
2. **Plan Check** – Detect paid vs free Apify user and apply the correct limits
3. **Proxy Setup** – Prepare Apify Proxy as a fallback (direct connection is tried first)
4. **Catalog Loading** – Fetch and parse the Inside Airbnb data catalog
5. **City Matching** – Find the city and its latest complete snapshot
6. **Listings Loading** – Stream listing headers (name, room type, neighbourhood, rating, URL)
7. **Room Type Filtering** – Build the set of allowed listing IDs if a room type is selected
8. **Review Streaming** – Stream and decompress the reviews file line by line
9. **Filtering** – Skip empty reviews and reviews that do not contain the keyword
10. **Deduplication** – Skip review IDs that were already saved
11. **Dataset Push** – Push each **Airbnb review** record to the Apify Dataset
12. **PPE Charging** – Charge one `result-scrape` event per saved result (paid users)
13. **Limit Control** – Stop at max results, free-tier limit, or spending limit
14. **Completion** – Log a summary and set the final status message

**Key Benefits:**

- Collect **Airbnb reviews** for sentiment and topic analysis
- Compare guest feedback across neighbourhoods and room types
- Find complaints and praise with keyword filtering
- Build datasets for NLP, machine learning, and research
- Benchmark hospitality quality across cities
- Export clean, structured data in JSON, CSV, or Excel

***

### 📥 Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `city` | string | `chicago` | City name to collect **Airbnb reviews** for |
| `roomType` | string | `all` | `all`, `entire`, `private`, `shared`, or `hotel` |
| `keyword` | string | empty | Only keep **Airbnb reviews** containing this word or phrase |
| `maxReviews` | integer | `100` | Maximum number of **Airbnb reviews** to save (`maxResults` is also accepted) |
| `proxyConfiguration` | object | optional | Apify Proxy settings, used as a fallback |

**Example Input:**

```json
{
  "city": "chicago",
  "roomType": "entire",
  "keyword": "clean",
  "maxReviews": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

**Minimal Input:**

```json
{
  "city": "paris",
  "maxReviews": 100
}
```

**Room Type Values:**

| Value | Matches |
|-------|---------|
| `all` | Every room type |
| `entire` | Entire home/apt |
| `private` | Private room |
| `shared` | Shared room |
| `hotel` | Hotel room |

***

### 📤 Output

The Actor pushes **Airbnb reviews** records with the following structure:

| Field | Type | Description |
|-------|------|-------------|
| `reviewId` | string | Unique review ID |
| `listingId` | string | ID of the reviewed listing |
| `listingName` | string | Listing title |
| `roomType` | string | Room type of the listing |
| `neighbourhood` | string | Neighbourhood of the listing |
| `reviewerName` | string | First name of the reviewer |
| `reviewDate` | string | Date the review was posted (YYYY-MM-DD) |
| `rating` | number | Overall rating of the listing (see notes) |
| `reviewText` | string | Cleaned full review text |
| `listingUrl` | string | Link to the Airbnb listing |
| `source` | string | Data source label with city and snapshot date |
| `scrapedAt` | string | UTC timestamp of extraction |

**Example Output Record:**

```json
{
  "reviewId": "123456789",
  "listingId": "98765",
  "listingName": "Sunny loft near downtown",
  "roomType": "Entire home/apt",
  "neighbourhood": "Lincoln Park",
  "reviewerName": "Anna",
  "reviewDate": "2025-06-14",
  "rating": 4.87,
  "reviewText": "Very clean place, great location, and the host was super helpful.",
  "listingUrl": "https://www.airbnb.com/rooms/98765",
  "source": "Booking & Inside Data: Chicago (2025-09-22)",
  "scrapedAt": "2025-11-23T10:15:30.123456Z"
}
```

***

### 🧰 Technical Stack

- **Decompression:** `zlib` streaming for `.csv.gz` files
- **Parsing:** `csv`, `re`, `html`, `unicodedata`
- **Proxy:** Apify Proxy (fallback mode)
- **Billing:** Apify PPE (Pay-Per-Event) system
- **Storage:** Apify Dataset and Key-Value Store (trial state)
- **Platform:** Apify Actor serverless environment

***

### 📊 Data Fields Explained

#### **Review Content**

- **reviewText**: Cleaned review text with HTML removed
- **reviewerName**: Reviewer's first name as published in the dataset
- **reviewDate**: When the review was posted

#### **Identification**

- **reviewId**: Unique ID used for deduplication
- **listingId**: Listing that received the review

#### **Listing Context**

- **listingName**: Title of the listing
- **roomType**: Entire home/apt, Private room, Shared room, or Hotel room
- **neighbourhood**: Cleansed neighbourhood name
- **rating**: Overall listing rating (`review_scores_rating`)
- **listingUrl**: Direct link to the listing

#### **Metadata**

- **source**: City and snapshot date used for this run
- **scrapedAt**: UTC time when the record was created

***

### 🎛️ Filters

#### **Room Type**

Limits **Airbnb reviews** to listings of one category, such as `entire` for entire homes and apartments.

#### **Keyword**

Keeps only **Airbnb reviews** that contain your word or phrase. Matching is case-insensitive.

Good keyword ideas: `clean`, `noisy`, `wifi`, `parking`, `host`, `check-in`, `refund`

#### **Combining Filters**

Room type and keyword work together. For example, `roomType: private` with `keyword: noisy` returns only **Airbnb reviews** of private rooms that mention noise.

***

### 🎯 Use Cases

- **Sentiment Analysis** – Analyze guest opinions across thousands of **Airbnb reviews**
- **Hospitality Research** – Understand what guests love and complain about
- **Competitor Benchmarking** – Compare quality across neighbourhoods and room types
- **Host Insights** – Learn which features drive positive **Airbnb reviews**
- **Topic Modeling** – Find common themes in guest feedback
- **NLP & Machine Learning** – Build training datasets from real review text
- **Market Research** – Study travel trends and guest expectations per city
- **Tourism Analysis** – Compare destinations using review volume and content
- **Reputation Monitoring** – Track guest feedback with keyword searches
- **Academic Research** – Collect public **Airbnb reviews** data for studies
- **Investment Research** – Evaluate neighbourhood quality for short-term rentals
- **Content Creation** – Find real guest quotes and trends for travel content

***

### 🚀 Quick Start

#### **1. Prepare Input**

Open the Actor in Apify Console and enter:

```json
{
  "city": "chicago",
  "roomType": "all",
  "maxReviews": 100
}
```

#### **2. Run the Actor**

Click **Start**. The Actor will:

- Load the data catalog and find your city
- Pick the latest complete snapshot
- Stream listings and reviews
- Apply your filters
- Push **Airbnb reviews** to the Dataset

#### **3. View & Download Results**

- **Results Tab**: All **Airbnb reviews** records
- **Export**: JSON, CSV, Excel, XML, HTML
- **Filter & Sort**: By date, neighbourhood, room type, or rating

***

### ⚙️ Configuration

#### **City**

```json
{ "city": "chicago" }
```

Use the plain city name. If several places match, the first match is used.

#### **Room Type**

```json
{ "roomType": "private" }
```

#### **Keyword**

```json
{ "keyword": "wifi" }
```

#### **Result Limit**

Small sample:

```json
{ "maxReviews": 50 }
```

Large run (paid plan):

```json
{ "maxReviews": 10000 }
```

#### **Proxy**

```json
{
  "proxyConfiguration": { "useApifyProxy": true }
}
```

The Actor always tries a direct connection first and uses the proxy only if the direct request fails.

***

### 💰 Plans & Billing

#### **Free Apify Users**

- 1st start only
- Up to **10** results
- A 2nd start is blocked until the user upgrades to a paid Apify plan

#### **Paid Apify Users**

- Unlimited starts
- Unlimited results (up to your `maxReviews` and spending limit)

#### **PPE (Pay-Per-Event) Billing**

- **Event Name:** `result-scrape`
- **Charge:** One event per **Airbnb review** saved to the Dataset (paid users)
- **Limit Handling:** The Actor stops automatically when your spending limit is reached

```
Total Cost = Number of saved results x price per result-scrape event
```

***

### ⚠️ Important Notes

#### **Data Source**

- Data comes from the public **Inside Airbnb** datasets, not from live Airbnb pages.
- Each run uses the **latest available snapshot** for the city, so very recent **Airbnb reviews** may not be included.
- Not every city on Inside Airbnb has a complete listings and reviews snapshot.
- The `rating` field is the listing's overall rating, not a score given in each individual review.
- Listing details (name, room type, neighbourhood, rating) are read from the first 10,000 listings of the city file. Reviews for listings outside that range may show default values such as `Accommodation` and `Standard`, and room type filtering applies only to the listings that were loaded.

#### **Legal & Compliance**

- Review the Inside Airbnb data license and terms before commercial use.
- Reviews are public data written by guests. Respect reviewer privacy and applicable laws such as GDPR.
- Do not republish review text in a way that violates the original terms or the rights of the authors.
- This Actor is not affiliated with or endorsed by Airbnb or Inside Airbnb.

#### **Best Practices**

- Start with a small `maxReviews` value to test your filters.
- Use specific keywords to reduce noise.
- Re-run periodically to pick up newer snapshots.
- Verify data quality before using it for important decisions.

***

### 🧑‍💻 Support

- **Issues:** Report problems via Apify Console and include your input and run link
- **Documentation:** See the Actor details page
- **Feature Requests:** Suggestions are welcome

**Extract Airbnb reviews effortlessly!** 🏠🚀

# Actor input Schema

## `city` (type: `string`):

City or region name (e.g. chicago, london, paris, new-york-city).

## `roomType` (type: `string`):

Filter by room category.

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

Filter reviews containing specific word (optional).

## `maxReviews` (type: `integer`):

Maximum number of reviews to harvest.

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

Apify Proxy configuration.

## Actor input object example

```json
{
  "city": "chicago",
  "roomType": "all",
  "maxReviews": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `crawlResults` (type: `string`):

No description

## `reviewsOverview` (type: `string`):

No description

# 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 = {
    "city": "chicago",
    "maxReviews": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("datapilot/airbnb-reviews-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 = {
    "city": "chicago",
    "maxReviews": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("datapilot/airbnb-reviews-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 '{
  "city": "chicago",
  "maxReviews": 100
}' |
apify call datapilot/airbnb-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datapilot/airbnb-reviews-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/Owhet45C71ohPGYZd/builds/F1lQCe6YQRqw8S2M2/openapi.json
