# Airbnb Listing Scraper — Amenities, Host & Reviews (`thenetaji/airbnb-stay-scraper`) Actor

Get everything on an Airbnb listing page. Paste one room link or a whole list and each stay comes back with its full description, the amenity list marking what it does and does not have, the host and their superhost status, exact coordinates, and review scores split by category.

- **URL**: https://apify.com/thenetaji/airbnb-stay-scraper.md
- **Developed by:** [The Netaji](https://apify.com/thenetaji) (community)
- **Categories:** Travel, Real estate, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.10 / 1,000 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/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

## Airbnb Listing Scraper

The Actor resolves an Airbnb stay to its full record: the host's description, the amenity list with
availability marked on each entry, the host's identity and standing, exact coordinates, and review
scores broken out by category. A stay that no longer exists is skipped with a warning rather than
returned as an empty record.

### Accepted input

`stay_ids` is required and takes one or more stays. Room page links and bare numeric stay IDs are
both accepted, and the two may be mixed in one list. A link is reduced to its `/rooms/<id>`
segment, so the tracking query string Airbnb appends to shared links can be left in place.

Each stay is fetched separately, because each is its own page.

```json
{
  "stay_ids": [
    "https://www.airbnb.com/rooms/4518031",
    "1348596009084608060"
  ]
}
```

Only the `/rooms/` identifier resolves. Airbnb search results also carry a `propertyId` on some
stays, which is a number of the same shape and is not interchangeable; see
`Why an ID can return nothing` below.

### Response fields

Every record carries `id`, `url`, `name`, `description`, `property_type`, `space_type`,
`person_capacity`, `latitude`, `longitude`, `overview`, `amenities`, `highlights`, `host`,
`host_name`, `host_is_superhost`, `rating`, `reviews`, `rating_categories`, and `stay_detail`.

`amenities` lists every amenity Airbnb displays, each with an `available` flag. Entries marked
`false` are amenities the stay explicitly does not have; Airbnb ships those in the same list as the
ones it does, which is how the struck-through entries are rendered on the page. Dropping the flag
would turn an absent amenity into a present one, so it is preserved.

`rating_categories` holds the per-category scores — `cleanliness`, `accuracy`, `checkin`,
`communication`, `location`, and `value` — as numbers. `rating` remains the overall score. A stay
without reviews returns `null` for all of these rather than `0`.

`host` carries the host's `name`, `is_superhost`, `is_verified`, `profile_picture`, `reviews`,
`rating`, `years_hosting`, `response_rate`, and `response_time`. `host_name` and
`host_is_superhost` are lifted to the top level for spreadsheet use. `reviews` and `years_hosting`
are returned as numbers; Airbnb sends several of these as strings, and they are converted so that
one field does not change type between records.

`stay_detail` holds the complete record for anything not flattened into a column of its own.

```json
{
  "id": "4518031",
  "url": "https://www.airbnb.com/rooms/4518031",
  "name": "4-6 Bed Mixed Dorm Bed in SF's Best Hostel",
  "property_type": "BNB",
  "space_type": "SHARED_ROOM",
  "person_capacity": 5,
  "overview": ["2 bunk beds", "10 shared bathrooms"],
  "host_name": "Kevin",
  "host_is_superhost": true,
  "rating": 4.74,
  "reviews": 635,
  "rating_categories": {
    "cleanliness": 4.71,
    "location": 4.81,
    "value": 4.51
  }
}
```

### Why an ID can return nothing

Airbnb does not answer an unknown stay ID with a 404. It returns an ordinary page, of ordinary
size, whose payload is empty. Nothing about the response status distinguishes a removed listing
from a live one.

The Actor treats that empty payload as the real answer it is: the stay is logged as not found and
skipped, and no record is written. It is not reported as an error, because a listing being gone is
a legitimate outcome rather than a failure of the run.

The most common cause is a `propertyId` used in place of a stay ID. Both appear on Airbnb search
results, both are long numbers, and only the stay ID resolves — a `propertyId` requested against
`/rooms/` produces exactly this empty page. The `id` field returned by the Airbnb Search Scraper is
always the correct one.

### Behaviour on partial results

A list input is processed to the end regardless of individual failures. A stay that cannot be
fetched, whether removed or erroring upstream, is logged and skipped while the remainder continue,
so one dead link in a list of fifty does not cost the other forty-nine.

Records are therefore not guaranteed to match the input list one for one. Matching on the returned
`id` is reliable; matching on position is not.

### Related Actors

The **Airbnb Search Scraper** finds stays by destination when no IDs are held, with dates and guest
counts applied, and can attach this same detail to every result in one run through its
`enrichStayDetails` option.

# Actor input Schema

## `stay_ids` (type: `array`):

One or more stays to fetch. Paste room page links, or the numeric stay IDs the search scraper returns — both work, and you can mix them.

## Actor input object example

```json
{
  "stay_ids": [
    "4518031"
  ]
}
```

# Actor output Schema

## `dataset` (type: `string`):

All records scraped by this run

# 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 = {
    "stay_ids": [
        "https://www.airbnb.com/rooms/4518031"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thenetaji/airbnb-stay-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 = { "stay_ids": ["https://www.airbnb.com/rooms/4518031"] }

# Run the Actor and wait for it to finish
run = client.actor("thenetaji/airbnb-stay-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 '{
  "stay_ids": [
    "https://www.airbnb.com/rooms/4518031"
  ]
}' |
apify call thenetaji/airbnb-stay-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thenetaji/airbnb-stay-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/9oXnwMJVG8Aiuftd4/builds/pTs79uzFuojHTuy13/openapi.json
