Skip to main content
POST
cURL

Body

application/json

Hostelworld review scraping parameters

query
string
required

Provide proper Hostelworld Url or provide hostel id

reviews_to_fetch
number

Number of reviews to fetch (default: all reviews, or within 30-second timeout)

filter_type
boolean

Filter type for reviews

sort_type
enum<string>
default:-date

Order in which reviews should be sorted

Available options:
-date,
date,
-rating,
rating,
age-group
pagination_token
string

The next_page received with the past request, which is required for the pagination

is_text_formatted
boolean

returns the review text with visual formatting preserved

sync_date
string

Fetches reviews posted on a specific date using format: YYYY-MM-DD

Response

Reviews fetched successfully

all_reviews
object[]

Array of fetched reviews

extra_information
object
message
string

Status message about the review extraction