# Barcelona Hostel Scraper

**Use case:** 

Scrape Hostelz.com for Barcelona hostels with names, prices, ratings and locations. Structured budget accommodation data in seconds.

## Input

```json
{
  "searchLocation": "Barcelona",
  "maxItems": 5
}
```

## Output

```json
{
  "imageUrl": {
    "label": "Image Url",
    "format": "link"
  },
  "name": {
    "label": "Name",
    "format": "text"
  },
  "url": {
    "label": "Url",
    "format": "link"
  },
  "city": {
    "label": "City",
    "format": "text"
  },
  "country": {
    "label": "Country",
    "format": "text"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "numReviews": {
    "label": "Num Reviews",
    "format": "number"
  },
  "priceFrom": {
    "label": "Price From",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "distance": {
    "label": "Distance",
    "format": "number"
  },
  "bookingUrl": {
    "label": "Booking Url",
    "format": "link"
  },
  "scrapedAt": {
    "label": "Scraped At",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Hostelz Scraper | Hostel Listings and Prices](https://apify.com/parseforge/hostelz-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/parseforge/hostelz-scraper) to learn more, explore other use cases, and run it yourself.