# Cheapest 100 Hotels in Barcelona on Booking.com

**Use case:** 

Booking's own price-ascending order is stable between pages, so a hundred properties come back as the bottom of the city's price ladder for a two-night weekend six weeks out: the median rate, the share under a budget, which cheap ones still offer free cancellation. One search request, one row per property, in euros, with stars and score. Cost: 100 hotel rows at $0.004 = at most $0.40 a run.

## Input

```json
{
  "locationQueries": [
    "Barcelona"
  ],
  "maxHotelsPerQuery": 100,
  "startUrls": [],
  "hotelNames": [],
  "hotelIds": [],
  "checkIn": "6 weeks",
  "nights": 2,
  "adults": 2,
  "childrenAges": [],
  "rooms": 1,
  "currency": "EUR",
  "sortBy": "price",
  "minStars": 0,
  "maxPrice": 0,
  "includeRooms": false,
  "locale": "en-US",
  "sessions": 4,
  "perIp": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "name": {
    "label": "Property name",
    "format": "string"
  },
  "price_nightly": {
    "label": "Nightly rate",
    "format": "number"
  },
  "price_total": {
    "label": "Stay total",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "stars": {
    "label": "Stars",
    "format": "number"
  },
  "review_score": {
    "label": "Review score",
    "format": "number"
  },
  "room_name": {
    "label": "Cheapest room",
    "format": "string"
  },
  "free_cancellation": {
    "label": "Free cancellation",
    "format": "boolean"
  },
  "breakfast_included": {
    "label": "Breakfast included",
    "format": "boolean"
  },
  "display_location": {
    "label": "Neighbourhood",
    "format": "string"
  },
  "url": {
    "label": "Property URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Booking.com Scraper — Hotel Prices & Availability by Date](https://apify.com/kestrel/booking-prices-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kestrel/booking-prices-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/kestrel/booking-prices-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`).
