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

Scrape guest reviews from any Airbnb listing URL, with the rating, date, text, and the host reply. Sort by newest or lowest rated, or collect only what was written since a date to track what guests say over time.

- **URL**: https://apify.com/tri_angle/airbnb-reviews-scraper.md
- **Developed by:** [Tri⟁angle](https://apify.com/tri_angle) (Apify)
- **Categories:** Travel, Real estate
- **Stats:** 1,459 total users, 250 monthly users, 99.9% runs succeeded, 34 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $2.30 / 1,000 reviews

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

### What does Airbnb Reviews Scraper do?

Airbnb Reviews Scraper will enable you to extract reviews data from Airbnb by using direct room URLs. You can scrape review text, review date, review rating and more.

### Why scrape Airbnb?

Airbnb has millions of users and is a popular platform for finding accommodation and travel experiences. Scraping reviews from Airbnb can provide valuable insights for businesses in the hospitality industry, market researchers, and travel enthusiasts.

Here are just some of the ways you could use that data:

- Analyzing trends in guest satisfaction
- Monitoring competitor performance
- Identifying popular destinations and properties
- Generating sentiment analysis reports

If you would like more inspiration on how scraping Airbnb could help your business or organization, check out our [industry pages](https://apify.com/industries).

### How to scrape Airbnb

It's easy to scrape Airbnb with Airbnb Reviews Scraper. Just follow these few steps and you'll get your data in a few minutes.

1. Click on Try for free.
2. Enter the URL of the Airbnb listing you want to scrape reviews from (e.g. "https://www.airbnb.com/rooms/12937").
3. Click on Run.
4. When Airbnb Reviews Scraper has finished, preview or download your data from the Dataset tab.

### How much will it cost to scrape Airbnb?

Apify gives you $5 free usage credits every month on the [Apify Free plan](https://apify.com/pricing). You can get 10,000 results per month from Airbnb Reviews Scraper for that, so those results will be completely free!

But if you need to scrape more data regularly from Airbnb, you should consider an Apify subscription. We recommend our [Starter plan](https://apify.com/pricing) - you can get up to 98,000 every month with this $49 monthly plan! If you need more than that, check the $499 monthly [Scale plan](https://apify.com/pricing).

### Results

```json
{
  "startUrl": "https://www.airbnb.com/rooms/12937",
  "id": "1187002287342743799",
  "language": "en",
  "text": "Such a wonderful stay! We enjoyed our trip so much because of the ease of Orestes Airbnb. We can’t wait to come back",
  "localizedText": "Such a wonderful stay! We enjoyed our trip so much because of the ease of Orestes Airbnb. We can’t wait to come back",
  "localizedReview": null,
  "createdAt": "2024-06-25T18:01:39Z",
  "reviewee": {
    "id": "50124",
    "firstName": "Orestes",
    "hostName": "Orestes",
    "pictureUrl": "https://a0.muscache.com/im/pictures/user/ebac33aa-6e5a-4279-8a92-0968ddf66ae2.jpg",
    "profilePath": "/users/show/50124",
    "profilePicture": "https://a0.muscache.com/im/pictures/user/ebac33aa-6e5a-4279-8a92-0968ddf66ae2.jpg"
  },
  "reviewer": {
    "id": "140401498",
    "firstName": "Megan",
    "hostName": "Megan",
    "pictureUrl": "https://a0.muscache.com/im/pictures/user/f00adb0c-413c-4861-9f56-83de08b20cd9.jpg",
    "profilePath": "/users/show/140401498",
    "profilePicture": "https://a0.muscache.com/im/pictures/user/f00adb0c-413c-4861-9f56-83de08b20cd9.jpg"
  },
  "reviewHighlight": "Stayed a few nights",
  "highlightType": "LENGTH_OF_STAY",
  "rating": 5,
  "response": null,
  "ratingAccessibilityLabel": "Rating, 5 stars"
}
```

### Is it legal to scrape Airbnb?

Note that personal data is protected by GDPR in the European Union and by other regulations around the world.
You should not scrape personal data unless you have a legitimate reason to do so.
If you're unsure whether your reason is legitimate, consult your lawyers.
We also recommend that you read our blog post: [is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Changelog

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

# Actor input Schema

## `startUrls` (type: `array`):

List of Airbnb room URLs to extract reviews from.

## `maxReviewsPerListing` (type: `integer`):

Maximum number of reviews to scrape from each listing. Leave empty to scrape all available reviews.

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

Order in which reviews are scraped.

## `sinceDate` (type: `string`):

Only scrape reviews on or after this date (YYYY-MM-DD). Requires sortBy: Most recent.

## `locale` (type: `string`):

Localized reviews will be extracted in this locale (language and region).

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.airbnb.com/rooms/12937"
    }
  ],
  "sortBy": "most-recent",
  "locale": "en-US"
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://www.airbnb.com/rooms/12937"
        }
    ],
    "locale": "en-US"
};

// Run the Actor and wait for it to finish
const run = await client.actor("tri_angle/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 = {
    "startUrls": [{ "url": "https://www.airbnb.com/rooms/12937" }],
    "locale": "en-US",
}

# Run the Actor and wait for it to finish
run = client.actor("tri_angle/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 '{
  "startUrls": [
    {
      "url": "https://www.airbnb.com/rooms/12937"
    }
  ],
  "locale": "en-US"
}' |
apify call tri_angle/airbnb-reviews-scraper --silent --output-dataset

```

## MCP server setup

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