Skip to main content
POST
/
api
/
hostelworld
/
properties
/
events
/hostelworld/properties/events
curl --request POST \
  --url https://api.anysite.io/api/hostelworld/properties/events \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "property": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@hostelworld_property_events",
    "url": "<string>",
    "linkup_count": 123,
    "linkup_images": [],
    "staying_traveler_count": 123,
    "travelers": []
  }
]

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/"

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_property_events
url
string | null
linkup_count
integer | null
linkup_images
string[]
staying_traveler_count
integer | null
travelers
HostelworldTraveler · object[]