[
{
"id": "hostelworld-api_1000",
"service": "hostelworld-api",
"title": "HOSTELWORLD Record #1",
"status": "VERIFIED_ACTIVE",
"result": "Processed query successfully for hostelworld-api",
"inputReceived": {
"city": "London",
"cityId": 10,
"currency": "USD",
"maxItems": 50
},
"data": {
"index": 1,
"relevanceScore": 0.95,
"summary": "High-fidelity structured response for HOSTELWORLD query parameter extraction.",
"attributes": {
"region": "Global",
"category": "HOSTELWORLD",
"timestamp": "2026-10-12T10:22:17.162Z"
}
},
"timestamp": "2026-10-12T10:22:17.162Z"
},
{
"id": "hostelworld-api_1001",
"service": "hostelworld-api",
"title": "HOSTELWORLD Record #2",
"status": "VERIFIED_ACTIVE",
"result": "Processed query successfully for hostelworld-api",
"inputReceived": {
"city": "London",
"cityId": 10,
"currency": "USD",
"maxItems": 50
},
"data": {
"index": 2,
"relevanceScore": 0.8999999999999999,
"summary": "High-fidelity structured response for HOSTELWORLD query parameter extraction.",
"attributes": {
"region": "Global",
"category": "HOSTELWORLD",
"timestamp": "2026-10-12T10:22:17.162Z"
}
},
"timestamp": "2026-10-12T10:22:17.162Z"
},
{
"id": "hostelworld-api_1002",
"service": "hostelworld-api",
"title": "HOSTELWORLD Record #3",
"status": "VERIFIED_ACTIVE",
"result": "Processed query successfully for hostelworld-api",
"inputReceived": {
"city": "London",
"cityId": 10,
"currency": "USD",
"maxItems": 50
},
"data": {
"index": 3,
"relevanceScore": 0.85,
"summary": "High-fidelity structured response for HOSTELWORLD query parameter extraction.",
"attributes": {
"region": "Global",
"category": "HOSTELWORLD",
"timestamp": "2026-10-12T10:22:17.162Z"
}
},
"timestamp": "2026-10-12T10:22:17.162Z"
},
{
"id": "hostelworld-api_1003",
"service": "hostelworld-api",
"title": "HOSTELWORLD Record #4",
"status": "VERIFIED_ACTIVE",
"result": "Processed query successfully for hostelworld-api",
"inputReceived": {
"city": "London",
"cityId": 10,
"currency": "USD",
"maxItems": 50
},
"data": {
"index": 4,
"relevanceScore": 0.7999999999999999,
"summary": "High-fidelity structured response for HOSTELWORLD query parameter extraction.",
"attributes": {
"region": "Global",
"category": "HOSTELWORLD",
"timestamp": "2026-10-12T10:22:17.162Z"
}
},
"timestamp": "2026-10-12T10:22:17.162Z"
},
{
"id": "hostelworld-api_1004",
"service": "hostelworld-api",
"title": "HOSTELWORLD Record #5",
"status": "VERIFIED_ACTIVE",
"result": "Processed query successfully for hostelworld-api",
"inputReceived": {
"city": "London",
"cityId": 10,
"currency": "USD",
"maxItems": 50
},
"data": {
"index": 5,
"relevanceScore": 0.75,
"summary": "High-fidelity structured response for HOSTELWORLD query parameter extraction.",
"attributes": {
"region": "Global",
"category": "HOSTELWORLD",
"timestamp": "2026-10-12T10:22:17.162Z"
}
},
"timestamp": "2026-10-12T10:22:17.162Z"
}
]
curl --location --request POST 'https://zylalabs.com/api/14171/hostelworld+backpackers+and+budget+hostel+scraper+api/35215/execute+hostelworld+backpackers+and+budget+hostel+scraper+api' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"city":"London","cityId":10,"currency":"USD","maxItems":50}'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 青旅世界背包客和预算青年旅舍抓取器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
端点返回实时旅馆列表,包括宿舍和私人房间价格、背包客评分、评价、设施和位置坐标。这些全面的数据帮助用户高效地找到预算住宿选择
响应中的关键字段包括“id”、“title”、“status”、“result”、“inputReceived”和“data”。“data”字段包含“region”、“category”和“timestamp”等属性,为列表提供了重要的上下文
返回的数据采用JSON格式结构,组织为对象数组。每个对象包含有关各个旅馆的详细信息,包括它们的属性和元数据,使其易于解析和在应用程序中使用
该端点提供有关旅馆名称、位置、价格、可用性、设施和客户评论的信息。这些数据对寻求经济实惠住宿选择的旅行者至关重要
该数据包含在“HOSTELWORLD”类别下的全球旅馆列表 用户可以指定城市以获取本地化信息 确保与他们旅行需求相关的结果
用户可以使用诸如“城市”、“城市Id”、“货币”和“最大项”这样的参数自定义他们的请求。这些参数允许根据具体的旅舍信息进行定制查询
响应数据被组织成结构化格式,每个旅馆的详细信息被封装在各个对象中。这种组织方式便于访问特定属性,如价格和评级
典型的使用案例包括将旅馆信息整合到旅行计划应用中,使旅行社能够提供最新的住宿选择,以及为预算旅行者开发比较工具