# Airbnb Search Scraper — Prices, Ratings & Discounts by Location (`axery/airbnb-search-scraper`) Actor

Scrape Airbnb search results for any location - title, price with discount breakdown, rating, review count, coordinates, images. No login, no API key.

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

## Pricing

from $2.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.
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?

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

Scrapes Airbnb search results for any location — title, price with discount breakdown, rating, review count, coordinates, images. No login, no API key.

Useful for market research on short-term rental pricing, competitor listing tracking, and building a location-price dataset across many cities.

### What makes this different

**An unrecognized location doesn't quietly return the wrong thing.** Search a place name Airbnb can't resolve, and it doesn't error — it silently substitutes a global "explore" feed full of real-looking listings from random cities worldwide. There's exactly one tell in the response that distinguishes a genuine match from that fallback, and this Actor checks it before returning anything, so a typo'd location fails loudly instead of quietly shipping listings from the wrong place entirely.

**Duplicate listings across pages are caught and compensated for, not just counted.** Airbnb repeats certain listings — apparently boosted or promoted ones — across multiple pages of the same search; the very first listing on page 1 can reappear verbatim on page 2. A scraper that doesn't dedupe would report "60 results" that are actually 40-some unique listings padded with repeats. This Actor deduplicates by listing ID within a run and pages further to make up the difference, so the count you ask for is the count of distinct listings you get.

**The full discount picture, not just a single price.** `price_display` and `price_original_display` are both kept, along with `has_discount`, so a promotional price is visible as exactly that — not indistinguishable from a listing's normal rate.

### Input

| Field | Type | Notes |
|---|---|---|
| `locations` | array | City, region, or "City, Country" — same as Airbnb's own search box. |
| `currency` | string | 3-letter code, e.g. USD, EUR, IDR. |
| `priceMin` / `priceMax` | integer | Optional nightly price range, in the chosen currency. |
| `maxItems` | integer | Per location, deduplicated. `0` walks every page available. |
| `incremental` | boolean | Only listings not seen in previous runs. |
| `proxyConfiguration` | object | Not normally needed. |

### Output

```json
{
  "listing_id": "airbnb.com:672988127335230371",
  "title": "Room in Paris",
  "subtitle": "Room with terrace & art exhibition",
  "rating": 4.88,
  "review_count": 151,
  "price_display": "$558",
  "price_original_display": "$617",
  "has_discount": true,
  "badges": ["Guest favorite"],
  "latitude": 48.82888,
  "longitude": 2.32166,
  "url": "https://www.airbnb.com/rooms/672988127335230371"
}
```

A location Airbnb doesn't recognize fails that location's run with a clear message rather than returning listings from somewhere else entirely. Each run also writes a `RUN_COVERAGE` record to the key-value store with what was requested, what came back, and any per-location failures.

### Local development

```bash
pip install -r requirements.txt
python test_local.py Paris --max 40 --out sample_output.json
python test_local.py "Bali, Indonesia" --currency USD --price-min 20 --price-max 100
```

`sample_output.json` is real output from a live 40-listing run, deduplicated across pages.

# Actor input Schema

## `locations` (type: `array`):

Places to search, exactly as you'd type into Airbnb's own search box (city, region, or "City, Country"). Each is fetched independently into the same dataset.

## `currency` (type: `string`):

3-letter currency code for displayed prices, e.g. USD, EUR, IDR.

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

Optional minimum nightly price filter, in the chosen currency.

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

Optional maximum nightly price filter, in the chosen currency.

## `maxItems` (type: `integer`):

Cap on listings per location, deduplicated - Airbnb repeats some (apparently boosted) listings across pages, and this Actor pages further to compensate rather than counting repeats toward your total. `0` walks every page Airbnb offers for that search.

## `incremental` (type: `boolean`):

Remember listing IDs between runs and return only listings not seen before.

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

Apify Proxy settings. Defaults to Residential - Airbnb's search page is scraped HTML with real anti-bot posture, and Apify's own container IP range is a plausible target for that kind of defense.

## Actor input object example

```json
{
  "locations": [
    "Paris"
  ],
  "currency": "USD",
  "maxItems": 60,
  "incremental": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

One row per listing: title, price with discount detail, rating, review count, coordinates and images.

# 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 = {
    "locations": [
        "Paris"
    ],
    "currency": "USD",
    "maxItems": 60
};

// Run the Actor and wait for it to finish
const run = await client.actor("axery/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 = {
    "locations": ["Paris"],
    "currency": "USD",
    "maxItems": 60,
}

# Run the Actor and wait for it to finish
run = client.actor("axery/airbnb-search-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 '{
  "locations": [
    "Paris"
  ],
  "currency": "USD",
  "maxItems": 60
}' |
apify call axery/airbnb-search-scraper --silent --output-dataset

```

## MCP server setup

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