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.

ParameterTypeRequiredAllowed values
city_idintegerRequiredAny
check_instringOptionalAny
nightsintegerOptionalAny
guestsintegerOptionalAny
currencystringOptionalAny
sortstringOptionalprice, -price, name, -name, rating, -rating, distance, -distance, rankscore, -rankscore
pageintegerOptionalAny
per_pageintegerOptionalAny

Example request

Hostelworld
GET/v1/hostelworld/search?city_id=26
{
  "success": true,
  "data": {
    "location": {
      "city_id": 26,
      "city": "Berlin",
      "country": "Germany",
      "region": "Berlin"
    },
    "price_range": {
      "lowest": {
        "amount": 7.2,
        "currency": "EUR"
      },
      "highest": {
        "amount": 999,
        "currency": "EUR"
      }
    },
    "properties": [
      {
        "id": 703,
        "position": 1,
        "name": "Circus Hostel",
        "type": "hostel",
        "url": "https://www.hostelworld.com/pwa/hosteldetails.php/Circus-Hostel/Berlin/703",
        "overall_rating": 92,
        "ratings_count": 8121,
        "rating_breakdown": {
          "security": 97,
          "location": 96,
          "staff": 93,
          "fun": 87,
          "cleanliness": 92,
          "facilities": 89,
          "value": 91,
          "average": 92
        },
        "latitude": 52.530147,
        "longitude": 13.401918,
        "address": "Weinbergsweg 1a, 10119",
        "district": "Mitte",
        "city": "Berlin",
        "country": "Germany",
        "overview": "Welcome to The Circus Hostel your perfect starting point to discover Berlin!\n\nWith the Metro and Tram s",
        "distance_km": 1.01,
        "is_featured": true,
        "lowest_price_per_night": {
          "amount": 14.29,
          "currency": "EUR"
        },
        "lowest_dorm_price_per_night": {
          "amount": 14.29,
          "currency": "EUR"
        },
        "lowest_private_price_per_night": {
          "amount": 26.88,
          "currency": "EUR"
        },
        "image": "https://a.hwstatic.com/image/upload/f_auto,q_auto/v1/propertyimages/7/703/hmncsutasctba9hnlaxx"
      },
      {
        "id": 15426,
        "position": 2,
        "name": "St Christopher's Berlin - Mitte",
        "type": "hostel",
        "url": "https://www.hostelworld.com/pwa/hosteldetails.php/St-Christopher-s-Berlin-Mitte/Berlin/15426",
        "overall_rating": 82,
        "ratings_count": 10454,
        "rating_breakdown": {
          "security": 90,
          "location": 91,
          "staff": 86,
          "fun": 82,
          "cleanliness": 74,
          "facilities": 74,
          "value": 80,
          "average": 82
        },
        "latitude": 52.523588,
        "longitude": 13.39096,
        "address": "Ziegelstr. 28",
        "district": "Mitte",
        "city": "Berlin",
        "country": "Germany",
        "overview": "Please read our Things to Note before making a booking.\n\nSt Christopher's Berlin Mitte is located in the heart of the German capital, just minutes away from some of the best sights and attractions in Berlin. Just a 5 minute walk from Museum…",
        "distance_km": 1.28,
        "lowest_price_per_night": {
          "amount": 14.32,
          "currency": "EUR"
        },
        "lowest_dorm_price_per_night": {
          "amount": 14.32,
          "currency": "EUR"
        },
        "lowest_private_price_per_night": {
          "amount": 16.65,
          "currency": "EUR"
        },
        "image": "https://a.hwstatic.com/image/upload/f_auto,q_auto/v1/propertyimages/1/15426/m0tyooptf31sfivqsgdn"
      },
      {
        "id": 280374,
        "position": 3,
        "name": "MEININGER Berlin East Side Gallery",
        "type": "hostel",
        "url": "https://www.hostelworld.com/pwa/hosteldetails.php/MEININGER-Berlin-East-Side-Gallery/Berlin/280374",
        "overall_rating": 87,
        "ratings_count": 2164,
        "rating_breakdown": {
          "security": 94,
          "location": 92,
          "staff": 88,
          "fun": 80,
          "cleanliness": 85,
          "facilities": 85,
          "value": 89,
          "average": 88
        },
        "latitude": 52.50832,
        "longitude": 13.4359836,
        "address": "Am Postbahnhof 4",
        "district": "Kreuzberg",
        "city": "Berlin",
        "country": "Germany",
        "overview": "Welcome to MEININGER Berlin East Side Gallery\n\nMEININGER Berlin East Side Gallery is located directly o",
        "distance_km": 2.37,
        "lowest_price_per_night": {
          "amount": 13.08,
          "currency": "EUR"
        },
        "lowest_dorm_price_per_night": {
          "amount": 20,
          "currency": "EUR"
        },
        "lowest_private_price_per_night": {
          "amount": 13.08,
          "currency": "EUR"
        },
        "image": "https://a.hwstatic.com/image/upload/f_auto,q_auto/v1/propertyimages/2/280374/bw7imhsrgc5yw2qzjnt0"
      }
    ],
    "pagination": {
      "page": 1,
      "per_page": 20,
      "total_pages": 3,
      "total_items": 54,
      "has_more": true
    }
  },
  "meta": {
    "endpoint_family": "search"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

data has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
locationobject
price_rangeobject
propertiesobject[]
paginationobject