Skip to main content
POST
/
api
/
hostelworld
/
properties
/
reviews
/hostelworld/properties/reviews
curl --request POST \
  --url https://api.anysite.io/api/hostelworld/properties/reviews \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "property": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@hostelworld_review",
    "text": "<string>",
    "created_at": "<string>",
    "language_code": "<string>",
    "is_machine_translated": true,
    "owner_comment": "<string>",
    "rating": {
      "@type": "@hostelworld_review_rating",
      "overall": 123,
      "value": 123,
      "safety": 123,
      "location": 123,
      "staff": 123,
      "atmosphere": 123,
      "cleanliness": 123,
      "facilities": 123
    },
    "author": {
      "@type": "@hostelworld_review_author",
      "id": "<string>",
      "name": "<string>",
      "gender": "<string>",
      "country": "<string>",
      "country_code": "<string>",
      "image": "<string>",
      "review_count": 123
    },
    "group": {
      "@type": "@hostelworld_review_group",
      "type": "<string>",
      "age": "<string>",
      "trip_types": []
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
property
string
required

Hostelworld property id or a property URL containing it

Minimum string length: 1
Examples:

"39493"

"https://www.hostelworld.com/hostels/p/39493/onefam-waterloo/"

count
integer
required

Max number of reviews to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@hostelworld_review
text
string | null
created_at
string | null
language_code
string | null
is_machine_translated
boolean | null
owner_comment
string | null
rating
HostelworldReviewRating · object
author
HostelworldReviewAuthor · object
group
HostelworldReviewGroup · object