# Scrape a pasted Airbnb search URL for Barcelona flats

**Use case:** 

Paste any airbnb.com search URL and every filter on it is honoured as is. This one collects entire homes with at least two bedrooms in Barcelona and returns full listing records: prices in euros, amenities by category, house rules, sub-ratings, capacity and host details. Capped at 25 listings.

## Input

```json
{
  "locationQueries": [
    "Lisbon, Portugal"
  ],
  "searchUrls": [
    "https://www.airbnb.com/s/Barcelona--Spain/homes"
  ],
  "adults": 0,
  "children": 0,
  "infants": 0,
  "pets": 0,
  "priceMin": 0,
  "priceMax": 0,
  "placeType": "Entire home/apt",
  "minBedrooms": 2,
  "minBeds": 0,
  "minBathrooms": 0,
  "currency": "EUR",
  "locale": "en",
  "scrapeDetails": true,
  "includeCalendar": false,
  "calendarMonths": 12,
  "includeReviews": false,
  "maxReviewsPerListing": 50,
  "includeHostDetails": false,
  "maxListings": 25,
  "fullCoverage": false,
  "monitoringMode": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "type": {
    "label": "Record type"
  },
  "id": {
    "label": "Listing ID",
    "format": "text"
  },
  "url": {
    "label": "Room URL",
    "format": "link"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "name": {
    "label": "Name"
  },
  "price.nightly": {
    "label": "Nightly",
    "format": "number"
  },
  "price.total": {
    "label": "Total",
    "format": "number"
  },
  "price.currency": {
    "label": "Currency",
    "format": "text"
  },
  "rating.value": {
    "label": "Rating",
    "format": "number"
  },
  "rating.reviewCount": {
    "label": "Review count"
  },
  "coordinates.latitude": {
    "label": "Latitude"
  },
  "coordinates.longitude": {
    "label": "Longitude"
  },
  "isSuperhost": {
    "label": "Superhost"
  },
  "isGuestFavorite": {
    "label": "Guest favorite"
  },
  "host.name": {
    "label": "Name"
  },
  "sourceQuery": {
    "label": "Source query"
  }
}
```

## About this Actor

This example demonstrates how to use [Airbnb Scraper: Prices, Calendar, Reviews](https://apify.com/automation_craft/airbnb-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation_craft/airbnb-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/automation_craft/airbnb-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
