Skip to content

hostelworld.com Search API

Hostels and other budget properties (hostels, hotels, guesthouses, campsites, apartments) with availability for the given stay, 30 per page. Each row has the Hostelworld property id, name, coordinates, type, rating (0-10) and review count, the lowest dorm-bed price (per person) and lowest private-room price (per room) per night, the average nightly price and the total for the whole stay, currency, free-cancellation flag and deadline, distance from the city centre in km, photo URLs and the property page URL with the dates and guests filled in. Rows of a destination search keep Hostelworld's own ranking; rows of a map-area search are ordered by distance from the centre of the area, then id. A map area is covered through the Hostelworld cities nearest to points spread over it, so a very large area may miss properties of small towns in it.

GEThttps://api.maviapi.com/v1/sites/hostelworld/search5 credits per call

Parameters

NameRequiredExampleDescription
destinationstring in queryOptionalLisboncity or neighbourhood name, e.g. "Lisbon", "Camden, London"; used when no map area is given
northstring in queryOptionalNonenorthern latitude of a map bounding box (give with south, east, west); overrides destination
southstring in queryOptionalNonesouthern latitude of the bounding box
eaststring in queryOptionalNoneeastern longitude of the bounding box
weststring in queryOptionalNonewestern longitude of the bounding box
latstring in queryOptionalNonelatitude of a map centre (give with lng and radius_km); overrides destination
lngstring in queryOptionalNonelongitude of the map centre
radius_kmstring in queryOptionalNoneradius around the centre in km (default 5 when lat/lng are given)
checkinstring in queryOptionalNonearrival date YYYY-MM-DD (default 14 days from today)
checkoutstring in queryOptionalNonedeparture date YYYY-MM-DD (default 3 nights after checkin)
guestsinteger in queryOptional2number of guests (1-80)
currencystring in queryOptionalEURISO currency code for prices, e.g. EUR, USD, GBP
pageinteger in queryOptional11-based page number of 30 rows

Response fields

resolvedobject3 fields
typestringe.g."city"
idintegere.g.725
namestringe.g."Lisbon, Portugal"
checkinstringe.g."2026-12-12"
checkoutstringe.g."2026-12-15"
nightsintegere.g.3
guestsintegere.g.2
currencystringe.g."EUR"
pageintegere.g.1
page_sizeintegere.g.30
totalintegere.g.73
pagesintegere.g.3
propertiesobject[]23 fields
idintegere.g.36649
namestringe.g."Yes! Lisbon Hostel"
latitudenumbere.g.38.7091373
longitudenumbere.g.-9.1377152
typestringe.g."hostel"
citystringe.g."Lisbon"
city_idintegere.g.725
countrystringe.g."Portugal"
districtstringe.g."Sao Jorge Castle"
ratingnumbere.g.9.7
review_countintegere.g.15268
dorm_bed_price_per_nightnumbere.g.23.9
dorm_bed_average_price_per_nightnumbere.g.24.47
dorm_bed_total_staynumbere.g.73.41
private_room_price_per_nightnull
private_room_average_price_per_nightnull
private_room_total_staynull
currencystringe.g."EUR"
free_cancellationbooleane.g.true
free_cancellation_untilstringe.g."2026-12-09T23:59:59+00:00"
distance_from_centre_kmnumbere.g.0.53
photosstring[]
urlstringe.g."https://www.hostelworld.com/pwa/hosteldetails.php/Yes-Lisbon-Hostel/Lisbon/36649?from=2026-12-12&to=2026-12-15&guests=2"
paginationobject3 fields
countintegere.g.30
has_morebooleane.g.true
next_cursorstringe.g."WzEsIjhhZjEzOWI3IixudWxsLDAseyJwYWdlIjoyfV0"
fetched_atstringe.g."2026-11-28T14:55:58.439Z"
ageintegere.g.0

Example request

Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.

cURL
curl 'https://api.maviapi.com/v1/sites/hostelworld/search' \
  -H "Authorization: Bearer $MAVI_KEY"

hostelworld.com Search API questions

What you get, what it costs and how to call it.

What does the hostelworld.com Search API return?

Hostels and other budget properties (hostels, hotels, guesthouses, campsites, apartments) with availability for the given stay, 30 per page. Each row has the Hostelworld property id, name, coordinates, type, rating (0-10) and review count, the lowest dorm-bed price (per person) and lowest private-room price (per room) per night, the average nightly price and the total for the whole stay, currency, free-cancellation flag and deadline, distance from the city centre in km, photo URLs and the property page URL with the dates and guests filled in. Rows of a destination search keep Hostelworld's own ranking; rows of a map-area search are ordered by distance from the centre of the area, then id. A map area is covered through the Hostelworld cities nearest to points spread over it, so a very large area may miss properties of small towns in it. The response has resolved, checkin, checkout, nights, guests, currency, page, page_size and 6 more.

Which parameters does the hostelworld.com Search API take?

Every parameter of GET /search is optional. You can pass destination, north, south, east, west, lat, lng, radius_km, checkin, checkout, guests, currency and 1 more.

How much does one hostelworld.com Search API call cost?

One successful call costs 5 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.

How do I call the hostelworld.com Search API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/hostelworld/search with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.

Is the hostelworld.com Search API official?

No. It is an independent, hosted API from maviapi for the public data on hostelworld.com, and it is not made, endorsed or supported by hostelworld.com. Its parameters and response fields are documented on this page.