+Hostelworld API
Search Hostelworld hostels by city and dates and pull prices, rooms, ratings and reviews as clean JSON.
The API.SH Hostelworld API turns public Hostelworld pages into structured JSON. Search a city's hostels and budget stays for given dates with lowest dorm and private prices, ratings and category scores, district, distance to the centre and free cancellation deadline. Open a property for its policies, facilities, check-in times and every dorm and private room with beds left and price per night, and page through reviews with ratings, owner replies and traveller details such as group type, age band and nationality.
- 3 endpoints
- from $1 / 1,000 calls
- 1,000 free credits / month
- failed calls free
GET https://api.api.sh/hostelworld/v1/ search
{ "success": true } What you can build with the Hostelworld API
Hostel price tracking
Search a city for the same dates on a schedule and track lowest dorm and private prices and discounts across hostels.
Availability and rate checks
Open a property for given dates to see each dorm and private room, beds left and every rate plan's price per night and total.
Guest review analysis
Pull reviews with category scores, text and owner replies, and see the mix of solo, couple and group travellers.
Competitor benchmarking for hostel owners
Compare your hostel's ratings, prices and facilities with others in the same city and district.
Hostelworld data you get
Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.
Hostelworld API endpoints and prices
Every Hostelworld endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing
| Hostelworld city search /hostelworld/ | $1 · $2 PAYG 1 credit |
| Hostelworld property /hostelworld/ | $1 · $2 PAYG 1 credit |
| Hostelworld reviews /hostelworld/ | $1 · $2 PAYG 1 credit |
Call the Hostelworld API
Hostelworld city search: GET https://api.api.sh/hostelworld/
curl "https://api.api.sh/hostelworld/v1/search?city_id=14" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/hostelworld/v1/search",
params={"city_id": "14"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/hostelworld/v1/search");
url.searchParams.set("city_id", "14");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); # Google Sheets (API.SH add-on)
=APISH("/hostelworld/v1/search", "city_id", "14")
# Zapier, Make, n8n (verified node): pick the API.SH app,
# choose "Hostelworld" and "Hostelworld city search".
# AI agents (Claude, ChatGPT, Cursor): add the
# API.SH MCP server https://api.sh/mcp - Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
- Create an API keyOne key works for all 482 platforms.
- Send the requestJSON back in one call. Add
output=csvoroutput=ndjsonfor files.
Why API.SH for Hostelworld data
- Public data only: no Hostelworld login, cookies or account needed
- One key and one response shape for Hostelworld and 481 other platforms
- Built and maintained by API.SH, not third-party publishers
- Pay per call; errors on our side cost nothing
- Live status for every endpoint
API.SH vs the official Hostelworld API
Hostelworld's APIs are for partners: property owners connect channel managers such as Beds24 or Cloudbeds, and affiliates join its affiliate programme. There is no public API for reading hostel prices and reviews. API.SH returns public Hostelworld search, property and review data as JSON.
The Apify Hostelworld scrapers that rank for this search cover city listings; API.SH adds room-level prices and paged reviews under one key at a fixed price per call.
Hostelworld API questions
What Hostelworld data can I get?+
City search for given dates with prices, ratings and facilities (/hostelworld/v1/search), one property with policies, rooms, beds left and rate plans (/hostelworld/v1/property) and reviews with scores and traveller details (/hostelworld/v1/reviews).
How much does the Hostelworld API cost?+
Every Hostelworld endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.
Is there a free trial?+
Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /hostelworld/v1/property at 1 credit each.
Is there an official Hostelworld API?+
Only for partners: property owners connect through channel managers and affiliates use the affiliate programme. There is no public data API key for prices and reviews; API.SH covers those.
Do I need a Hostelworld account or login?+
No. API.SH reads public Hostelworld pages only. No endpoint uses a login, cookies or anyone's account. It does not make bookings.
What is Hostelworld?+
Hostelworld is an online travel agent focused on hostels worldwide, with dorm and private rooms, ratings out of 10 and guest reviews. The API returns that public data.
How do I find a city id?+
Take it from a hostelworld.com city page URL, or pass the city page URL itself. Then add checkin, nights and guests to get prices for your dates.
How do I get started?+
1. Sign up at api.sh. 2. Copy your API key. 3. Call /hostelworld/v1/search with a city id, a checkin date and nights. Every parameter and request examples are in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.