Skip to content

Last updated

Changelog

hostelworld.com API

HealthyRead-only

Structured data from hostelworld.com. Generated from www.hostelworld.com.

Base URL
https://api.maviapi.com/v1/sites/hostelworld
2
Endpoints
12 min ago
Last verified
1982ms
p50 latency
GET/search5 credits per call

Search

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.

Bearer auth. Pass your key as Authorization: Bearer <key> on every request.
stringOptionalin query

city or neighbourhood name, e.g. "Lisbon", "Camden, London"; used when no map area is given

stringOptionalin query

northern latitude of a map bounding box (give with south, east, west); overrides destination

stringOptionalin query

southern latitude of the bounding box

stringOptionalin query

eastern longitude of the bounding box

stringOptionalin query

western longitude of the bounding box

stringOptionalin query

latitude of a map centre (give with lng and radius_km); overrides destination

stringOptionalin query

longitude of the map centre

stringOptionalin query

radius around the centre in km (default 5 when lat/lng are given)

stringOptionalin query

arrival date YYYY-MM-DD (default 14 days from today)

stringOptionalin query

departure date YYYY-MM-DD (default 3 nights after checkin)

integerOptionalin query

number of guests (1-80)

stringOptionalin query

ISO currency code for prices, e.g. EUR, USD, GBP

integerOptionalin query

1-based page number of 30 rows

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
Try itLive
GET
https://api.maviapi.com/v1/sites/hostelworld/search?destination=Lisbon&guests=2&currency=EUR&page=1
Request
curl "https://api.maviapi.com/v1/sites/hostelworld/search?destination=Lisbon&guests=2&currency=EUR&page=1" \
-H "Authorization: Bearer $MAVI_KEY"
Example1.4 KB
{
  "resolved": {
    "type": "city",
    "id": 725,
    "name": "Lisbon, Portugal"
  },
  "checkin": "2026-12-12",
  "checkout": "2026-12-15",
  "nights": 3,
  "guests": 2,
  "currency": "EUR",
  "page": 1,
  "page_size": 30,
  "total": 73,
  "pages": 3,
  "properties": [
    {
      "id": 36649,
      "name": "Yes! Lisbon Hostel",
      "latitude": 38.7091373,
      "longitude": -9.1377152,
      "type": "hostel",
      "city": "Lisbon",
      "city_id": 725,
      "country": "Portugal",
      "district": "Sao Jorge Castle",
      "rating": 9.7,
      "review_count": 15268,
      "dorm_bed_price_per_night": 23.9,
      "dorm_bed_average_price_per_night": 24.47,
      "dorm_bed_total_stay": 73.41,
      "private_room_price_per_night": null,
      "private_room_average_price_per_night": null,
      "private_room_total_stay": null,
      "currency": "EUR",
      "free_cancellation": true,
      "free_cancellation_until": "2026-12-09T23:59:59+00:00",
      "distance_from_centre_km": 0.53,
      "photos": [
        "https://a.hwstatic.com/propertyimages/3/36649/clgjsiiqn96qksjzxbxm.jpg"
      ],
      "url": "https://www.hostelworld.com/pwa/hosteldetails.php/Yes-Lisbon-Hostel/Lisbon/36649?from=2026-12-12&to=2026-12-15&guests=2"
    }
  ],
  "pagination": {
    "count": 30,
    "has_more": true,
    "next_cursor": "WzEsIjhhZjEzOWI3IixudWxsLDAseyJwYWdlIjoyfV0"
  },
  "fetched_at": "2026-11-28T14:55:58.439Z",
  "age": 0
}

Get all the data, no code

Collect every page of GET /search into a dataset, for one request or for a whole list of them, then download it as CSV or JSON. A page costs the same as one call of the endpoint; the download is free.

Use hostelworld.com API from Claude, ChatGPT and your coding tools

Add this URL as a custom connector and sign in to maviapi. Nothing to install.

How to connect
https://mcp.maviapi.com/mcp

Or run it locally, with each endpoint of hostelworld.com API as its own tool:

claude mcp add maviapi -e MAVIAPI_TOOLS=hostelworld -- npx -y '@maviapi/mcp'

Import hostelworld.com API into Postman and other tools

How to import

Paste a link into Postman, Insomnia, an agent framework or a no-code tool to get every endpoint with its parameters and response fields. The link always serves the current endpoints, so importing it again picks up new ones.

  • OpenAPI 3.1
    https://api.maviapi.com/v1/apis/hostelworld/openapi.json
  • Postman
    https://api.maviapi.com/v1/apis/hostelworld/postman.json

The Postman collection sends the shared demo key until you put your own key in its maviapi_key variable.

Build with the hostelworld.com API

Choose a starting endpoint

  • Search GET /search

    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.

    Parameters and response fields for GET /search
    Request parameters
    NameType / locationRequiredDescription
    destinationstring / queryNocity or neighbourhood name, e.g. "Lisbon", "Camden, London"; used when no map area is given
    northstring / queryNonorthern latitude of a map bounding box (give with south, east, west); overrides destination
    southstring / queryNosouthern latitude of the bounding box
    eaststring / queryNoeastern longitude of the bounding box
    weststring / queryNowestern longitude of the bounding box
    latstring / queryNolatitude of a map centre (give with lng and radius_km); overrides destination
    lngstring / queryNolongitude of the map centre
    radius_kmstring / queryNoradius around the centre in km (default 5 when lat/lng are given)
    checkinstring / queryNoarrival date YYYY-MM-DD (default 14 days from today)
    checkoutstring / queryNodeparture date YYYY-MM-DD (default 3 nights after checkin)
    guestsinteger / queryNonumber of guests (1-80)
    currencystring / queryNoISO currency code for prices, e.g. EUR, USD, GBP
    pageinteger / queryNo1-based page number of 30 rows
    Response fields
    FieldTypeDescription
    resolvedobject
    resolved.typestring
    resolved.idinteger
    resolved.namestring
    checkinstring
    checkoutstring
    nightsinteger
    guestsinteger
    currencystring
    pageinteger
    page_sizeinteger
    totalinteger
    pagesinteger
    propertiesobject[]
    properties[].idinteger
    properties[].namestring
    properties[].latitudenumber
    properties[].longitudenumber
    properties[].typestring
    properties[].citystring
    properties[].city_idinteger
    properties[].countrystring
    properties[].districtstring
    properties[].ratingnumber
    properties[].review_countinteger
    properties[].dorm_bed_price_per_nightnumber
    properties[].dorm_bed_average_price_per_nightnumber
    properties[].dorm_bed_total_staynumber
    properties[].private_room_price_per_nightnull
    properties[].private_room_average_price_per_nightnull
    properties[].private_room_total_staynull
    properties[].currencystring
    properties[].free_cancellationboolean
    properties[].free_cancellation_untilstring
    properties[].distance_from_centre_kmnumber
    properties[].photosstring[]
    properties[].urlstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursorstring
    fetched_atstring
    ageinteger
  • Property GET /property

    One Hostelworld property: name, type, description, address, coordinates, all listed photos, facilities by category, overall rating and its breakdown (0-10) with review count, check-in window and latest check-out time, things to note and taxes, and for the given stay every available dorm and private room type with its capacity, beds/rooms left, and prices per rate plan (per night, total for the stay and night by night). Dorm prices are per bed, private prices per room. `url` opens the property page with the dates and guests filled in.

    Parameters and response fields for GET /property
    Request parameters
    NameType / locationRequiredDescription
    idinteger / queryNoHostelworld property id, as returned by search
    checkinstring / queryNoarrival date YYYY-MM-DD (default 14 days from today)
    checkoutstring / queryNodeparture date YYYY-MM-DD (default 3 nights after checkin)
    guestsinteger / queryNonumber of guests (1-80)
    currencystring / queryNoISO currency code for prices, e.g. EUR, USD, GBP
    Response fields
    FieldTypeDescription
    idinteger
    namestring
    typestring
    descriptionstring
    addressstring
    address_line1string
    address_line2null
    citystring
    city_idinteger
    countrystring
    latitudenumber
    longitudenumber
    directionsstring
    ratingnumber
    review_countinteger
    rating_breakdownobject
    rating_breakdown.value_for_moneynumber
    rating_breakdown.securitynumber
    rating_breakdown.locationnumber
    rating_breakdown.staffnumber
    rating_breakdown.atmospherenumber
    rating_breakdown.cleanlinessnumber
    rating_breakdown.facilitiesnumber
    check_in_fromstring
    check_in_untilstring
    check_out_untilstring
    facilitiesobject[]
    facilities[].categorystring
    facilities[].facilitiesstring[]
    policiesstring[]
    things_to_notestring[]
    taxesobject[]
    taxes[].typestring
    taxes[].amountinteger
    taxes[].unitstring
    taxes[].included_in_priceboolean
    photosstring[]
    checkinstring
    checkoutstring
    nightsinteger
    guestsinteger
    currencystring
    free_cancellationboolean
    free_cancellation_untilstring
    lowest_dorm_bed_price_per_nightnumber
    lowest_private_room_price_per_nightnull
    roomsobject[]
    rooms[].room_idinteger
    rooms[].kindstring
    rooms[].namestring
    rooms[].basic_typestring
    rooms[].gradestring
    rooms[].capacityinteger
    rooms[].ensuiteboolean
    rooms[].descriptionstring
    rooms[].bed_typesstring[]
    rooms[].beds_availableinteger
    rooms[].rooms_availablenull
    rooms[].lowest_price_per_nightnumber
    rooms[].price_unitstring
    rooms[].ratesobject[]
    rooms[].rates[].rate_plan_idinteger
    rooms[].rates[].paymentstring
    rooms[].rates[].is_defaultboolean
    rooms[].rates[].price_per_nightnumber
    rooms[].rates[].original_price_per_nightnumber
    rooms[].rates[].total_staynumber
    rooms[].rates[].nightlyobject[]
    rooms[].rates[].nightly[].datestring
    rooms[].rates[].nightly[].pricenumber
    rooms[].photosstring[]
    urlstring
    fetched_atstring
    ageinteger

Export hostelworld.com data to CSV

Each list below downloads as a CSV file with one row per record. Collect it into a dataset with "Get all the data, no code" under the console above. The dataset reads the list page by page, and you download it as CSV, JSON or JSONL.

ListCSV columns
SearchGET /searchid, name, latitude, longitude, type, city, city_id, country, district, rating, review_count, dorm_bed_price_per_night, dorm_bed_average_price_per_night, dorm_bed_total_stay, private_room_price_per_night, private_room_average_price_per_night, private_room_total_stay, currency, free_cancellation, free_cancellation_until, distance_from_centre_km, photos, url

A nested value (a list or an object) is written as JSON in one cell. How datasets and exports work

hostelworld.com API questions

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

Is there an official hostelworld.com API?

This hostelworld.com API is not official. 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. Whether hostelworld.com offers a developer API of its own is a question for hostelworld.com. This one is ready to call with a maviapi key, and every endpoint and field it returns is documented on this page.

What data can I get from the hostelworld.com API?

The hostelworld.com API has 2 endpoints. Each returns JSON with the parameters and fields documented above:

  • GET /search: Hostels and other budget properties (hostels, hotels, guesthouses, campsites, apartments) with availability for the given stay, 30 per page.
  • GET /property: One Hostelworld property: name, type, description, address, coordinates, all listed photos, facilities by category, overall rating and its breakdown (0-10)…

How much does the hostelworld.com API cost?

Calls are paid in credits from your maviapi plan, and only successful calls are charged. Every endpoint of this API costs 5 credits per call. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. Failed calls are free. 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 API?

Send an HTTPS request to the endpoint with your API key in the Authorization header. For example, GET /search:

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

Create a key on your API keys page, or try any endpoint first in the console above with the free test key.

What are the ways to get hostelworld.com data as JSON?

Each way to get hostelworld.com data as JSON fits a different need:

  • Your own scraper: Full control and no vendor, but the parsing, the blocked requests and the repairs after every change on hostelworld.com are yours. Better for a one-off pull from a page that rarely changes.
  • Apify: A marketplace of Actors you run, where input, output and price are set by each Actor. Better when an Actor already returns what you need, or you want to host your own code. See maviapi vs Apify.
  • RapidAPI: A hub of APIs added by many providers, called with one RapidAPI key and priced per API. Better when you already use the hub and one of its APIs covers what you need. Source: RapidAPI docs.
  • maviapi: The hostelworld.com API on this page: 2 documented endpoints, a published response schema and one key for the whole catalog. Better when this data is part of your product and you do not want to maintain a scraper.

What happens when hostelworld.com changes its layout?

Your code does not change. maviapi keeps the hostelworld.com API working when hostelworld.com changes its pages, so you keep calling the same endpoints and get JSON in the shape documented here. See its current health on the status page and what changed in its changelog.

Will an update break my hostelworld.com API integration?

No. An endpoint you use never changes shape: new fields, optional parameters and endpoints are added beside it, and a change that would break a call ships as a new endpoint. Ignore response fields you do not know, and follow the changelog for what is new.

  • Tripadvisor API

    Trip-planning data from Tripadvisor: geo search plus attractions, restaurants and hotels by location (geo_id), with…

  • Songkick Concerts API

    Upcoming concerts and music festivals in any city from Songkick, for a date window, with venues, performers, prices…

  • Google Maps API

    Structured data from maps.google.com.