# Hostelworld City Hostel Listings

> Hostelworld City Hostel Listings is a paid API for AI agents from api.healthtravel-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns up to 30 hostels in a given city as listed on Hostelworld's public city page, including name, address, coordinates, guest rating, review count, lowest nightly price, and property URL.

## Facts

- Endpoint: GET https://api.healthtravel-api.workers.dev/api/travel/hostelworld?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hostelworld-city-hostel-listings-2a8b70e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Xj0b2ZaEuhE2-4sxDxZQD

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hostelworld-city-hostel-listings-2a8b70e3
```

Example prompt: Can you pull up the hostels listed on Hostelworld for Berlin, Germany (europe continent) — I want to see names, ratings, and starting prices for up to 20 options?

## When to prefer this

Use this endpoint when you need a quick snapshot of hostels available in a city according to Hostelworld's public listings, including ratings and indicative prices, without needing real-time date-specific availability. Prefer this over generic hotel APIs when specifically targeting budget/hostel accommodation, or when you need Hostelworld's own ranking and pricing data. Not suitable when you need live availability for specific dates or booking capability.

## Known failure modes

- Invalid continent/country/city slug (not matching Hostelworld URL format) returns an error or empty results
- City not listed on Hostelworld returns empty list
- Limit parameter outside 1-30 range may be ignored or cause an error
- Currency shown depends on visitor region and may vary
- Network or upstream Hostelworld page changes may cause scraping failures

## How this service works

Hostels in a city as listed on Hostelworld's public city page (up to 30, Hostelworld's own order): name, address, coordinates, guest rating out of 10 with review count, lowest 'from' price per night as shown (currency depends on the visitor region) and property URL. Needs the continent, country and city as in Hostelworld URLs (e.g. europe / germany / berlin). No live availability for dates.

## Output

A list of up to 30 hostels for the requested city, each containing: hostel name, street address, geographic coordinates (lat/lon), guest rating out of 10, number of reviews, lowest advertised price per night (in a region-dependent currency), and a direct URL to the hostel's Hostelworld property page. Results are ordered as Hostelworld presents them on their public city page. No live date-based availability is included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "continent",
      "country",
      "city"
     ],
     "properties": {
      "city": {
       "type": "string",
       "description": "City as in Hostelworld URLs, e.g. berlin, new-york, bangkok"
      },
      "limit": {
       "type": "string",
       "description": "Hostels to return, 1 to 30 (default 30)"
      },
      "country": {
       "type": "string",
       "description": "Country as in Hostelworld URLs, e.g. germany, united-states, thailand"
      },
      "continent": {
       "type": "string",
       "description": "One of europe, asia, africa, north-america, south-america, oceania, central-america"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hostelworld-city-hostel-listings-2a8b70e3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.healthtravel-api.workers.dev](https://www.zero.xyz/host/api.healthtravel-api.workers.dev/llms.txt)
