# Hostelworld Scraper - Hostel Prices, Ratings & Locations (`scrapewise/hostelworld-scraper`) Actor

Scrape Hostelworld hostels by city or link: dorm and private price per night for your dates, rating, review count, 7 category scores, address, district, coordinates, facilities, photos, check-in times, policies and cancellation. Any currency. Error rows are free.

- **URL**: https://apify.com/scrapewise/hostelworld-scraper.md
- **Developed by:** [Scrapewise Data](https://apify.com/scrapewise) (community)
- **Categories:** Travel, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.64 / 1,000 property delivereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Hostelworld Scraper: hostel prices per night, ratings, category scores and locations

Hostelworld Scraper collects **every hostel, hotel and guesthouse that Hostelworld lists in a city**, with the prices
for the dates you choose, without an account or cookies. Each property comes back as one clean row: the
lowest dorm and private price per night, the overall rating and review count, the seven category scores (security,
location, staff, atmosphere, cleanliness, facilities, value for money), the address, district, coordinates and
distance from the center, free cancellation, facilities and photos. By default each row also gets the property
details: description, check-in and check-out times, house rules, cancellation policy, deposit, payment methods,
price ranges and how many times it was booked today.

It is used to track hostel prices across cities and dates, to compare a property with its neighbours, to build
travel apps and city guides, to find the best rated budget stays for a trip, and to feed market studies of the
budget travel sector.

### At a glance

| What | Price |
|---|---|
| Property delivered | **US$ 2.16 per 1,000 properties** (US$ 0.00216 each) |
| Run start | US$ 0.005 per run |

- One city with 60 hostels, with details = **US$ 0.14**.
- The property details cost nothing extra.
- Error rows and duplicates are never charged. `maxItems` is a hard cap, and a spending limit set on the run stops it
  cleanly with everything delivered so far.

### Quick start

```json
{
  "cities": ["Lisbon"],
  "checkIn": "2026-11-20",
  "nights": 2,
  "maxItems": 50
}
```

Several cities, prices in euros, only well rated hostels, cheapest first:

```json
{
  "cities": ["Barcelona", "Amsterdam", "Prague"],
  "currency": "EUR",
  "propertyTypes": ["HOSTEL"],
  "minRating": 8.5,
  "sortBy": "price",
  "maxItems": 150
}
```

Links work too, from the address bar of hostelworld.com:

```json
{
  "startUrls": [
    { "url": "https://www.hostelworld.com/hostels/asia/thailand/bangkok/" },
    { "url": "https://www.hostelworld.com/hostels/p/63287/generator-berlin-mitte/" }
  ]
}
```

An empty input runs the example city (Lisbon) so you can see the output right away.

### Input

| Field | What it does |
|---|---|
| `cities` | City names in English, one per line. Add the country after a comma when the name is shared (`Berlin, Germany`). Each city is one search. |
| `startUrls` | City pages (`/hostels/<continent>/<country>/<city>/`) or property pages (`/hostels/p/<id>/<name>/`). |
| `checkIn` | Arrival date (YYYY-MM-DD). Empty = 14 days from today. |
| `nights` | Length of the stay, 1 to 30 (default 2). |
| `guests` | Number of guests, 1 to 8 (default 1). |
| `currency` | Currency of every price (default USD; EUR, GBP, AUD, BRL, JPY, THB and 18 more). |
| `propertyTypes` | Keep only `HOSTEL`, `HOTEL`, `GUESTHOUSE`, `APARTMENT` or `CAMPSITE`. Empty = all. |
| `minRating` | Minimum rating on Hostelworld's 0 to 10 scale (for example 8.5). |
| `maxPricePerNight` | Keep only properties whose lowest price per night is at or below this value. |
| `freeCancellationOnly` | Keep only properties with a free cancellation rate. |
| `sortBy` | `default` (Hostelworld's order), `price`, `rating`, `reviews` or `distance`. Any order other than the default reads the whole city first and then delivers the top `maxItems`. |
| `includeDetails` | Description, times, policies, cancellation, deposit, payment methods and price ranges (default on). |
| `onlyNew` | Skip properties delivered in earlier runs of the same city, for schedules. Skipped rows are not charged. |
| `maxItems` | Cap for the whole run (default 50; 0 = no cap). |
| `proxyConfiguration` | Apify Proxy by default. |

`location`, `city`, `searchQuery`, `checkInDate`, `numberOfNights`, `adults`, `maxResults` and `urls` are accepted
too, so inputs written for other Hostelworld tools keep working.

### Output

| Field | What it is |
|---|---|
| `propertyId`, `name`, `propertyType`, `url` | Hostelworld id, name, type (HOSTEL, HOTEL...) and property page |
| `city`, `cityId`, `country`, `district`, `address` | Where it is |
| `latitude`, `longitude`, `distanceFromCenterKm` | Map position and distance from the city center |
| `rating`, `ratingOutOf100`, `reviewCount` | Overall rating (0 to 10 and 0 to 100) and number of ratings |
| `ratingSecurity`, `ratingLocation`, `ratingStaff`, `ratingAtmosphere`, `ratingCleanliness`, `ratingFacilities`, `ratingValueForMoney` | The seven category scores (0 to 100) |
| `lowestPricePerNight`, `lowestDormPricePerNight`, `lowestPrivatePricePerNight` | Lowest price per night for your dates, overall, in a dorm bed and in a private room |
| `averagePricePerNight`, `originalPricePerNight` | Average price per night of the cheapest option, and the price before Hostelworld's promotions |
| `currency`, `checkIn`, `checkOut`, `nights`, `guests` | The stay the prices refer to |
| `freeCancellation`, `isFeatured`, `isNew`, `hostelworldRecommends`, `veryPopular` | Flags shown on the listing |
| `overview`, `facilities`, `images` | Short text, list of facilities and photo links |
| `position` | Position in Hostelworld's list for the city |
| `description`, `hostelworldSays`, `directions` | Long description, Hostelworld's own note (when it has one) and how to get there (details) |
| `checkInFrom`, `checkInUntil`, `latestCheckOut`, `maxGuestsPerBooking` | Times and group size (details) |
| `policies`, `thingsToNote`, `cancellationPolicy`, `freeCancellationDaysInAdvance` | House rules and cancellation (details) |
| `depositPercentage`, `paymentMethods`, `taxesIncluded` | Payment terms (details) |
| `dormPriceRange`, `privatePriceRange` | Min and max price of the dorm and private rooms (details) |
| `timesBookedToday`, `businessRegistrationNumber`, `totalImages` | Demand signal, the business registration shown by the property, and photo count (details) |
| `sourceQuery`, `scrapedAt` | The city or link you sent, and when the row was collected |

One real row (some fields shortened):

```json
{
  "type": "property",
  "propertyId": "73197",
  "name": "Lost Inn Lisbon",
  "propertyType": "HOSTEL",
  "url": "https://www.hostelworld.com/hostels/p/73197/lost-inn-lisbon/",
  "city": "Lisbon",
  "country": "Portugal",
  "district": "Rossio Square",
  "address": "Beco dos Apostolos 6",
  "latitude": 38.7082506,
  "longitude": -9.144032,
  "distanceFromCenterKm": 0.76,
  "rating": 9.4,
  "reviewCount": 7308,
  "ratingSecurity": 97,
  "ratingLocation": 97,
  "ratingStaff": 94,
  "ratingAtmosphere": 92,
  "ratingCleanliness": 92,
  "ratingFacilities": 90,
  "ratingValueForMoney": 92,
  "lowestPricePerNight": 16.61,
  "lowestDormPricePerNight": 16.61,
  "averagePricePerNight": 18.58,
  "originalPricePerNight": 20.64,
  "currency": "EUR",
  "checkIn": "2026-10-31",
  "checkOut": "2026-11-02",
  "freeCancellation": true,
  "hostelworldRecommends": true,
  "facilities": ["Luggage Storage", "24 Hour Reception", "Free WiFi", "Bar", "Security Lockers"],
  "checkInFrom": "15:00",
  "depositPercentage": 15,
  "timesBookedToday": 15
}
```

### Errors you may see

Every error is a row with `errorCode` and is never charged:

| errorCode | Meaning |
|---|---|
| `INVALID_INPUT` | A field has a wrong value (for example an unknown currency) |
| `INVALID_URL` | Not a Hostelworld city or property link |
| `CITY_NOT_FOUND` | Hostelworld has no city with that name; try the English name or add the country |
| `NOT_FOUND` | The property does not exist or was removed |
| `NO_RESULTS` | No property in the city matches the filters |
| `DATE_IN_PAST` | The check-in date was in the past; the run used 14 days from today instead |
| `BLOCKED` | Hostelworld refused every attempt; run it again in a few minutes |
| `NOT_REACHED` | `maxItems`, the spending limit or the run timeout came before this city or link |

### Integrations, scheduling and AI agents

- **Schedule** the same cities daily or weekly in [Apify schedules](https://docs.apify.com/platform/schedules) to
  follow price changes for a date, or turn on `onlyNew` to get only properties that joined Hostelworld since the last run.
- **Export** as JSON, CSV, Excel or XML, or read the dataset from the [Apify API](https://docs.apify.com/api/v2).
- **Connect** it to Make, n8n, Zapier or Google Sheets through
  [Apify integrations](https://docs.apify.com/platform/integrations).
- **AI agents:** call it as a tool through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp)
  in Claude, ChatGPT, Cursor or any MCP client, for example "find the 10 best rated hostels under 25 euros a night in
  Porto for the first weekend of December".

### FAQ

**Do I need a Hostelworld account?** No. Everything comes from public listing data, without login or cookies.

**Are the prices for my dates?** Yes. Every price is for the `checkIn`, `nights` and `guests` you set, in the
currency you choose, and the row repeats the stay so you never mix dates. Without a date the run uses 14 days from
today. Hostelworld prices change often; schedule the run to follow them.

**How many properties can I get from one city?** All of them. Big cities have 200 to 400 properties; the Actor pages
through the full list until the end or your `maxItems`.

**Why is `lowestPrivatePricePerNight` empty on some rows?** The property has no private room free for those dates
(or only has dorms). The same goes for dorm prices at hotels.

**Do you collect guest reviews?** No. Ratings, category scores and review counts are included, but review texts and
reviewer profiles are left out on purpose.

**Is it legal?** The Actor reads public listing data only and returns business information, not personal data. You
are responsible for how you use the data under the laws that apply to you.

**Something broke or a field is missing?** Open an issue on the Actor page; issues are answered within a day.

### Limitations

- Prices are the lowest bed or room per night that Hostelworld shows for the stay, not a full quote for every room
  type.
- Filters (`propertyTypes`, `minRating`, `maxPricePerNight`, `freeCancellationOnly`) are applied to Hostelworld's
  list for the city; rows that do not pass are not delivered and not charged.
- `hostelworldSays` and `businessRegistrationNumber` exist only for the properties that publish them.

### Changelog

- **16 Oct 2026**: first version. Cities by name or link, property links, dates, guests and 25 currencies, seven
  category scores, details on by default, `onlyNew` for schedules, free error rows.

# Actor input Schema

## `cities` (type: `array`):

City names in English, one per line, for example Lisbon, Bangkok or Mexico City. Add the country after a comma when the name is shared (Berlin, Germany). Each city is one search. Leave empty when you paste links below.

## `startUrls` (type: `array`):

City pages (https://www.hostelworld.com/hostels/europe/portugal/lisbon/) or property pages (https://www.hostelworld.com/hostels/p/63287/generator-berlin-mitte/).

## `checkIn` (type: `string`):

Arrival date (YYYY-MM-DD). Prices are for this stay. Empty = 14 days from today.

## `nights` (type: `integer`):

Length of the stay (1 to 30).

## `guests` (type: `integer`):

Number of guests (1 to 8).

## `currency` (type: `string`):

Currency of every price.

## `propertyTypes` (type: `array`):

Keep only these property types. Empty = all.

## `minRating` (type: `number`):

Keep only properties rated at least this (0 to 10, as on Hostelworld, e.g. 8.5).

## `maxPricePerNight` (type: `number`):

Keep only properties whose lowest price per night is at or below this, in the chosen currency.

## `freeCancellationOnly` (type: `boolean`):

Keep only properties with a free cancellation rate.

## `sortBy` (type: `string`):

Order of the rows. Any order other than Hostelworld's reads the whole city first, then delivers the top maxItems.

## `includeDetails` (type: `boolean`):

Description, check-in and check-out times, policies, cancellation policy, deposit, payment methods, price ranges and bookings today (same price).

## `onlyNew` (type: `boolean`):

Skip properties delivered in earlier runs of the same city (for schedules). They are not charged.

## `maxItems` (type: `integer`):

Cap for the whole run (0 = no cap).

## `proxyConfiguration` (type: `object`):

Apify Proxy by default. Change it only if you know you need to.

## Actor input object example

```json
{
  "cities": [
    "Lisbon"
  ],
  "startUrls": [],
  "nights": 2,
  "guests": 1,
  "currency": "USD",
  "freeCancellationOnly": false,
  "sortBy": "default",
  "includeDetails": true,
  "onlyNew": false,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `resultsCsv` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "cities": [
        "Lisbon"
    ],
    "startUrls": [],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/hostelworld-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "cities": ["Lisbon"],
    "startUrls": [],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapewise/hostelworld-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "cities": [
    "Lisbon"
  ],
  "startUrls": [],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapewise/hostelworld-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapewise/hostelworld-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/JfLFM1MUGlO0Ko07r/builds/qfvL8YUU8e4PRBWfZ/openapi.json
