# Airbnb Scraper — Listings, Prices, Reviews & Host Data (`blackfalcondata/airbnb-scraper`) Actor

Scrape Airbnb stays — listings with price, ratings, amenities, host info, photos, GPS and full filters; full-city coverage past the search cap; optional reviews and detail enrichment; incremental NEW/UPDATED/EXPIRED tracking.

- **URL**: https://apify.com/blackfalcondata/airbnb-scraper.md
- **Developed by:** [Black Falcon Data](https://apify.com/blackfalcondata) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Stats:** 4 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 listings

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

### What does Airbnb Scraper do?

Airbnb Scraper extracts structured stay listings from airbnb.com — price, ratings, room type, amenities, photos, coordinates, and host-written descriptions. Pass one or more locations and get the full set of stays for each area, not just the first page the site shows, so large cities come back complete. Filter by nightly price, room type, bedrooms, guests, and stay dates, plus an optional lat/long radius. Choose what each run returns: full listing records, individual guest reviews (text, rating, date, reviewer, host response), or just listing URLs for fast, cheap discovery. Paste any Airbnb room or search URL, and run incrementally to capture only new, changed, or removed listings.

### How to use this actor

- 👉 **Register for a free Apify account** — no credit card required.
- 🎉 Just click **[Sign up free on Apify →](https://console.apify.com/sign-up?fpr=1h3gvi&fp_sid=ctarich)** and complete a quick signup.
- 💰 A free Apify account includes $5 in monthly credits — enough to test this actor.
- ⏳ Scrape during the free trial, with no commitment or upfront payment required.

### Key features

<!-- KEY_FEATURES:START -->
- **🗺️ Full-city coverage** — pass one or more locations (a city, neighborhood, or "City, ST") and get the full set of stays for each area — not just the first page — so large cities come back complete. Filter by price, room type, bedrooms, guests, and dates, plus an optional lat/long radius.
- **📋 Host description & amenities** — optionally add each stay's full host description and amenity list on top of the search-card fields. Off by default for fast, cheap runs; billed only per enriched listing.
- **💵 Price & ratings** — structured nightly price with currency, the original pre-discount price when a stay is discounted, and the average rating with review count — ready to rank, compare, or track.
- **🔗 Paste-mode** — build a search on airbnb.com, copy the URL, and paste it — location and filters are read from the URL. Paste room URLs too; results dedupe by listing id.
- **♻️ Incremental mode** — recurring runs emit and charge only for listings that are new or whose tracked content changed. First run builds the baseline; subsequent runs emit only NEW / UPDATED / REAPPEARED records (UNCHANGED + EXPIRED opt-in). Saves 80–95% on daily monitoring.
- **📤 Export anywhere** — Download the dataset as JSON, CSV, or Excel from the Apify Console, or stream live via the Apify API and integrations (Make, Zapier, Google Sheets, n8n, …).
- **🔌 MCP connectors** — export your results into Notion via Apify's MCP connectors — a clean run-summary page, no glue code. Opt-in via the App connector field; deterministic field-mapping, no AI. Built on Apify's connector framework, so more destinations open up as their catalog grows.
<!-- KEY_FEATURES:END -->

### What data can you extract from Airbnb?

Each result includes Core property fields (`listingId`, `listingUrl`, `name`, `title`, `roomType`, `price`, `avgRating`, and `reviewCount`, and more) and detail fields when enrichment is enabled (`description`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

Enable detail enrichment in the input to get richer fields such as full descriptions where the source provides them.

### Input

The main inputs are a result limit. Additional filters and options are available in the input schema.

Key parameters:

- **`mode`** — Listings (default) returns full listing records. Reviews returns flat review rows for the resolved listings. URLs returns just the listing URLs (cheapest, for discovery). (default: `"listings"`)
- **`searchLocations`** — One or more places: a city, a neighborhood, or "City, ST" (e.g. "New York, NY"). Each is searched independently. Leave empty if you only use Start URLs.
- **`startUrls`** — Paste Airbnb room URLs (e.g. https://www.airbnb.com/rooms/12345678) or search-result URLs. Room URLs target a specific listing (used by Reviews / URLs mode); search URLs read their location from the URL and the filters below still apply.
- **`maxResults`** — Maximum records to return (0 = full coverage). Full coverage works even for very large cities. (default: `100`)
- **`maxQueries`** — Optional hard ceiling on how much work full-coverage runs do. Leave empty for the default. Lower it to cap cost on very dense areas.
- **`priceMin`** — Minimum nightly price.
- **`priceMax`** — Maximum nightly price.
- **`roomTypes`** — Restrict to one or more room types. Leave empty for all. (default: `[]`)
- **`minBedrooms`** — Minimum number of bedrooms.
- **`adults`** — Number of guests (adults) to price for.
- **`checkin`** — Optional stay start date (YYYY-MM-DD). Use with Check-out to price a specific stay.
- **`checkout`** — Optional stay end date (YYYY-MM-DD).
- ...and 28 more parameters

### Input examples

**Stays in a city** — Search one or more locations (a city, a neighborhood, or "City, ST").

→ Full listing records with nightly price, rating, review count, room type, coordinates, photos, and badges.

```json
{
  "searchLocations": [
    "New York, NY"
  ],
  "roomTypes": [
    "Entire home/apt"
  ],
  "maxResults": 100
}
````

**Deals under a nightly price cap** — Filter by location and a maximum nightly price.

→ Listings within the price band, each with rating, room type, and coordinates.

```json
{
  "searchLocations": [
    "Austin, TX"
  ],
  "priceMax": 150,
  "maxResults": 100
}
```

**Daily monitoring of a city** — Re-run on a schedule to capture only new, changed, and removed stays.

→ Records tagged NEW / UPDATED / EXPIRED against the previous run.

```json
{
  "searchLocations": [
    "Miami, FL"
  ],
  "incrementalMode": true,
  "stateKey": "miami-fl-stays",
  "maxResults": 500
}
```

**Reviews for a listing** — Switch to reviews mode and target a specific stay (or a whole city).

→ Flat review rows — text, rating, date, reviewer, language, and host response.

```json
{
  "mode": "reviews",
  "startUrls": [
    "https://www.airbnb.com/rooms/12345678"
  ],
  "reviewsMaxPerListing": 50
}
```

**Paste a search URL** — Build the search you want on airbnb.com, copy the URL, and paste it. The location is read from the URL.

→ The stays from exactly that search, merged and deduplicated.

```json
{
  "startUrls": [
    "https://www.airbnb.com/s/Seattle--WA/homes"
  ],
  "maxResults": 100
}
```

### Output

Each run produces a dataset of structured property records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

### Example property record

```json
{
  "listingId": "53502855",
  "listingUrl": "https://www.airbnb.com/rooms/53502855",
  "name": "Sunny Brooklyn loft with skyline view",
  "title": "Entire rental unit in Brooklyn",
  "roomType": "Entire rental unit",
  "price": {
    "amount": 184,
    "originalAmount": 230,
    "label": "$184 night, originally $230",
    "qualifier": "night",
    "currency": "USD"
  },
  "avgRating": 4.92,
  "reviewCount": 318,
  "coordinate": {
    "lat": 40.71235,
    "lng": -73.95678
  },
  "images": [
    "https://a0.muscache.com/im/pictures/miso/Hosting-53502855/original/aa11bb22.jpeg",
    "https://a0.muscache.com/im/pictures/miso/Hosting-53502855/original/cc33dd44.jpeg"
  ],
  "badges": [
    "Superhost"
  ],
  "description": "Bright top-floor loft a short walk from Prospect Park, with a full kitchen, fast Wifi, and a private balcony overlooking the skyline. Self check-in and dedicated workspace.",
  "amenities": [
    "Wifi",
    "Kitchen",
    "Air conditioning",
    "Self check-in",
    "Dedicated workspace"
  ],
  "scrapedAt": "2026-06-22T10:00:00.000Z",
  "contentHash": "9f2c1ab34de56789a0b1c2d3e4f5a6b7c8d9e0f1"
}
```

### Incremental fields

When incremental mode is on, each record also carries:

- `changeType` — one of `NEW`, `UPDATED`, `UNCHANGED`, `REAPPEARED`, `EXPIRED`. Default output covers `NEW` / `UPDATED` / `REAPPEARED`; set `emitUnchanged: true` or `emitExpired: true` to opt into the others.
- `isRepost`, `repostOfId`, `repostDetectedAt` — populated when a new listing matches the tracked content of a previously expired one. Set `skipReposts: true` to drop detected reposts from the output.

### How to scrape Airbnb

1. Go to [Airbnb Scraper](https://apify.com/blackfalcondata/airbnb-scraper?fpr=1h3gvi) in Apify Console.
2. Configure the input.
3. Set `maxResults` to control how many results you need.
4. Enable `includeDetails` if you need full descriptions.
5. Click **Start** and wait for the run to finish.
6. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Extract property data from Airbnb for market research and competitive analysis.
- Track pricing trends across regions and categories over time.
- Monitor new and changed properties on scheduled runs without processing the full dataset every time.
- Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
- Export clean, structured data to dashboards, spreadsheets, or data warehouses.
- Benchmark seller / dealer reputation using rating fields.

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

Airbnb Scraper uses [pay-per-event](https://docs.apify.com/platform/actors/paid-actors/pay-per-event) pricing. You pay a small fee when the run starts and then for each result that is actually produced.

- **Run start:** $0.005 per run
- **Per property (primary event):** $0.0048

You are billed only for the events your run actually triggers. Prices below are the Free plan tier.

| Event | Price (Free tier) | Charged when |
|---|---|---|
| Actor Start | $0.005 (one-time) | Charged once when the Actor starts running. |
| Listing (primary) | $0.0048 | Charged per listing returned in the default dataset. |
| Detail enrichment | $0.0032 | Charged per listing enriched with the full host description and amenity list. Only when Include Detail Enrichment is on. |
| Review | $0.004 | Charged per review returned (Reviews mode, or when Attach Reviews is on). |
| Listing URL | $0.004 | Charged per listing URL returned in URLs (discovery) mode. |

Example costs (primary event only — other events above add cost when they fire):

- 10 results: **$0.053**
- 25 results: **$0.13**
- 100 results: **$0.48**
- 200 results: **$0.96**
- 500 results: **$2.4**

#### Example: recurring monitoring savings

These examples compare full re-scrapes with incremental runs at different churn rates. Churn is the share of properties that are new or whose tracked content changed since the previous run. Actual churn depends on your query breadth, source activity, and polling frequency — the scenarios below are examples, not predictions.

Example setup: 250 results per run, daily polling (30 runs/month). Event-pricing examples scale linearly with result count.

Numbers below are for the primary **Listing** event. Other events (**Detail enrichment**, **Review**, **Listing URL**) are billed separately when they fire.

| Churn rate | Full re-scrape run cost | Incremental run cost | Savings vs full re-scrape | Monthly cost after baseline |
|---|---:|---:|---:|---:|
| 5% — stable niche query | $1.20 | $0.07 | $1.14 (95%) | $1.95 |
| 15% — moderate broad query | $1.20 | $0.18 | $1.02 (85%) | $5.55 |
| 30% — high-volume aggregator | $1.20 | $0.36 | $0.84 (70%) | $10.95 |

Full re-scrape monthly cost at daily polling: $36.15. First month with incremental costs $3.09 / $6.57 / $11.79 for the 5% / 15% / 30% scenarios because the first run builds baseline state at full cost before incremental savings apply.

Platform usage (compute and proxies) is billed separately by Apify based on actual consumption. Incremental runs consume less on result processing, though fixed per-run overhead stays the same.

### FAQ

#### How many results can I get from Airbnb?

The number of results depends on the search query and available properties on Airbnb. Use the `maxResults` parameter to control how many results are returned per run.

#### Does Airbnb Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed properties on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

#### Can I integrate Airbnb Scraper with other apps?

Yes. Airbnb Scraper works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use Airbnb Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use Airbnb Scraper through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode and `excludeEmptyFields` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape Airbnb?

This actor extracts publicly available data from Airbnb. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/airbnb-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [Airbnb Realtime API — Live Listing, Reviews & Search Lookups](https://apify.com/blackfalcondata/airbnb-realtime?fpr=1h3gvi) — Real-time Airbnb lookups via a persistent standby server — fetch a single listing, its reviews.
- [Airbnb Reviews Scraper — Text, Rating, Date & Host Reply](https://apify.com/blackfalcondata/airbnb-reviews-scraper?fpr=1h3gvi) — Scrape Airbnb reviews as flat rows — review text, star rating, date, reviewer name & location,.
- [Airbnb URL Scraper — Fast, Cheap Listing URL Discovery](https://apify.com/blackfalcondata/airbnb-url-scraper?fpr=1h3gvi) — Discover every Airbnb listing URL for a city, neighborhood or search — the cheapest way to.
- [Idealista Scraper — Spain, Portugal & Italy](https://apify.com/blackfalcondata/idealista-scraper?fpr=1h3gvi) — Scrape idealista.com / .pt / .it property listings with prices, photos, GPS, agent phone numbers.
- [Immowelt Scraper — German Real Estate Listings](https://apify.com/blackfalcondata/immowelt-scraper?fpr=1h3gvi) — Scrape immowelt.de — one of Germany's largest residential property portals — and pull every active.
- [Metrocuadrado Scraper — Colombia Real Estate Listings](https://apify.com/blackfalcondata/metrocuadrado-scraper?fpr=1h3gvi) — Scrape Metrocuadrado property listings across Colombia with full pricing, price-per-m², area,.
- [Realtor Scraper — US Real Estate Listings & Property Data](https://apify.com/blackfalcondata/realtor-scraper?fpr=1h3gvi) — Scrape US real estate from realtor.com — for-sale, for-rent & recently-sold listings with price &.
- [Realtor.com Agents Scraper — Contacts & B2B Leads](https://apify.com/blackfalcondata/realtor-agents-scraper?fpr=1h3gvi) — Scrape realtor.com real-estate agents by US city or ZIP with full contacts: direct & office phone,.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi\&fp_sid=ctarich) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

# Actor input Schema

## `mode` (type: `string`):

Listings (default) returns full listing records. Reviews returns flat review rows for the resolved listings. URLs returns just the listing URLs (cheapest, for discovery).

## `searchLocations` (type: `array`):

One or more places: a city, a neighborhood, or "City, ST" (e.g. "New York, NY"). Each is searched independently. Leave empty if you only use Start URLs.

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

Paste Airbnb room URLs (e.g. https://www.airbnb.com/rooms/12345678) or search-result URLs. Room URLs target a specific listing (used by Reviews / URLs mode); search URLs read their location from the URL and the filters below still apply.

## `maxResults` (type: `integer`):

Maximum records to return (0 = full coverage). Full coverage works even for very large cities.

## `maxQueries` (type: `integer`):

Optional hard ceiling on how much work full-coverage runs do. Leave empty for the default. Lower it to cap cost on very dense areas.

## `priceMin` (type: `integer`):

Minimum nightly price.

## `priceMax` (type: `integer`):

Maximum nightly price.

## `roomTypes` (type: `array`):

Restrict to one or more room types. Leave empty for all.

## `minBedrooms` (type: `integer`):

Minimum number of bedrooms.

## `adults` (type: `integer`):

Number of guests (adults) to price for.

## `checkin` (type: `string`):

Optional stay start date (YYYY-MM-DD). Use with Check-out to price a specific stay.

## `checkout` (type: `string`):

Optional stay end date (YYYY-MM-DD).

## `centerLat` (type: `string`):

Optional radius filter — center latitude (decimal, e.g. 40.7128). Combine with Center Longitude + Radius to keep only listings within the radius.

## `centerLng` (type: `string`):

Radius filter — center longitude (decimal, e.g. -74.0060).

## `radiusKm` (type: `integer`):

Keep only listings within this many kilometres of the center point.

## `includeDetails` (type: `boolean`):

Fetch each listing's full host description and amenity list. Off by default — turn on for richer records (billed per enriched listing).

## `includeReviews` (type: `boolean`):

Attach the top reviews to each listing record (listings mode). Billed per review.

## `reviewsMaxPerListing` (type: `integer`):

Cap the number of reviews fetched per listing (used by Attach Reviews and Reviews mode).

## `reviewSort` (type: `string`):

How to order reviews.

## `physicalDedupeKey` (type: `boolean`):

Also drop physically-identical listings (same coordinate + name), not only exact-id duplicates.

## `excludeEmptyFields` (type: `boolean`):

Drop null / empty-string / empty-array fields from each record.

## `compact` (type: `boolean`):

Output only core comparison fields (for AI-agent / MCP workflows).

## `incrementalMode` (type: `boolean`):

Track new / changed / removed listings across runs. Requires a State Key.

## `stateKey` (type: `string`):

Stable identifier for this tracking universe (e.g. "nyc-entire-homes").

## `emitUnchanged` (type: `boolean`):

When incremental, also emit listings that have not changed.

## `emitExpired` (type: `boolean`):

When incremental, also emit listings no longer found. These markers are always tracked so change detection stays complete — they are not subject to Max Results.

## `skipReposts` (type: `boolean`):

When incremental, skip listings that are reposts of previously seen (now removed) listings.

## `telegramToken` (type: `string`):

Telegram bot token (from @BotFather). Required for Telegram notifications.

## `telegramChatId` (type: `string`):

Telegram chat or channel ID where alerts are sent.

## `discordWebhookUrl` (type: `string`):

Discord incoming webhook URL.

## `slackWebhookUrl` (type: `string`):

Slack incoming webhook URL.

## `whatsappPhoneNumberId` (type: `string`):

WhatsApp Business phone number ID from Meta Business Manager.

## `whatsappAccessToken` (type: `string`):

Meta Cloud API access token with whatsapp\_business\_messaging scope.

## `whatsappTo` (type: `string`):

Recipient phone number in E.164 format (e.g. +14155551234).

## `webhookUrl` (type: `string`):

Universal escape hatch for n8n / Make / Zapier / custom HTTP backends. Receives a JSON POST per run.

## `webhookHeaders` (type: `object`):

Additional HTTP headers sent with the generic webhook POST.

## `notificationLimit` (type: `integer`):

Maximum number of records included in each notification message (1–20).

## `notifyOnlyChanges` (type: `boolean`):

When Incremental Mode is on, only notify for NEW and UPDATED listings.

## `appConnector` (type: `string`):

Optional. Pick a connected app under Settings → API & Integrations to receive your results. A run-summary is written to the connected app; support is best-effort as Apify expands its connector catalog.

## `mcpIssueTeam` (type: `string`):

Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one.

## Actor input object example

```json
{
  "mode": "listings",
  "searchLocations": [
    "New York, NY"
  ],
  "startUrls": [],
  "maxResults": 10,
  "roomTypes": [],
  "includeDetails": false,
  "includeReviews": false,
  "reviewsMaxPerListing": 10,
  "reviewSort": "best",
  "physicalDedupeKey": false,
  "excludeEmptyFields": false,
  "compact": false,
  "incrementalMode": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "skipReposts": false,
  "notificationLimit": 5,
  "notifyOnlyChanges": false
}
```

# 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 = {
    "searchLocations": [
        "New York, NY"
    ],
    "startUrls": [],
    "maxResults": 10,
    "roomTypes": [],
    "includeDetails": false,
    "includeReviews": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("blackfalcondata/airbnb-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 = {
    "searchLocations": ["New York, NY"],
    "startUrls": [],
    "maxResults": 10,
    "roomTypes": [],
    "includeDetails": False,
    "includeReviews": False,
}

# Run the Actor and wait for it to finish
run = client.actor("blackfalcondata/airbnb-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchLocations": [
    "New York, NY"
  ],
  "startUrls": [],
  "maxResults": 10,
  "roomTypes": [],
  "includeDetails": false,
  "includeReviews": false
}' |
apify call blackfalcondata/airbnb-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=blackfalcondata/airbnb-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Airbnb Scraper — Listings, Prices, Reviews & Host Data",
        "description": "Scrape Airbnb stays — listings with price, ratings, amenities, host info, photos, GPS and full filters; full-city coverage past the search cap; optional reviews and detail enrichment; incremental NEW/UPDATED/EXPIRED tracking.",
        "version": "0.1",
        "x-build-id": "8hCASDUcfmlkdVyiG"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/blackfalcondata~airbnb-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-blackfalcondata-airbnb-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/blackfalcondata~airbnb-scraper/runs": {
            "post": {
                "operationId": "runs-sync-blackfalcondata-airbnb-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/blackfalcondata~airbnb-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-blackfalcondata-airbnb-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "mode": {
                        "title": "⚙️ Mode",
                        "enum": [
                            "listings",
                            "reviews",
                            "urls"
                        ],
                        "type": "string",
                        "description": "Listings (default) returns full listing records. Reviews returns flat review rows for the resolved listings. URLs returns just the listing URLs (cheapest, for discovery).",
                        "default": "listings"
                    },
                    "searchLocations": {
                        "title": "📍 Locations",
                        "type": "array",
                        "description": "One or more places: a city, a neighborhood, or \"City, ST\" (e.g. \"New York, NY\"). Each is searched independently. Leave empty if you only use Start URLs.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "startUrls": {
                        "title": "🔗 Start URLs",
                        "type": "array",
                        "description": "Paste Airbnb room URLs (e.g. https://www.airbnb.com/rooms/12345678) or search-result URLs. Room URLs target a specific listing (used by Reviews / URLs mode); search URLs read their location from the URL and the filters below still apply.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResults": {
                        "title": "💯 Max Results",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum records to return (0 = full coverage). Full coverage works even for very large cities.",
                        "default": 100
                    },
                    "maxQueries": {
                        "title": "🧮 Max Queries (cost guard)",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Optional hard ceiling on how much work full-coverage runs do. Leave empty for the default. Lower it to cap cost on very dense areas."
                    },
                    "priceMin": {
                        "title": "💰 Min Price (USD / night)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Minimum nightly price."
                    },
                    "priceMax": {
                        "title": "💰 Max Price (USD / night)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum nightly price."
                    },
                    "roomTypes": {
                        "title": "🏠 Room Types",
                        "type": "array",
                        "description": "Restrict to one or more room types. Leave empty for all.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "Entire home/apt",
                                "Private room",
                                "Shared room",
                                "Hotel room"
                            ],
                            "enumTitles": [
                                "Entire home/apt",
                                "Private room",
                                "Shared room",
                                "Hotel room"
                            ]
                        },
                        "default": []
                    },
                    "minBedrooms": {
                        "title": "🛏️ Min Bedrooms",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Minimum number of bedrooms."
                    },
                    "adults": {
                        "title": "👥 Guests",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Number of guests (adults) to price for."
                    },
                    "checkin": {
                        "title": "📅 Check-in",
                        "type": "string",
                        "description": "Optional stay start date (YYYY-MM-DD). Use with Check-out to price a specific stay."
                    },
                    "checkout": {
                        "title": "📅 Check-out",
                        "type": "string",
                        "description": "Optional stay end date (YYYY-MM-DD)."
                    },
                    "centerLat": {
                        "title": "🧭 Center Latitude",
                        "type": "string",
                        "description": "Optional radius filter — center latitude (decimal, e.g. 40.7128). Combine with Center Longitude + Radius to keep only listings within the radius."
                    },
                    "centerLng": {
                        "title": "🧭 Center Longitude",
                        "type": "string",
                        "description": "Radius filter — center longitude (decimal, e.g. -74.0060)."
                    },
                    "radiusKm": {
                        "title": "📏 Radius (km)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Keep only listings within this many kilometres of the center point."
                    },
                    "includeDetails": {
                        "title": "📋 Include Detail Enrichment",
                        "type": "boolean",
                        "description": "Fetch each listing's full host description and amenity list. Off by default — turn on for richer records (billed per enriched listing).",
                        "default": false
                    },
                    "includeReviews": {
                        "title": "💬 Attach Reviews",
                        "type": "boolean",
                        "description": "Attach the top reviews to each listing record (listings mode). Billed per review.",
                        "default": false
                    },
                    "reviewsMaxPerListing": {
                        "title": "🔢 Reviews Per Listing",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Cap the number of reviews fetched per listing (used by Attach Reviews and Reviews mode).",
                        "default": 10
                    },
                    "reviewSort": {
                        "title": "↕️ Review Order",
                        "enum": [
                            "best",
                            "recent"
                        ],
                        "type": "string",
                        "description": "How to order reviews.",
                        "default": "best"
                    },
                    "physicalDedupeKey": {
                        "title": "🧬 Physical Dedup",
                        "type": "boolean",
                        "description": "Also drop physically-identical listings (same coordinate + name), not only exact-id duplicates.",
                        "default": false
                    },
                    "excludeEmptyFields": {
                        "title": "🧹 Exclude Empty Fields",
                        "type": "boolean",
                        "description": "Drop null / empty-string / empty-array fields from each record.",
                        "default": false
                    },
                    "compact": {
                        "title": "📦 Compact Output",
                        "type": "boolean",
                        "description": "Output only core comparison fields (for AI-agent / MCP workflows).",
                        "default": false
                    },
                    "incrementalMode": {
                        "title": "♻️ Incremental Mode",
                        "type": "boolean",
                        "description": "Track new / changed / removed listings across runs. Requires a State Key.",
                        "default": false
                    },
                    "stateKey": {
                        "title": "🔑 State Key",
                        "type": "string",
                        "description": "Stable identifier for this tracking universe (e.g. \"nyc-entire-homes\")."
                    },
                    "emitUnchanged": {
                        "title": "♻️ Emit Unchanged Records",
                        "type": "boolean",
                        "description": "When incremental, also emit listings that have not changed.",
                        "default": false
                    },
                    "emitExpired": {
                        "title": "⚰️ Emit Removed Records",
                        "type": "boolean",
                        "description": "When incremental, also emit listings no longer found. These markers are always tracked so change detection stays complete — they are not subject to Max Results.",
                        "default": false
                    },
                    "skipReposts": {
                        "title": "🚫 Skip Reposts",
                        "type": "boolean",
                        "description": "When incremental, skip listings that are reposts of previously seen (now removed) listings.",
                        "default": false
                    },
                    "telegramToken": {
                        "title": "🔑 Telegram Bot Token",
                        "type": "string",
                        "description": "Telegram bot token (from @BotFather). Required for Telegram notifications."
                    },
                    "telegramChatId": {
                        "title": "💬 Telegram Chat ID",
                        "type": "string",
                        "description": "Telegram chat or channel ID where alerts are sent."
                    },
                    "discordWebhookUrl": {
                        "title": "🎮 Discord Webhook URL",
                        "type": "string",
                        "description": "Discord incoming webhook URL."
                    },
                    "slackWebhookUrl": {
                        "title": "💼 Slack Webhook URL",
                        "type": "string",
                        "description": "Slack incoming webhook URL."
                    },
                    "whatsappPhoneNumberId": {
                        "title": "📱 WhatsApp Phone Number ID",
                        "type": "string",
                        "description": "WhatsApp Business phone number ID from Meta Business Manager."
                    },
                    "whatsappAccessToken": {
                        "title": "🔐 WhatsApp Access Token",
                        "type": "string",
                        "description": "Meta Cloud API access token with whatsapp_business_messaging scope."
                    },
                    "whatsappTo": {
                        "title": "📨 WhatsApp Recipient",
                        "type": "string",
                        "description": "Recipient phone number in E.164 format (e.g. +14155551234)."
                    },
                    "webhookUrl": {
                        "title": "🪝 Generic Webhook URL",
                        "type": "string",
                        "description": "Universal escape hatch for n8n / Make / Zapier / custom HTTP backends. Receives a JSON POST per run."
                    },
                    "webhookHeaders": {
                        "title": "🪝 Webhook Headers (optional)",
                        "type": "object",
                        "description": "Additional HTTP headers sent with the generic webhook POST."
                    },
                    "notificationLimit": {
                        "title": "📊 Max Records Per Notification",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Maximum number of records included in each notification message (1–20).",
                        "default": 5
                    },
                    "notifyOnlyChanges": {
                        "title": "🔄 Notify Only New/Updated",
                        "type": "boolean",
                        "description": "When Incremental Mode is on, only notify for NEW and UPDATED listings.",
                        "default": false
                    },
                    "appConnector": {
                        "title": "📤 Send results to a connected app",
                        "type": "string",
                        "description": "Optional. Pick a connected app under Settings → API & Integrations to receive your results. A run-summary is written to the connected app; support is best-effort as Apify expands its connector catalog."
                    },
                    "mcpIssueTeam": {
                        "title": "🏷️ Issue tracker team",
                        "type": "string",
                        "description": "Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
