Last updated
Changeloghostelworld.com API
HealthyRead-onlyStructured data from hostelworld.com. Generated from www.hostelworld.com.
/search5 credits per callSearch
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.
Authorization: Bearer <key> on every request.Parameters
city or neighbourhood name, e.g. "Lisbon", "Camden, London"; used when no map area is given
northern latitude of a map bounding box (give with south, east, west); overrides destination
southern latitude of the bounding box
eastern longitude of the bounding box
western longitude of the bounding box
latitude of a map centre (give with lng and radius_km); overrides destination
longitude of the map centre
radius around the centre in km (default 5 when lat/lng are given)
arrival date YYYY-MM-DD (default 14 days from today)
departure date YYYY-MM-DD (default 3 nights after checkin)
number of guests (1-80)
ISO currency code for prices, e.g. EUR, USD, GBP
1-based page number of 30 rows
Response fields
resolved
typee.g."city"ide.g.725namee.g."Lisbon, Portugal"checkine.g."2026-12-12"checkoute.g."2026-12-15"nightse.g.3guestse.g.2currencye.g."EUR"pagee.g.1page_sizee.g.30totale.g.73pagese.g.3properties
ide.g.36649namee.g."Yes! Lisbon Hostel"latitudee.g.38.7091373longitudee.g.-9.1377152typee.g."hostel"citye.g."Lisbon"city_ide.g.725countrye.g."Portugal"districte.g."Sao Jorge Castle"ratinge.g.9.7review_counte.g.15268dorm_bed_price_per_nighte.g.23.9dorm_bed_average_price_per_nighte.g.24.47dorm_bed_total_staye.g.73.41private_room_price_per_nightprivate_room_average_price_per_nightprivate_room_total_staycurrencye.g."EUR"free_cancellatione.g.truefree_cancellation_untile.g."2026-12-09T23:59:59+00:00"distance_from_centre_kme.g.0.53photosurle.g."https://www.hostelworld.com/pwa/hosteldetails.php/Yes-Lisbon-Hostel/Lisbon/36649?from=2026-12-12&to=2026-12-15&guests=2"pagination
counte.g.30has_moree.g.truenext_cursore.g."WzEsIjhhZjEzOWI3IixudWxsLDAseyJwYWdlIjoyfV0"fetched_ate.g."2026-11-28T14:55:58.439Z"agee.g.0curl "https://api.maviapi.com/v1/sites/hostelworld/search?destination=Lisbon&guests=2¤cy=EUR&page=1" \-H "Authorization: Bearer $MAVI_KEY"
{
"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.
https://mcp.maviapi.com/mcpOr 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 importPaste 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 /searchHostels 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 Name Type / location Required Description destination string / query No city or neighbourhood name, e.g. "Lisbon", "Camden, London"; used when no map area is given north string / query No northern latitude of a map bounding box (give with south, east, west); overrides destination south string / query No southern latitude of the bounding box east string / query No eastern longitude of the bounding box west string / query No western longitude of the bounding box lat string / query No latitude of a map centre (give with lng and radius_km); overrides destination lng string / query No longitude of the map centre radius_km string / query No radius around the centre in km (default 5 when lat/lng are given) checkin string / query No arrival date YYYY-MM-DD (default 14 days from today) checkout string / query No departure date YYYY-MM-DD (default 3 nights after checkin) guests integer / query No number of guests (1-80) currency string / query No ISO currency code for prices, e.g. EUR, USD, GBP page integer / query No 1-based page number of 30 rows Response fields Field Type Description resolved object resolved.type string resolved.id integer resolved.name string checkin string checkout string nights integer guests integer currency string page integer page_size integer total integer pages integer properties object[] properties[].id integer properties[].name string properties[].latitude number properties[].longitude number properties[].type string properties[].city string properties[].city_id integer properties[].country string properties[].district string properties[].rating number properties[].review_count integer properties[].dorm_bed_price_per_night number properties[].dorm_bed_average_price_per_night number properties[].dorm_bed_total_stay number properties[].private_room_price_per_night null properties[].private_room_average_price_per_night null properties[].private_room_total_stay null properties[].currency string properties[].free_cancellation boolean properties[].free_cancellation_until string properties[].distance_from_centre_km number properties[].photos string[] properties[].url string pagination object pagination.count integer pagination.has_more boolean pagination.next_cursor string fetched_at string age integer - Property
GET /propertyOne 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 Name Type / location Required Description id integer / query No Hostelworld property id, as returned by search checkin string / query No arrival date YYYY-MM-DD (default 14 days from today) checkout string / query No departure date YYYY-MM-DD (default 3 nights after checkin) guests integer / query No number of guests (1-80) currency string / query No ISO currency code for prices, e.g. EUR, USD, GBP Response fields Field Type Description id integer name string type string description string address string address_line1 string address_line2 null city string city_id integer country string latitude number longitude number directions string rating number review_count integer rating_breakdown object rating_breakdown.value_for_money number rating_breakdown.security number rating_breakdown.location number rating_breakdown.staff number rating_breakdown.atmosphere number rating_breakdown.cleanliness number rating_breakdown.facilities number check_in_from string check_in_until string check_out_until string facilities object[] facilities[].category string facilities[].facilities string[] policies string[] things_to_note string[] taxes object[] taxes[].type string taxes[].amount integer taxes[].unit string taxes[].included_in_price boolean photos string[] checkin string checkout string nights integer guests integer currency string free_cancellation boolean free_cancellation_until string lowest_dorm_bed_price_per_night number lowest_private_room_price_per_night null rooms object[] rooms[].room_id integer rooms[].kind string rooms[].name string rooms[].basic_type string rooms[].grade string rooms[].capacity integer rooms[].ensuite boolean rooms[].description string rooms[].bed_types string[] rooms[].beds_available integer rooms[].rooms_available null rooms[].lowest_price_per_night number rooms[].price_unit string rooms[].rates object[] rooms[].rates[].rate_plan_id integer rooms[].rates[].payment string rooms[].rates[].is_default boolean rooms[].rates[].price_per_night number rooms[].rates[].original_price_per_night number rooms[].rates[].total_stay number rooms[].rates[].nightly object[] rooms[].rates[].nightly[].date string rooms[].rates[].nightly[].price number rooms[].photos string[] url string fetched_at string age integer
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.
| List | CSV columns |
|---|---|
SearchGET /search | id, 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 '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.
Related APIs
- 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.