# Airbnb Listings & Pricing Scraper (`devilscrapes/airbnb-scraper`) Actor

Scrape Airbnb search-results pages into structured listing rows — price, rating, host, superhost status, bedrooms, and location, with optional detail-page amenities. Built for STR investors, dynamic-pricing tool builders, and market researchers who need clean, structured Airbnb data at scale.

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

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#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

<div align="center">
  <img src=".actor/icon.svg" width="160" alt="Devil Scrapes mark" />

## Airbnb Listings & Pricing Scraper

**💰 $3.10 / 1 000 results**  ·  pay only for results  ·  no credit card to try

*We do the dirty work so your dataset stays clean.* 😈

Scrape Airbnb search-results pages into structured listing rows — price, rating, host, superhost status, bedrooms, and location, with optional detail-page amenities. Built for STR investors, dynamic-pricing tool builders, and market researchers who need clean, structured Airbnb data at scale.

</div>

***

### 🎯 What this scrapes

Airbnb runs its own vast homes-search index with no public API and no documented quota — access is gated by anti-bot defenses, not an exhaustible rate limit. This Actor walks a search-results page (either a place name like "San Francisco, CA" or a full search URL you paste in, with your own check-in/check-out/guest filters applied) and pulls each listing's price, currency, rating, review count, host, superhost status, bedrooms/beds/bathrooms, location, and photos straight out of the page's embedded listing data. Flip on detail enrichment and we also fetch each listing's own page for its amenities list.

### 🔥 What we handle for you

- 🛡️ **Browser fingerprint rotation** — `curl-cffi` impersonates real Chrome / Firefox / Safari TLS handshakes so the target sees a browser, not Python.
- 🌐 **Residential proxy rotation** via Apify Proxy — fresh session and exit IP on every block.
- 🔁 **Retries with exponential backoff** on `408 / 429 / 5xx` — up to 5 attempts per page, `Retry-After` honoured.
- 🧱 **Rate-limit-aware pacing** — when the target pushes back, we slow down instead of getting banned.
- 🧊 **Clean, typed dataset rows** — Pydantic-validated, ISO-8601 timestamps, stable IDs, JSON / CSV / Excel export straight from the Apify Console.
- 💰 **Pay-Per-Event pricing** — you only pay for results that hit your dataset. No data, no charge.

### 💡 Use cases

- **STR investment comps** — pull live nightly pricing and occupancy signals (ratings, review counts) for a market before buying a short-term rental property.
- **Dynamic-pricing tools** — feed real competitor nightly rates into your own pricing model for a neighborhood or city.
- **Property-management benchmarking** — compare your listings' price, rating, and amenities against nearby Superhosts.
- **Housing-policy research** — track short-term-rental density and pricing by neighborhood for zoning or policy studies.
- **Travel-price monitoring** — watch how nightly rates move for a destination as check-in dates approach.

### ⚙️ How to use it

1. Click **Try for free** at the top of the page.
2. Fill in the input form — most fields have sensible defaults.
3. Click **Start**. Output streams into the run's dataset.
4. Export from **Storage → Dataset** as JSON, CSV, or Excel — or fetch via the API.

### 📥 Input

| Field | Type | Required | Default | Notes |
|---|---|:--:|---|---|
| `location` | `string` | no | None | Place name, e.g. <code>San Francisco, CA</code>. Required if <code>searchUrl</code> is not set — used to build the… |
| `searchUrl` | `string` | no | None | Full <code>airbnb.com/s/.../homes</code> search URL with your own filters already applied. Wins over… |
| `checkIn` | `string` | no | None | ISO date (<code>YYYY-MM-DD</code>). Appended as <code>checkin</code>; drives <code>totalPrice</code> on each row. |
| `checkOut` | `string` | no | None | ISO date (<code>YYYY-MM-DD</code>), must be after <code>checkIn</code>. Appended as <code>checkout</code>. |
| `guests` | `integer` | no | 1 | Number of adult guests. Appended as <code>adults</code>. |
| `maxResults` | `integer` | no | 50 | Hard cap on dataset rows. Pagination stops once this cap is hit. |
| `enableDetailEnrichment` | `boolean` | no | False | Fetch each emitted listing's <code>/rooms/\<id></code> page for its amenities list. Off by default — multiplies… |
| `proxyCountry` | `string` | no | 'US' | 2-letter uppercase country code. Pins the residential proxy exit country for every request — never randomized. |
| `proxyConfiguration` | `object` | no | {'useApifyProxy': True, 'apifyProxyGroups': \['RESIDENTIAL'], 'apifyProxyCountry': 'US'} | Apify Proxy spec. Airbnb is fronted by anti-bot defenses — residential exits pinned to <code>proxyCountry</code> are… |

#### Example input

```json
{
  "location": "Austin, TX",
  "maxResults": 3,
  "enableDetailEnrichment": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

### 📤 Output

Every row is one dataset item.

| Field | Type | Notes |
|---|---|---|
| `listing_id` | `string` | Airbnb listing ID. |
| `url` | `string` | Absolute URL to the listing's /rooms/<id> page. |
| `title` | `['string', 'null']` | Listing headline. |
| `listing_type` | `['string', 'null']` | e.g. 'Entire home'. |
| `room_type` | `['string', 'null']` | e.g. 'Entire home/apt'. |
| `city` | `['string', 'null']` | City name. |
| `country` | `['string', 'null']` | Country name. |
| `lat` | `['number', 'null']` | Latitude. |
| `lng` | `['number', 'null']` | Longitude. |
| `price_per_night` | `['number', 'null']` | Nightly price, as observed — no currency conversion. |
| `currency` | `['string', 'null']` | Currency code, as observed. |
| `total_price` | `['number', 'null']` | Populated only when checkIn/checkOut are both given. |
| `rating` | `['number', 'null']` | Aggregate listing rating. |
| `review_count` | `['integer', 'null']` | Number of reviews. |
| `host_id` | `['string', 'null']` | Host ID. |
| `host_name` | `['string', 'null']` | Host display name. |
| `is_superhost` | `['boolean', 'null']` | Whether the host is a Superhost. |
| `bedrooms` | `['integer', 'null']` | Number of bedrooms. |
| `beds` | `['integer', 'null']` | Number of beds. |
| `bathrooms` | `['number', 'null']` | Number of bathrooms. |
| `max_guests` | `['integer', 'null']` | Max guest capacity. |
| `amenities` | `array` | Empty unless enableDetailEnrichment=true. |
| `image_urls` | `array` | Listing photo URLs. |
| `scraped_at` | `string` | ISO-8601 UTC timestamp stamped at push time. |

#### Example output

```json
{
  "listing_id": "12345678",
  "url": "https://www.airbnb.com/rooms/12345678",
  "title": "Modern loft near Golden Gate Park",
  "listing_type": "Entire home",
  "room_type": "Entire home/apt",
  "city": "San Francisco",
  "country": "United States",
  "lat": 37.7694,
  "lng": -122.4862,
  "price_per_night": 217.0,
  "currency": "USD",
  "total_price": 1085.0,
  "rating": 4.87,
  "review_count": 213,
  "host_id": "987654",
  "host_name": "Maria",
  "is_superhost": true,
  "bedrooms": 2,
  "beds": 3,
  "bathrooms": 1.5,
  "max_guests": 4,
  "amenities": [],
  "image_urls": [
    "https://a0.muscache.com/im/pictures/example.jpg"
  ],
  "scraped_at": "2026-09-09T14:32:07Z"
}
```

### 💰 Pricing

Pay-Per-Event — you pay only when these events fire:

| Event | USD | What it is |
|---|---:|---|
| `actor-start` | $0.2 | One-off warm-up charge per run |
| `result-scraped` | $0.0029 | Per unique dataset item |

Example: 1 000 results at the rates above ≈ **$3.10**. No subscription, no minimum, no card to start — Apify gives every new account $5 of free credit.

### 🚧 Limitations

- Airbnb is fronted by anti-bot defenses — a residential proxy is required, and the Actor rotates its session and browser fingerprint on any block, which can still slow a run down under heavy load.
- Amenities are only populated when <code>enableDetailEnrichment</code> is on; the base search payload rarely carries them.
- Review text, full calendar/availability, and Airbnb Experiences/Luxe listings are out of scope — only aggregate rating/review count and homes search are covered.
- Prices and currency are passed through exactly as Airbnb reports them — no currency conversion is performed.

### ❓ FAQ

**Do I need an Airbnb account or API key?**

No. Airbnb publishes no public API for this data. This Actor scrapes public search-results pages — see the Limitations section for what that means for reliability.

**Can I scrape a specific search with my own filters?**

Yes — apply your filters on airbnb.com, copy the resulting search URL, and paste it into <code>searchUrl</code>. It wins over <code>location</code> if both are set.

**Why do I need check-in/check-out dates?**

They're optional. Without them you get each listing's base nightly price. With both set, we also append them to the search and populate <code>total\_price</code> for the stay.

**What does detail-page enrichment add?**

Turning on <code>enableDetailEnrichment</code> fetches each emitted listing's own page for its amenities list. It's off by default because it roughly doubles the request volume.

**Why does this need a residential proxy?**

Airbnb fronts its search pages with anti-bot defenses. The default proxy configuration already requests a RESIDENTIAL exit pinned to your chosen country — leave it as-is for reliable results.

### 💬 Your feedback

Spotted a bug, hit a weird edge case, or need a new field? Open an
issue on the Actor's **Issues** tab on Apify Console — we ship
fixes weekly and we read every report.

***

<div align="center">

Built by **[Devil Scrapes](https://apify.com/DevilScrapes)** 😈 — a small fleet of
opinionated public-data Actors. Honest pricing, real engineering, zero fine print.

</div>

# Actor input Schema

## `location` (type: `string`):

Place name, e.g. <code>San Francisco, CA</code>. Required if <code>searchUrl</code> is not set — used to build the Airbnb search URL.

## `searchUrl` (type: `string`):

Full <code>airbnb.com/s/.../homes</code> search URL with your own filters already applied. Wins over <code>location</code> if both are set.

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

ISO date (<code>YYYY-MM-DD</code>). Appended as <code>checkin</code>; drives <code>totalPrice</code> on each row.

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

ISO date (<code>YYYY-MM-DD</code>), must be after <code>checkIn</code>. Appended as <code>checkout</code>.

## `guests` (type: `integer`):

Number of adult guests. Appended as <code>adults</code>.

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

Hard cap on dataset rows. Pagination stops once this cap is hit.

## `enableDetailEnrichment` (type: `boolean`):

Fetch each emitted listing's <code>/rooms/\<id></code> page for its amenities list. Off by default — multiplies request volume.

## `proxyCountry` (type: `string`):

2-letter uppercase country code. Pins the residential proxy exit country for every request — never randomized.

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

Apify Proxy spec. Airbnb is fronted by anti-bot defenses — residential exits pinned to <code>proxyCountry</code> are required for reliable access.

## Actor input object example

```json
{
  "location": "Austin, TX",
  "searchUrl": null,
  "checkIn": null,
  "checkOut": null,
  "guests": 1,
  "maxResults": 50,
  "enableDetailEnrichment": false,
  "proxyCountry": "US",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `datasetItems` (type: `string`):

All dataset items as JSON.

## `datasetItemsCsv` (type: `string`):

Same data exported to CSV.

## `datasetView` (type: `string`):

Open the run dataset in the Console.

# 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 = {
    "location": "Austin, TX",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("devilscrapes/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 = {
    "location": "Austin, TX",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("devilscrapes/airbnb-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 '{
  "location": "Austin, TX",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call devilscrapes/airbnb-scraper --silent --output-dataset

```

## MCP server setup

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