# Airbnb Search Scraper (`good-apis/airbnb-search-scraper`) Actor

Search Airbnb stays for a location and dates — name, price, rating, room type, coordinates, superhost/guest-favorite badges and the listing URL. No login. Pay per result ($4/1k).

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

## Pricing

$4.00 / 1,000 results

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

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Airbnb Search Scraper

Search Airbnb stays for any location and dates, and get the full listing card for each result — **name,
nightly/total price, rating, review count, room type, beds, coordinates, superhost & guest-favorite
badges, photo, and the listing URL**. No login, no browser to manage, fast JSON.

Give it a place (city, region, or landmark) and, optionally, dates and guest count. It reads Airbnb's own
search results (18 per page) and pages through them when you ask for more. The listing URLs it returns
feed straight into the **Airbnb Listing Detail Scraper** and **Airbnb Listing Reviews Scraper**.

**Pricing: $4.00 per 1,000 listings** (pay per result) — you're only charged for listings actually returned.

### What you get

Every listing returns:

| Field | Description |
|---|---|
| `room_id` | Airbnb listing id (stable dedup key) |
| `name` | Listing title (e.g. "Latin Quarter & Seine Studio") |
| `room_type` | Type + area (e.g. "Apartment in 5th Arrondissement") |
| `url` | `airbnb.com/rooms/<id>` — feeds the Detail & Reviews scrapers |
| `price` | Displayed price (e.g. `$294`) |
| `price_qualifier` | What the price covers (e.g. "for 2 nights") |
| `price_label` | Full price line, incl. any strike-through original |
| `rating` | Guest rating, 0–5 (null when "New") |
| `review_count` | Number of reviews (0 when "New") |
| `beds` / `baths` / `bedrooms` | Room info when shown on the card |
| `latitude` / `longitude` | Map coordinates |
| `is_superhost` | Host is a Superhost |
| `is_guest_favorite` | Listing carries the Guest Favorite badge |
| `image` | Primary photo URL |

### Input

| Field | Required | Description |
|---|---|---|
| `location` | ✓ | Where to search — a city, region or landmark (e.g. `Paris`, `New York`, `Lake Tahoe`) |
| `checkin` | | Check-in date `YYYY-MM-DD`. Dates make the price show the stay TOTAL. Defaults to ~3 weeks out. |
| `checkout` | | Check-out date `YYYY-MM-DD`. Defaults to 2 nights after check-in. |
| `adults` | | Number of adult guests (default 2) |
| `max_results` | | How many listings to return (default 18). Above ~18 it pages through Airbnb's results. |

```json
{ "location": "Barcelona", "checkin": "2026-09-10", "checkout": "2026-09-13", "adults": 2, "max_results": 36 }
```

### Example output

```json
{
  "room_id": "1344613022983239452",
  "name": "Latin Quarter & Seine Studio",
  "room_type": "Apartment in 5th Arrondissement",
  "url": "https://www.airbnb.com/rooms/1344613022983239452",
  "price": "$294",
  "price_qualifier": "for 2 nights",
  "rating": 4.83,
  "review_count": 65,
  "beds": "1 bed",
  "latitude": 48.8464,
  "longitude": 2.3522,
  "is_superhost": false,
  "is_guest_favorite": true,
  "image": "https://a0.muscache.com/im/pictures/hosting/...jpeg"
}
```

### Notes & limits

- Prices are **availability- and date-sensitive**: a dated search shows the stay total; an undated search
  uses a default 2-night stay ~3 weeks out. `rating`/`review_count` are null/0 for brand-new listings.
- Results come back in Airbnb's own ranking order and are deduped by `room_id`.
- This returns the **search card** for each stay. For the full listing (amenities, host, description,
  photos, sub-ratings) use the **Airbnb Listing Detail Scraper**; for guest reviews use the **Airbnb
  Listing Reviews Scraper** — both take the `url` this scraper returns.

### Use it from Python

```python
from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("<THIS_ACTOR_ID>").call(run_input={"location": "Paris", "max_results": 36})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["name"], item["price"], item["url"])
```

# Actor input Schema

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

Where to search — a city, region or landmark, e.g. 'San Diego', 'Paris', 'Lake Tahoe'

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

Check-in date YYYY-MM-DD (optional; defaults to ~3 weeks out). Dates make the per-card price show the stay TOTAL.

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

Check-out date YYYY-MM-DD (optional; defaults to 2 nights after check-in)

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

Number of adult guests

## `max_results` (type: `integer`):

How many listings to return. Above ~18 the scraper pages through Airbnb's results to gather more.

## Actor input object example

```json
{
  "location": "San Diego",
  "checkin": "",
  "checkout": "",
  "adults": 2,
  "max_results": 18
}
```

# Actor output Schema

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

All scraped items in the default dataset.

# 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": "San Diego",
    "max_results": 18
};

// Run the Actor and wait for it to finish
const run = await client.actor("good-apis/airbnb-search-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": "San Diego",
    "max_results": 18,
}

# Run the Actor and wait for it to finish
run = client.actor("good-apis/airbnb-search-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 '{
  "location": "San Diego",
  "max_results": 18
}' |
apify call good-apis/airbnb-search-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/2q7SNCid7Fjs2xa1D/builds/pbCY9bjJWERL40dcv/openapi.json
