# Scrape Airbnb Listing Page (`datascrapers/airbnb-listing`) Actor

Scrape data from Airbnb Listing Page.

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

## Pricing

from $1.20 / 1,000 listings

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

**Airbnb Listing Scraper** creates a structured dataset of Airbnb listings from room URLs you supply. Each dataset item is one listing and can include the listing id, name, description, photos, location, guest rules, host flags, ratings, amenities, and bathroom details. Query the source with `urls` whose values start with `https://www.airbnb.com/rooms/`. A URL that fails is skipped. Retrieve records through the Apify Dataset API or export them as JSON, CSV, Excel, XML, or another supported format.

[![Airbnb Listing Scraper — input to structured data](https://raw.githubusercontent.com/faizanalii/apify-actor-assets/main/airbnb-listing/airbnb-listing-value-demo.gif)](https://apify.com/datascrapers/airbnb-listing)

### Dataset at a glance

| Property | Value |
|---|---|
| Source | Airbnb room pages |
| Record unit | One listing |
| Input methods | Array of Airbnb room URLs |
| Main identifiers | `identifier`, `url` |
| Delivery | Apify Dataset and API |
| Export formats | JSON, CSV, Excel, XML, and other Apify dataset exports |
| Update model | Fresh records per Actor run |
| Pricing | `listing` at $0.001. Optional `host-details` at $0.001 and `review` at $0.001 each. |

### Coverage and available records

`urls` is required. Each value must start with `https://www.airbnb.com/rooms/`. An empty list stops the run. A URL that does not match that prefix raises an error for that value and stops the loop. A fetch error is logged and the Actor continues with the next URL.

The stored record is listing `1166002021288961224`, headline "Woodpecker Treehouse Retreat", in Ocala, United States. The country string in that record is `" United States"` with a leading space. `unit.category` is `PROPERTY_TYPE_TREEHOUSE`. `rating.overall_rating` is 4.85 and `rating.total_reviews` is 115. The record has 50 image objects, 40 feature objects, one bathroom, and an empty `bedrooms` array. `unit.area.size` and `unit.area.unit` are null. `story` is an empty string.

The Actor does not search by city, dates, or guest count. It does not collect a price quote or an availability calendar. Passing the same URL twice writes two rows. There is no `maxItems` field.

A URL that ends in `--testing` does not fetch Airbnb. The Actor loads a local `results.json` file and saves that object. Do not use that suffix for a live listing.

The Actor does not keep a historical archive.

### Data dictionary

Top-level keys on the stored listing. Nested objects are in the tables below. Empty strings and empty arrays are present. Nulls are marked nullable.

| Field | Type | Nullable | Description | Example |
|---|---|---:|---|---|
| `identifier` | string | No | Airbnb listing id. Same number as the room URL. | 1166002021288961224 |
| `url` | string | No | Listing URL that was requested. | https://www.airbnb.com/rooms/1166002021288961224 |
| `active` | boolean | No | True when the listing model marks the listing active. | true |
| `headline` | string | No | Listing headline. | Woodpecker Treehouse Retreat |
| `name` | string | No | Listing name line, including place and rating text when Airbnb sends it that way. | Treehouse in Ocala · ★4.85 · 1 bedroom · 1 bed · 1 bath |
| `description` | string | No | Host description. The stored value is several paragraphs. | Take some time for yourself... |
| `story` | string | No | Listing story. Empty string on the stored record. | empty |
| `unit` | object | No | Unit id, name, category, and area. | PROPERTY_TYPE_TREEHOUSE |
| `images` | array | No | Photo objects with `identifier`, `url`, and `title`. The stored record has 50. `title` is empty. | 50 items |
| `location` | object | No | Address and coordinates from the listing. | Ocala |
| `supplement` | object | No | Guest limits and house rules. | object |
| `host` | object | No | Host flags and nested host profile. | superhost true |
| `rating` | object | No | Review count, overall rating, and category scores. | 4.85 |
| `features` | array | No | Amenity objects with `name` and `description`. The stored record has 40. | Hot tub |
| `safety_features` | array | No | Objects with `name` and `note`. | Smoke alarm |
| `bathrooms` | array | No | Bathroom objects. The stored record has one full bath. | FULL_BATH |
| `bedrooms` | array | No | Bedroom objects. Empty on the stored record even though `name` mentions one bedroom. | \[] |

#### Unit object

| Field | Type | Nullable | Description | Example |
|---|---|---:|---|---|
| `identifier` | string | No | Same listing id. | 1166002021288961224 |
| `active` | boolean | No | Unit active flag. | true |
| `name` | string | No | Same display line as the listing name on this record. | Treehouse in Ocala · ★4.85 · 1 bedroom · 1 bed · 1 bath |
| `category` | string | No | Source category code. | PROPERTY_TYPE_TREEHOUSE |
| `area.size` | null | Yes | Size. Null on the stored record. | null |
| `area.unit` | null | Yes | Size unit. Null on the stored record. | null |

#### Location object

| Field | Type | Nullable | Description | Example |
|---|---|---:|---|---|
| `address.primary` | string | No | Street line. Empty on the stored record. | empty |
| `address.secondary` | string | No | Second address line. Empty on the stored record. | empty |
| `address.city` | string | No | City from the listing. | Ocala |
| `address.subdivision` | string | No | State text as returned. The stored value has a leading space. | leading space, then Florida |
| `address.postcode` | string | No | Postal code. Empty on the stored record. | empty |
| `address.country` | string | No | Country text as returned. The stored value has a leading space. | leading space, then United States |
| `coordinates.lat` | number | No | Latitude in decimal degrees. | 29.0806 |
| `coordinates.lng` | number | No | Longitude in decimal degrees. | -82.15147 |
| `show_exact` | boolean | No | Whether the listing marks coordinates as exact. | true |

#### Supplement object

| Field | Type | Nullable | Description | Example |
|---|---|---:|---|---|
| `max_guests` | integer | No | Guest cap. | 4 |
| `max_sleeps` | integer | No | Sleep cap. | 12 |
| `allows_children` | boolean | No | Children allowed. | false |
| `allows_pets` | boolean | No | Pets allowed. | false |
| `allows_events` | boolean | No | Events allowed. | false |
| `cancellation_policy` | string | No | Policy code from the listing. | MODERATE |

#### Rating object

| Field | Type | Nullable | Description | Example |
|---|---|---:|---|---|
| `total_reviews` | integer | No | Review count. | 115 |
| `overall_rating` | number | No | Overall rating. | 4.85 |
| `ratings` | array | No | Category scores. Each object has `categoryType`, `label`, and `percentage`. On this record `percentage` is a score such as 4.9, not a 0–100 percent. | array |

#### Image object

| Field | Type | Nullable | Description | Example |
|---|---|---:|---|---|
| `identifier` | string | No | Listing id repeated on the photo. | 1166002021288961224 |
| `url` | string | No | Photo URL. | muscache.com image URL |
| `title` | string | No | Caption. Empty on the stored photos. | empty |

Use `identifier` as the deduplication key. The Actor does not drop a repeated URL inside one run.

### Example dataset record

The stored listing is `https://www.airbnb.com/rooms/1166002021288961224`. The description below keeps the first sentence. The stored text continues for several paragraphs. The `images` array has 50 objects of the same shape; one is shown. `features` has 40 objects; one is shown. The host profile object is omitted here; the stored record includes it, with `superhost` true.

```json
{
  "identifier": "1166002021288961224",
  "url": "https://www.airbnb.com/rooms/1166002021288961224",
  "active": true,
  "headline": "Woodpecker Treehouse Retreat",
  "name": "Treehouse in Ocala · ★4.85 · 1 bedroom · 1 bed · 1 bath",
  "description": "Take some time for yourself and enjoy the treehouse, you will marvel at nature, you will be surrounded by beautiful birds of different types, explore the place just 10 minutes from Santos Trailhead and 35 from Rainbow Springs.",
  "story": "",
  "unit": {
    "identifier": "1166002021288961224",
    "active": true,
    "name": "Treehouse in Ocala · ★4.85 · 1 bedroom · 1 bed · 1 bath",
    "category": "PROPERTY_TYPE_TREEHOUSE",
    "area": { "size": null, "unit": null }
  },
  "images": [
    {
      "identifier": "1166002021288961224",
      "url": "https://a0.muscache.com/im/pictures/hosting/Hosting-1166002021288961224/original/49103dc7-a96a-4cfe-bf99-aaf1931e732c.jpeg",
      "title": ""
    }
  ],
  "rating": {
    "total_reviews": 115,
    "overall_rating": 4.85
  },
  "features": [
    { "name": "Hot tub", "description": "" }
  ],
  "bedrooms": []
}
```

### Query and input reference

| Input | Type | Required | Default | Accepted values | Description |
|---|---|---:|---|---|---|
| `urls` | array of strings | Yes | — | URLs starting with `https://www.airbnb.com/rooms/` | Listing pages to load. |
| `hostDetails` | boolean | No | false | true or false | Include the host profile. Charged as `host-details`. |
| `reviews` | boolean | No | false | true or false | Include guest reviews. Charged once per review. |
| `maxReviews` | integer | No | 10 | 0 or greater | Cap per listing when reviews are on. 0 means no cap. |
| `proxyConfiguration` | object | No | Apify residential | Apify proxy input | Connection used for the listing requests. |

```json
{
  "urls": [
    "https://www.airbnb.com/rooms/1166002021288961224"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

The console prefill is a normal room URL and Apify residential proxy. A URL that ends in `--testing` still loads the local sample file and does not fetch Airbnb.

### Retrieve the data through the API

This is the Apify Actor API. Airbnb does not provide this endpoint.

1. Start `datascrapers/airbnb-listing` with a JSON input.
2. Wait until the run finishes, or poll the run status.
3. Read items from the run's default dataset.
4. Page the dataset with offset and limit, or export it from the run page.

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("datascrapers/airbnb-listing").call(run_input={
    "urls": ["https://www.airbnb.com/rooms/1166002021288961224"],
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)
```

Other languages are listed on the Actor's API tab in Apify Console. Do not put a real token in a URL or in source control.

### Export and pipeline examples

| Destination | Recommended method | Typical use |
|---|---|---|
| PostgreSQL or Supabase | Dataset API or a webhook consumer | Store `identifier` as the listing key |
| Google Sheets | Apify integration | Share id, name, city, and rating |
| Amazon S3 or other cloud storage | Scheduled dataset export or an integration | Archive each run's JSON or CSV |
| A custom application | Dataset items endpoint | Join these rows to a calendar extract on the listing id |

### Data quality and record handling

Fields come from the listing model built for that room URL. Empty arrays are kept. `story` can be an empty string. `bedrooms` is empty on the stored record while `name` still says "1 bedroom", so do not infer bedroom count from `name` when the array is empty. `unit.area` can be null. The country string can include a leading space.

A URL that fails to fetch is skipped and creates no row. A URL with the wrong prefix stops the run with an error. The same `identifier` submitted twice is saved twice. Deduplicate on `identifier` after the run.

`rating.ratings[].percentage` is a category score on the same scale as the overall rating when it is present, not a 0–100 percent. Photo objects use `title`, which is empty on the stored record.

The `--testing` suffix is a local shortcut. It saves `results.json` from the Actor package and does not prove that the live page still matches that file.

### Pricing and cost examples

Each saved listing is one `listing` event at $0.001 on every plan. Host details and reviews stay off unless the input enables them. An enabled host profile with a name is one `host-details` event at $0.001. Each saved guest review is one `review` event at $0.001. Three listings with host details and 10 reviews each are $0.003 + $0.003 + $0.030. A URL that fails is not saved and is not charged. Compute time and residential proxy traffic are platform usage on top of those events.

### Limitations and responsible data use

The Actor reads public Airbnb room URLs and the listing fields those pages expose to this model. It does not return a price, a calendar, or a historical archive. Each run reflects the listing at the time of the request.

`name` and the structured room arrays can disagree. Coordinates and address lines are only as complete as the listing payload. You are responsible for using the dataset in line with Airbnb terms, privacy rules, and any contract that applies to your project. This page does not provide a legal conclusion about a particular use.

### Dataset questions

#### What does one dataset item represent?

One Airbnb room URL that returned a listing object.

#### Which field should I use as a unique identifier?

Use `identifier`. It is the listing id in the room URL.

#### Are fields nullable or conditional?

`unit.area.size` and `unit.area.unit` are null on the stored record. `bedrooms` is an empty array. `story` and image `title` are empty strings. A failed URL produces no row.

#### Can I retrieve the records as CSV or JSON?

Yes. Download JSON, CSV, Excel, XML, or another format from the Apify Console export menu, or read JSON through the Dataset API. Nested objects flatten or stringify depending on the export format.

#### How do I paginate large datasets?

The Actor walks the `urls` array. It does not page a search. After the run, page the Apify dataset with offset and limit.

#### Does the Actor return historical data?

No. A record is the listing observed during that run.

#### What counts as a billable result?

Each saved listing is one `listing` event at $0.001. A host profile is one `host-details` event only when that option is on and a host name was found. Each extracted review is one `review` event. A skipped URL is not charged.

### Related datasets from Data Scrapers

- [Airbnb Address Finder](https://apify.com/datascrapers/airbnb-address-finder) — the same style of listing record plus a geocoded place name.
- [Airbnb Availability Calendar Scraper](https://apify.com/datascrapers/airbnb-availability-calendar) — nightly availability for a room URL. Join it on the listing id you sent, because those rows do not store the id.
- [Airbnb Image Downloader](https://apify.com/datascrapers/airbnb-images-downloader) — a zip of the listing photos for one room URL.
- [Airbnb Scraper](https://apify.com/datascrapers/airbnb-scraper) — search results that can supply room URLs for this Actor.
- [Airbnb Detailed Scraper](https://apify.com/datascrapers/airbnb-detailed-scraper) — another detailed Airbnb listing dataset on this account.
- [Booking.com Scraper](https://apify.com/datascrapers/booking-com-scraper) — stay records for a related travel workflow.

### Data Scrapers support

Need an additional field, record type, or export workflow? Contact Data Scrapers at stardustspotlight@gmail.com. Include a sample source URL, required fields, expected record volume, and preferred delivery format.

# Actor input Schema

## `urls` (type: `array`):

List of Airbnb Listing URLs to scrape data from

## `hostDetails` (type: `boolean`):

Include the host profile on each listing. Charged as host-details. Off unless you enable it.

## `reviews` (type: `boolean`):

Include guest reviews on each listing. Charged once per review. Off unless you enable it.

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

Maximum reviews to extract per listing when reviews are enabled. 0 means no cap.

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

Select proxy groups or use your custom proxies

## Actor input object example

```json
{
  "urls": [
    "https://www.airbnb.com/rooms/782682596976136912"
  ],
  "hostDetails": false,
  "reviews": false,
  "maxReviews": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

JSON array of Airbnb listing records at {{links.apiDefaultDatasetUrl}}/items

## `runStats` (type: `string`):

Record count and timestamps for this run

## `run` (type: `string`):

Public console page for 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 = {
    "urls": [
        "https://www.airbnb.com/rooms/782682596976136912"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("datascrapers/airbnb-listing").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 = {
    "urls": ["https://www.airbnb.com/rooms/782682596976136912"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("datascrapers/airbnb-listing").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 '{
  "urls": [
    "https://www.airbnb.com/rooms/782682596976136912"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call datascrapers/airbnb-listing --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datascrapers/airbnb-listing"
        }
    }
}
```

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/7D2i5eHTSz2Hzeu3R/builds/WqRpcCB3cnULK2DcF/openapi.json
