1 credit per call5 endpoints21 datapointsChecked working 6 Dec 2026
Hostelworld API
Hostelworld API for hostel search by city, property details, availability, reviews and autocomplete as JSON. Five endpoints, 1 credit per successful call.
{
"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"
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | idinteger | positioninteger | namestring | typestring | urlurl | overall_ratinginteger | ratings_countinteger | rating_breakdownobject | latitudenumber | longitudenumber | addressstring | districtstring | citystring | countrystring | overviewstring | distance_kmnumber | is_featuredboolean | lowest_price_per_nightobject | lowest_dorm_price_per_nightobject | lowest_private_price_per_nightobject | imageurl |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 703 | 1 | Circus Hostel | hostel | https://www.hostelworld.com/pwa/hosteldetails.php/Circus-Hostel/Berlin/703 | 92 | 8121 | {8 fields} | 52.530147 | 13.401918 | Weinbergsweg 1a, 10119 | Mitte | Berlin | Germany | Welcome to The Circus Hostel your perfect starting point to discover Berlin! With the Metro and Tram s | 1.01 | true | {2 fields} | {2 fields} | {2 fields} | https://a.hwstatic.com/image/upload/f_auto,q_auto/v1/propertyimages/7/703/hmncsutasctba9hnlaxx |
| 2 | 15426 | 2 | St Christopher's Berlin - Mitte | hostel | https://www.hostelworld.com/pwa/hosteldetails.php/St-Christopher-s-Berlin-Mitte/Berlin/15426 | 82 | 10454 | {8 fields} | 52.523588 | 13.39096 | Ziegelstr. 28 | Mitte | Berlin | Germany | Please read our Things to Note before making a booking. St 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… | 1.28 | — | {2 fields} | {2 fields} | {2 fields} | https://a.hwstatic.com/image/upload/f_auto,q_auto/v1/propertyimages/1/15426/m0tyooptf31sfivqsgdn |
| 3 | 280374 | 3 | MEININGER Berlin East Side Gallery | hostel | https://www.hostelworld.com/pwa/hosteldetails.php/MEININGER-Berlin-East-Side-Gallery/Berlin/280374 | 87 | 2164 | {8 fields} | 52.50832 | 13.4359836 | Am Postbahnhof 4 | Kreuzberg | Berlin | Germany | Welcome to MEININGER Berlin East Side Gallery MEININGER Berlin East Side Gallery is located directly o | 2.37 | — | {2 fields} | {2 fields} | {2 fields} | https://a.hwstatic.com/image/upload/f_auto,q_auto/v1/propertyimages/2/280374/bw7imhsrgc5yw2qzjnt0 |
[
{
"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"
}
]id,position,name,type,url,overall_rating,ratings_count,rating_breakdown,latitude,longitude,address,district,city,country,overview,distance_km,is_featured,lowest_price_per_night,lowest_dorm_price_per_night,lowest_private_price_per_night,image
703,1,Circus Hostel,hostel,https://www.hostelworld.com/pwa/hosteldetails.php/Circus-Hostel/Berlin/703,92,8121,"{""security"":97,""location"":96,""staff"":93,""fun"":87,""cleanliness"":92,""facilities"":89,""value"":91,""average"":92}",52.530147,13.401918,"Weinbergsweg 1a, 10119",Mitte,Berlin,Germany,"Welcome to The Circus Hostel your perfect starting point to discover Berlin!
With the Metro and Tram s",1.01,true,"{""amount"":14.29,""currency"":""EUR""}","{""amount"":14.29,""currency"":""EUR""}","{""amount"":26.88,""currency"":""EUR""}","https://a.hwstatic.com/image/upload/f_auto,q_auto/v1/propertyimages/7/703/hmncsutasctba9hnlaxx"
15426,2,St Christopher's Berlin - Mitte,hostel,https://www.hostelworld.com/pwa/hosteldetails.php/St-Christopher-s-Berlin-Mitte/Berlin/15426,82,10454,"{""security"":90,""location"":91,""staff"":86,""fun"":82,""cleanliness"":74,""facilities"":74,""value"":80,""average"":82}",52.523588,13.39096,Ziegelstr. 28,Mitte,Berlin,Germany,"Please read our Things to Note before making a booking.
St 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…",1.28,,"{""amount"":14.32,""currency"":""EUR""}","{""amount"":14.32,""currency"":""EUR""}","{""amount"":16.65,""currency"":""EUR""}","https://a.hwstatic.com/image/upload/f_auto,q_auto/v1/propertyimages/1/15426/m0tyooptf31sfivqsgdn"
280374,3,MEININGER Berlin East Side Gallery,hostel,https://www.hostelworld.com/pwa/hosteldetails.php/MEININGER-Berlin-East-Side-Gallery/Berlin/280374,87,2164,"{""security"":94,""location"":92,""staff"":88,""fun"":80,""cleanliness"":85,""facilities"":85,""value"":89,""average"":88}",52.50832,13.4359836,Am Postbahnhof 4,Kreuzberg,Berlin,Germany,"Welcome to MEININGER Berlin East Side Gallery
MEININGER Berlin East Side Gallery is located directly o",2.37,,"{""amount"":13.08,""currency"":""EUR""}","{""amount"":20,""currency"":""EUR""}","{""amount"":13.08,""currency"":""EUR""}","https://a.hwstatic.com/image/upload/f_auto,q_auto/v1/propertyimages/2/280374/bw7imhsrgc5yw2qzjnt0"Recorded 12 Nov 2026 · 3 items shown · 21 datapoints per itemGET /v1/hostelworld/search?city_id=26
21 datapoints
Identity
- idinteger
- namestring
- typestring
Contact
- urlurl
Location
- latitudenumber
- longitudenumber
- addressstring
- districtstring
- citystring
- countrystring
Reputation
- overall_ratinginteger
- ratings_countinteger
- rating_breakdownobject
- imageurl
Price
- lowest_price_per_nightobject
- lowest_dorm_price_per_nightobject
- lowest_private_price_per_nightobject
Other
- positioninteger
- overviewstring
- distance_kmnumber
- is_featuredboolean
Playground
Run this API
curl "https://api.perceptlayer.com/v1/hostelworld/search?city_id=26" \
-H "X-API-Key: $API_KEY"Hostelworld · 5 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/hostelworld/autocomplete | query | idnametype | 1 credit |
GET/v1/hostelworld/availability | property_idcheck_in+3 optional | property_idcheck_innightsguestscurrencydorms+6 more | 1 credit |
GET/v1/hostelworld/property | property_id+1 optional | property | 1 credit |
GET/v1/hostelworld/reviews | property_id+3 optional | statisticsreviewspagination | 1 credit |
GET/v1/hostelworld/search | city_id+7 optional | locationprice_rangepropertiespagination | 1 credit |
Overview
About the Hostelworld API
What you can get
The Hostelworld API returns Hostelworld hostel data as JSON through 5 endpoints.
- Places:
autocompletetakes aquery. - Search:
searchtakes acity_id, withcheck_in,nights,guests,currency,sortandpageandper_page.sorttakes price, name, rating, distance or rankscore, each also with a leading-(for example-rating). - Properties:
propertytakes aproperty_id, withcurrency. - Availability:
availabilitytakes aproperty_idandcheck_in, withnights,guestsandcurrency. - Reviews:
reviewstakes aproperty_id, withpage,per_pageandsort(date or -date).
How a call works
Search a city: GET /v1/hostelworld/search?city_id=...&check_in=...&nights=...&guests=...&sort=price with your key in the X-API-Key header. search and reviews page with page and per_page. property, availability and reviews all take the same property_id param. Every successful call costs 1 credit; failed calls cost nothing.
More travel APIs
Use cases
Compare hostel options in a city for a given check-in date and group size
Use the Hostelworld API to compare hostel options in a city for a given check-in date and group sizeCheck whether a hostel has availability for a number of nights before booking
Use the Hostelworld API to check whether a hostel has availability for a number of nights before bookingRank the hostels in a city by price, rating or distance
Use the Hostelworld API to rank the hostels in a city by price, rating or distanceCollect review text for a property for sentiment analysis, without reviewer details
Use the Hostelworld API to collect review text for a property for sentiment analysis, without reviewer detailsFAQ
Questions
Do I need a Hostelworld API key?
No. You call this Hostelworld API with your Perceptlayer key in the `X-API-Key` header, so there's no Hostelworld partner account to set up.
How much does the Hostelworld API cost?
Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Can I choose the currency?
Yes. `search`, `property` and `availability` take a `currency` param.
Is this the official Hostelworld API?
No. Perceptlayer is an independent service and is not affiliated with Hostelworld. It returns Hostelworld data as JSON with a Perceptlayer key, so there is no Hostelworld developer account, app review or partner approval to get first. It only reads data: if Hostelworld has an official API and you need to act on your own Hostelworld account, such as posting, managing orders or reading private data, use that one.
Should I build a Hostelworld scraper instead?
You can, but a Hostelworld scraper is code you maintain: page changes break it, requests get blocked, and Hostelworld's terms govern how you collect data. The Hostelworld API gives you 5 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Hostelworld API with 100 free credits
No credit card. Failed calls are never billed.