# Airbnb API Scraper (`rl1987/airbnb-api-scraper`) Actor

Scrapes Airbnb listings, details, and reviews via Airbnb's anonymous GraphQL API.

- **URL**: https://apify.com/rl1987/airbnb-api-scraper.md
- **Developed by:** [R.L.](https://apify.com/rl1987) (community)
- **Categories:** Travel
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 search results

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

Extract **Airbnb** listings, details, ratings, and guest reviews straight from Airbnb's own mobile GraphQL API — no HTML parsing, no browser, no login required. Just give it a destination and check-in/check-out dates and it returns clean, structured JSON for every matching listing. Try it directly on [Airbnb](https://www.airbnb.com).

Run on the [Apify platform](https://apify.com) to get instant API access to results, scheduling, webhooks, and dataset export in JSON, CSV, Excel, HTML, or XML — no infrastructure to maintain.

### Why use Airbnb API Scraper?

- **Market research** — compare pricing, amenities, and guest ratings across a destination.
- **Competitor monitoring** — track how similar listings are priced and reviewed over time.
- **Lead generation** — build a dataset of hosts/listings in a target area for outreach or analysis.
- **Review mining** — pull guest review text at scale for sentiment analysis or reputation tracking.

### How to use Airbnb API Scraper

1. Click **Try for free**.
2. Enter one or more destinations in **Search queries** (e.g. `Chiang Mai, Thailand`).
3. Set **Check-in date** and **Check-out date**.
4. Optionally cap **Max listings per search query** and **Max reviews per listing**.
5. Click **Start** and download your results from the **Dataset** tab once the run finishes.

### Input

Configure the Actor via the **Input** tab. Key fields:

| Field | Description |
|---|---|
| `searchQueries` | Destination search terms (city/region names), one per line. |
| `checkIn` / `checkOut` | Stay dates in `YYYY-MM-DD` format. |
| `maxListingsPerQuery` | Cap on listings scraped per destination (`0` = all results). |
| `scrapeListingDetails` | Fetch full listing detail per result (description, amenities, rating). |
| `scrapeReviews` | Fetch guest reviews per listing (requires listing details). |
| `maxReviewsPerListing` | Cap on reviews fetched per listing (`0` = skip reviews). |
| `proxyConfiguration` | Optional Apify Proxy config; not required for the API to respond, but recommended for larger runs. |

```json
{
    "searchQueries": ["Chiang Mai, Thailand"],
    "checkIn": "2026-09-01",
    "checkOut": "2026-09-03",
    "maxListingsPerQuery": 20,
    "scrapeListingDetails": true,
    "scrapeReviews": true,
    "maxReviewsPerListing": 20
}
```

### Output

One dataset item per listing, e.g.:

```json
{
    "searchQuery": "Chiang Mai, Thailand",
    "listingId": "RGVtYW5kU3RheUxpc3Rpbmc6MjUxMTk5MDk=",
    "name": "M.I.N.D. Villa 3",
    "url": "https://www.airbnb.com/rooms/25119909",
    "checkIn": "2026-09-01",
    "checkOut": "2026-09-03",
    "rating": 4.84,
    "reviewsCount": 340,
    "price": "$39",
    "priceQualifier": "total",
    "title": "M.I.N.D. Villa 3",
    "propertyType": "Private room in serviced apartment in Chiang Mai, Thailand",
    "description": "A new renovated place in the heart of old town, Chiang Mai city, ...",
    "checkInTime": "Check-in: 1:00 PM - 12:00 AM",
    "checkOutTime": "Checkout before 11:00 AM",
    "guests": 2,
    "bedrooms": 1,
    "beds": 1,
    "baths": 1,
    "amenities": ["Wifi", "Air conditioning", "Free parking on premises", "..."],
    "photos": ["https://a0.muscache.com/im/pictures/....jpg", "..."],
    "location": { "subtitle": "Chiang Mai, Thailand", "lat": 18.7837, "lng": 98.9817 },
    "host": {
        "name": "Patanapol",
        "isSuperhost": true,
        "isVerified": true,
        "yearsHosting": 8,
        "ratingAverage": 4.84,
        "ratingCount": 1236,
        "responseRate": "Response rate: 100%",
        "responseTime": "Responds within an hour"
    },
    "reviewsScraped": 20,
    "reviews": [
        { "id": "...", "rating": 5, "comments": "Great stay, ...", "createdAt": "...", "reviewer": "Alex" }
    ]
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel from the **Dataset** tab or via the API.

#### Data table

| Field | Description |
|---|---|
| `listingId` | Airbnb internal listing ID (base64). |
| `name` | Listing title. |
| `url` | Public `airbnb.com/rooms/<id>` URL. |
| `checkIn` / `checkOut` | Trip dates from the Actor input, echoed on every item. |
| `checkInTime` / `checkOutTime` | This listing's check-in/checkout time window (e.g. `"Check-in: 1:00 PM - 12:00 AM"`), when Airbnb reports one. |
| `rating` / `reviewsCount` | Average guest rating and total review count reported by Airbnb. |
| `price` / `priceQualifier` | Displayed price for the search dates and what it covers (e.g. `"total"`). |
| `propertyType`, `description`, `guests`, `bedrooms`, `beds`, `baths` | Listing detail fields. |
| `amenities` | Flat list of amenity names. |
| `photos` | Listing photo URLs. |
| `location` | Neighborhood/city text plus approximate lat/lng. |
| `host` | Host name, Superhost/verification status, tenure, rating, response stats. |
| `reviewsScraped` | Number of reviews actually fetched in this run. |
| `reviews` | Array of scraped review objects (rating, comment text, author, date). |

### Cost estimation

This Actor calls Airbnb's API directly (no browser rendering), so it's cheap to run — expect a few hundred listings with details and reviews to use well under 1 compute unit on the Apify free tier.

### Tips

- Leave `maxListingsPerQuery` at a modest value while testing; raise it once you've confirmed the destination resolves the results you expect.
- Set `scrapeReviews: false` (or `maxReviewsPerListing: 0`) if you only need listing metadata — this significantly reduces run time and requests for large searches.

### FAQ

**Is this legal?** This Actor only calls Airbnb's own publicly reachable API with the same requests the official Airbnb app makes. You are responsible for using scraped data in compliance with Airbnb's Terms of Service and applicable law in your jurisdiction.

**Do I need an Airbnb account or API key?** No — the underlying API endpoints used here require no authentication.

**Something's not working / I need a custom feature.** Open an issue on the Actor's Issues tab, or reach out about a custom scraping solution.

# Actor input Schema

## `searchQueries` (type: `array`):

Destination search terms, e.g. city or region names, exactly as you'd type them into the Airbnb search box.

## `checkIn` (type: `string`):

Check-in date in YYYY-MM-DD format.

## `checkOut` (type: `string`):

Check-out date in YYYY-MM-DD format.

## `maxListingsPerQuery` (type: `integer`):

Maximum number of listings to scrape for each search query (0 = unlimited, scrape all results returned by the API).

## `scrapeListingDetails` (type: `boolean`):

Fetch full listing detail (description, amenities, rating summary, ...) for each listing found in search results.

## `scrapeReviews` (type: `boolean`):

Fetch guest reviews for each listing. Requires 'Scrape listing details' to be enabled.

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

Maximum number of reviews to fetch per listing (0 = don't fetch reviews).

## `maxConcurrency` (type: `integer`):

Maximum number of listings/searches scraped in parallel. Higher values finish faster but increase the chance of IP-based rate limiting - lower it if you see request failures.

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

Airbnb's API is anonymous and doesn't require a proxy, but Apify Proxy is recommended for larger runs to avoid IP-based rate limiting.

## Actor input object example

```json
{
  "searchQueries": [
    "Chiang Mai, Thailand"
  ],
  "checkIn": "2026-09-01",
  "checkOut": "2026-09-03",
  "maxListingsPerQuery": 20,
  "scrapeListingDetails": true,
  "scrapeReviews": true,
  "maxReviewsPerListing": 20,
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (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 = {
    "searchQueries": [
        "Chiang Mai, Thailand"
    ],
    "checkIn": "2026-09-01",
    "checkOut": "2026-09-03"
};

// Run the Actor and wait for it to finish
const run = await client.actor("rl1987/airbnb-api-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 = {
    "searchQueries": ["Chiang Mai, Thailand"],
    "checkIn": "2026-09-01",
    "checkOut": "2026-09-03",
}

# Run the Actor and wait for it to finish
run = client.actor("rl1987/airbnb-api-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 '{
  "searchQueries": [
    "Chiang Mai, Thailand"
  ],
  "checkIn": "2026-09-01",
  "checkOut": "2026-09-03"
}' |
apify call rl1987/airbnb-api-scraper --silent --output-dataset

```

## MCP server setup

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