Skip to content
//Hostelworld Scraper example\\

Hostels in Lisbon and Paris, 10 per city

Top-rated properties with details and room prices.

Updated December 4, 2026

What this example returns

The dataset’s “Properties” view shows 12 columns: Name, Hostelworld page, Type, City, Rating, Reviews, Dorm from, Private from, Currency, Km to centre, District, and Check-in. See every output field.

What each setting does

The input this example runs Hostelworld Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

What to scrape mode

Properties (hostels, hotels, guesthouses)

Properties: one row per hostel/hotel in each city (and per property URL). Reviews: one row per guest review of each property URL, or of the top properties of each city.

Cities locations

https://www.hostelworld.com/hostels/europe/portugal/lisbon/, Paris, France

City names (e.g. Berlin, Lisbon, Portugal or Berlin, USA), Hostelworld city URLs such as https://www.hostelworld.com/hostels/europe/germany/berlin/ (district URLs with /d// are filtered to that district), Hostelworld search URLs (their dates and guests are used), or numeric city ids.

Property URLs or ids propertyUrls

11286

Hostelworld property pages such as https://www.hostelworld.com/hostels/p/11286/eastseven-berlin-hostel/ (old hosteldetails.php links work too) or numeric property ids. In Reviews mode these are the properties whose reviews are saved; in Properties mode each becomes one property row.

Maximum properties per city maxItemsPerLocation

10

Stop after this many properties per city (in Reviews mode: how many of each city's properties to read reviews for). 0 means all.

Default: 20 → this example uses 10

Maximum reviews per property maxReviewsPerProperty

5

Reviews mode: stop after this many reviews per property. 0 means all.

Default: 20 → this example uses 5

Check-in date checkIn

2026-11-20

Optional. With a date, prices are the live lowest dorm and private prices for your stay and only properties with availability are listed. Without one, Hostelworld's indicative prices are shown. A date in the past starts the stay today.

Nights nights

2

Length of stay when only a check-in date is given (1-30).

Guests guests

2

Number of guests for availability and prices.

Default: 1 → this example uses 2

Currency currency

USD

Three-letter currency code for prices, e.g. EUR, USD, GBP, AUD.

Default: EUR → this example uses USD

Sort properties by sortBy

Highest rating first

Order of each city's properties (matters when the limit is lower than the city's total).

Default: Recommended (Hostelworld default) → this example uses Highest rating first

Include property profile includeDetails

Yes

Adds the full description, directions, check-in and check-out times, best-for tags, payment methods, deposit, cancellation policy, things to note, policies, taxes and fees. One extra request per property, charged as 'Property with profile' instead of 'Property'.

Default: No → this example uses Yes

Include live rooms and prices includeRooms

Yes

Needs a check-in date. Adds every available dorm and private room for your stay with price per night, total price, capacity, ensuite and beds left. Charged as a 'Room availability' add-on per property.

Default: No → this example uses Yes

Sort reviews by reviewsSort

Newest first

Order in which reviews are read. With Newest first, 'Reviews from' stops at the first older review.

Reviews in all languages reviewsAllLanguages

Yes

On: reviews in every language, as written. Off: English reviews only.

.json
{
  "locations": [
    "https://www.hostelworld.com/hostels/europe/portugal/lisbon/",
    "Paris, France"
  ],
  "propertyUrls": [
    "11286"
  ],
  "checkIn": "2026-11-20",
  "nights": 2,
  "guests": 2,
  "includeDetails": true,
  "includeRooms": true,
  "maxItemsPerLocation": 10,
  "currency": "USD",
  "sortBy": "rating",
  "mode": "properties",
  "maxReviewsPerProperty": 5,
  "reviewsSort": "newest",
  "reviewsAllLanguages": true
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Propertyfrom $0.0007112Charged for each hostel, hotel or guesthouse saved from a city search or property lookup.
  • Property with profilefrom $0.00213Charged instead of 'Property' when the property profile is switched on and was loaded (description, directions, policies, check-in times, taxes and fees).
  • Reviewfrom $0.001497Charged for each guest review saved. Empty results and invalid inputs are free.
  • Room availabilityfrom $0.001419Add-on per property when live rooms are switched on and a check-in date is set: every available dorm and private room with prices.

Full pricing

When to use this example

From the Hostelworld Scraper readme:

Why is a price empty?

A property without dorms has no dorm price, and some properties have no availability for your dates. Without a check-in date the prices are Hostelworld's indicative "from" prices.

Known limit

Prices depend on dates, guests and currency; results without a check-in date are indicative only.

Other ways to run Hostelworld Scraper

All examples of Hostelworld Scraper

About Hostelworld Scraper

Scrape Hostelworld hostels and hotels by city with your dates and guests: ratings and sub-ratings, review counts, lowest dorm and private prices, facilities, coordinates and photos, plus optional profiles and live room prices. Or get guest reviews with reviewer nationality, age group and trip type. No login needed.

Price:
From $0.711 / 1,000 results
Developer:
Roam & Roof

Hostelworld Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.