---
title: "GET /hostelworld/search"
method: GET
path: "/hostelworld/search"
tags: ["Hostelworld"]
---

# GET /hostelworld/search

`GET /hostelworld/search`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/hostelworld/search`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `city_id` integer, required
- `check_in` string, date
- `nights` integer
- `guests` integer
- `currency` string
- `sort` 'price' | '-price' | 'name' | '-name' | 'rating' | '-rating' | 'distance' | '-distance' | 'rankscore' | '-rankscore'
- `page` integer
- `per_page` integer

## Response `200`

- string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `404`: The requested Hostelworld city does not exist. This response is not billable.
- `422`: A required query parameter is missing or invalid. This response is not billable.
- `503`: The upstream service is temporarily unavailable. Please retry shortly.

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
