# 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
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.54 / 1,000 search results

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

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` | Target number of listings per destination (`0` = everything Airbnb will paginate through). Airbnb caps its own search pagination at ~320 listings per query regardless of how many it says match, so larger targets are reported as a shortfall in the log and run status rather than silently truncated. |
| `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": "$91 USD",
    "priceQualifier": "total",
    "priceAmount": 91.0,
    "priceCurrency": "USD",
    "priceOriginal": "$143 USD",
    "priceOriginalAmount": 143.0,
    "priceTotal": "$144.05",
    "priceTotalAmount": 144.05,
    "priceDiscountAmount": -51.66,
    "priceStyle": "REGULATED_TOTAL",
    "priceBreakdown": [
      { "label": "2 nights x $66.40", "kind": "line",     "amountString": "$132.80", "amount": 132.8, "currency": "$" },
      { "label": "Special offer",     "kind": "discount", "amountString": "-$51.66", "amount": -51.66, "currency": "$" },
      { "label": "Total",             "kind": "total",    "amountString": "$144.05", "amount": 144.05, "currency": "$" }
    ],
    "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"`, `"for 2 nights"`). Kept as the string Airbnb renders, currency symbol included. |
| `priceAmount` / `priceCurrency` | The same figure as a **number** plus its currency, so a spreadsheet can total the column. `priceCurrency` is the ISO code when Airbnb sends one and otherwise the raw symbol - `$` is shared by USD, CAD and AUD, so it is reported as `"$"` rather than guessed. |
| `priceOriginal` / `priceOriginalAmount` | Pre-discount price, struck through on Airbnb, when the listing is discounted. `null` otherwise. |
| `priceTotal` / `priceTotalAmount` | Stay total from Airbnb's own "Price details" panel. |
| `priceDiscountAmount` | Sum of the discount lines, negative (e.g. `-51.66`). `null` when nothing is discounted. |
| `priceStyle` | How Airbnb chose to present the price, e.g. `REGULATED_TOTAL` or `TOTAL_ONLY`. Useful when comparing rows across markets, since regulated markets must show an all-in total. |
| `priceBreakdown` | Every line of the "Price details" panel as an array of `{label, kind, amountString, amount, currency, originalAmountString, originalAmount}`. `kind` is `line`, `discount` or `total`. The scalar columns above are derived from this, so CSV/Excel users do not have to touch the nested array. |
| `propertyType`, `description`, `guests`, `bedrooms`, `beds`, `baths` | Listing detail fields. `baths` is fractional when the listing has a half bathroom (`1.5`). A listing that is a room within a property publishes only its bed count, so the other three are null there. |
| `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 uses **pay-per-event** billing — you are charged per record actually delivered,
never for a request that came back with nothing. Three events can fire:

| Event | Fires |
| --- | --- |
| Search result | once per listing returned by a search |
| Listing details | once more for that listing, when **Scrape listing details** is on |
| Guest review | once per review returned, when **Scrape reviews** is on |

**The current price of each event, and whether Apify platform usage is billed on top, are on
this Actor's Pricing tab.** They are deliberately not repeated here: prices change, and a
figure copied into this page is a figure that can quietly go stale.

What does not change is the *shape* of the bill, which is worth knowing before a large run.
Reviews are charged per review and `maxReviewsPerListing` defaults to 20, so reviews dominate
the event count rather than listings do: a 26-listing run with the defaults fired 474 review
events against 26 search events and 26 details events. Setting `scrapeReviews: false` (or
`maxReviewsPerListing: 0`) removes that charge entirely, and `scrapeListingDetails: false`
removes the details charge.

### Tips

- Leave `maxListingsPerQuery` at a modest value while testing; raise it once you've confirmed the destination resolves the results you expect.
- Airbnb's search pagination runs out at ~320 listings per query (8 pages of 40), well short of the "Over 1,000 homes" its result header advertises for large cities. Counts from a single query are therefore a sample, not that city's total supply - split a city into neighbourhoods, date ranges or filters if you need closer to full coverage.
- 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.

### Travel & booking toolkit

Part of the **Travel & booking toolkit** — search and pricing data across accommodation, transport, and travel-planning sites worldwide:

- [Booking.com API Scraper](https://apify.com/rl1987/booking-api-scraper) — Scrape Booking.com properties, live prices and full room-rate tables.
- [Agoda API Scraper](https://apify.com/rl1987/agoda-scraper) — Agoda search results, pricing and property details via GraphQL.
- [Hostelworld API Scraper](https://apify.com/rl1987/hostelworld-api-scraper) — Hostelworld hostels & properties with full listing + property detail.
- [FlixBus API Scraper](https://apify.com/rl1987/flixbus-api-scraper) — FlixBus trips between cities — times, stations, duration, prices.
- [Changi Airport Timetable Scraper](https://apify.com/rl1987/sin-airport-timetable) — Arrival and departure flight timetables from Changi Airport (SIN).
- [eSIMDB Travel eSIM Scraper](https://apify.com/rl1987/esimdb-scraper) — Travel eSIM data plans from esimdb.com by country/region.

### Did you find this useful?

Rate this actor on Apify! Your feedback helps other users find it and helps us keep improving it.

# 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`):

First night of the stay. Pick a date, or switch the picker to a relative value like "30 days" — relative is the one to use in a saved task or a schedule, because Airbnb does <b>not</b> reject a past stay: it returns listings with an undated price, so a date that has gone stale quietly bills you for prices that are not for your dates.

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

Last day of the stay, absolute or relative the same way as check-in. Must be after check-in.

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

How many listings to scrape per search query. This is a target, not a cap on a short list - the Actor follows Airbnb's search pagination until it has this many. Airbnb itself stops paginating at roughly 320 listings per query, even in cities where it advertises "Over 1,000 homes"; when that happens the run log and status message report the shortfall explicitly. Use 0 for everything Airbnb will hand over.

## `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": "30 days",
  "checkOut": "33 days",
  "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": "30 days",
    "checkOut": "33 days"
};

// 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": "30 days",
    "checkOut": "33 days",
}

# 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": "30 days",
  "checkOut": "33 days"
}' |
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/HCDtv6TZL1lhGKmFY/openapi.json
