# Barcelona Hotels & Prices | Booking.com Scraper

**Use case:** 

Scrape hotels and nightly prices in Barcelona from Booking.com: review scores, star ratings, addresses and coordinates. Export to JSON, CSV or Excel.

## Input

```json
{
  "maxItems": 10,
  "withDetails": true,
  "destination": "Barcelona",
  "adults": 2,
  "rooms": 1,
  "currency": "EUR"
}
```

## Output

```json
{
  "imageUrl": {
    "label": "Image",
    "format": "image"
  },
  "name": {
    "label": "Property",
    "format": "text"
  },
  "type": {
    "label": "Type",
    "format": "text"
  },
  "id": {
    "label": "Property ID",
    "format": "text"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "priceFormatted": {
    "label": "Price Shown",
    "format": "text"
  },
  "reviewScore": {
    "label": "Score",
    "format": "number"
  },
  "reviewScoreWord": {
    "label": "Rating",
    "format": "text"
  },
  "reviewsCount": {
    "label": "Reviews",
    "format": "number"
  },
  "starRating": {
    "label": "Stars",
    "format": "number"
  },
  "address": {
    "label": "Address",
    "format": "text"
  },
  "streetAddress": {
    "label": "Street Address",
    "format": "text"
  },
  "city": {
    "label": "City",
    "format": "text"
  },
  "region": {
    "label": "Region",
    "format": "text"
  },
  "postalCode": {
    "label": "Postal Code",
    "format": "text"
  },
  "countryCode": {
    "label": "Country",
    "format": "text"
  },
  "displayLocation": {
    "label": "Location Label",
    "format": "text"
  },
  "distanceFromCenter": {
    "label": "From Center",
    "format": "text"
  },
  "latitude": {
    "label": "Latitude",
    "format": "number"
  },
  "longitude": {
    "label": "Longitude",
    "format": "number"
  },
  "freeCancellation": {
    "label": "Free Cancellation",
    "format": "boolean"
  },
  "breakfastIncluded": {
    "label": "Breakfast Included",
    "format": "boolean"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "observedAt": {
    "label": "Scraped",
    "format": "date"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Booking.com Hotels & Prices Scraper](https://apify.com/scrapers_lat/booking-hotels-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapers_lat/booking-hotels-scraper) to learn more, explore other use cases, and run it yourself.