APIs / Hostelworld / Search
Hostelworld: Search
Search from Hostelworld as JSON. 1 credit per successful call.
GET /v1/hostelworld/search
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
city_id | integer | Required | Any |
check_in | string | Optional | Any |
nights | integer | Optional | Any |
guests | integer | Optional | Any |
currency | string | Optional | Any |
sort | string | Optional | price, -price, name, -name, rating, -rating, distance, -distance, rankscore, -rankscore |
page | integer | Optional | Any |
per_page | integer | Optional | Any |
Example request
curl "https://api.perceptlayer.com/v1/hostelworld/search" \
-H "X-API-Key: $API_KEY"Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.