Willhaben 市场搜索 API,用于在奥地利最大的分类广告平台上查找房源、浏览类别及获取详情。
Willhaben-search. . 搜索和浏览 Willhaben.at上的列表 – 奥地利最大的在线市场 – 使用AI 驱动语义搜索.是一项面向实际任务的技能,主要用于API Basics.Base URL: https://api.nochda.at. no rocedatio。它将相关步骤、工具调用和结果整理方式集中到统一流程中,帮助使用者更快完成目标并减少重复操作。
若输入条件不完整,应先补齐信息或采用保守配置,避免因错误假设导致结果偏离需求。执行过程中需要关注工具调用是否成功、接口或依赖是否可用、输出格式是否符合预期,并对异常提示、缺失字段和边界情况进行处理;
涉及批量任务时,还应保存进度,避免中断后重复操作。该技能适合用于一次性任务,也可以接入自动化工作流,与其他技能或上层代理配合完成更完整的业务链路;在组合使用时,应明确每一步的输入输出关系,并避免不同步骤之间出现参数冲突。
使用 AI 驱动的语义搜索,在 willhaben.at(奥地利最大的在线交易平台)上搜索和浏览商品列表。
基础 URL:https://api.nochda.at
无需身份认证。所有接口均返回 JSON 格式数据。
curl "https://api.nochda.at/api/health"
速率限制:全局 50 次请求/分钟,search/suggest 接口为 10 次请求/分钟。
GET /api/categories/suggest?q=...GET /api/search?categoryId=...&query=...GET /api/listings/:idGET /api/categories/suggest?q=
利用 AI 技术识别用户搜索意图,推荐最匹配的类目。当你不确定应选择哪个类目进行搜索时,请从此接口开始。
curl "https://api.nochda.at/api/categories/suggest?q=mountain%20bike"
响应示例:
{
"suggestions": [
{"id": 4552, "label": "Fahrräder", "parentLabel": "Sport/Sportgeräte", "score": 1.0},
{"id": 2145, "label": "Mountainbikes", "parentLabel": "Fahrräder", "score": 0.82}
]
}
请将最佳匹配建议项中的 id 作为后续搜索接口的 categoryId 参数值。该接口最多返回 5 条建议,按相关性得分(0–1)降序排列。
GET /api/search?categoryId=
在指定类目内执行语义化搜索,支持自然语言查询。
curl "https://api.nochda.at/api/search?categoryId=4552&query=full%20suspension%20trail%20bike&maxPrice=2000&recentDays=30"
查询参数:
| 参数 | 是否必需 | 说明 |
|---|---|---|
categoryId |
是 | 类目 ID(来自 suggest 或 browse 接口) |
query |
是 | 自然语言搜索词(最长 500 字符) |
maxPrice |
否 | 最高价格(单位:EUR) |
recentDays |
否 | 仅返回最近 N 天内发布的商品 |
响应示例:
{
"results": [
{
"id": 12345,
"title": "Giant Trance X 29 2024",
"description": "Full suspension trail bike, excellent condition...",
"price": 1800,
"location": "Wien",
"url": "https://willhaben.at/iad/kaufen-und-verkaufen/d/...",
"images": ["https://cache.willhaben.at/...jpg"],
"publishedAt": "2026-03-08T10:30:00Z",
"similarity": 0.87
}
],
"totalCandidates": 85
}
结果按语义相关性排序。每条结果均包含指向原始 willhaben 商品页的直接 url 链接。单次响应最多返回 40 条结果。
GET /api/listings/:id
获取指定商品的完整信息,包括可比价格参考上下文。
curl "https://api.nochda.at/api/listings/12345"
响应示例:
{
"listing": {
"id": 12345,
"title": "Giant Trance X 29 2024",
"description": "Full suspension trail bike, excellent condition...",
"price": 1800,
"location": "Wien",
"url": "https://willhaben.at/iad/kaufen-und-verkaufen/d/...",
"images": ["https://cache.willhaben.at/...jpg"],
"publishedAt": "2026-03-08T10:30:00Z",
"categoryLabel": "Fahrräder"
},
"compAnalysis": {
"avgPrice": 2100,
"medianPrice": 1950,
"compCount": 30
}
}
compAnalysis 将当前商品价格与同一类目下最相似的 30 个商品进行对比分析。若数据不足,该字段可能为 null。
根类目列表:
curl "https://api.nochda.at/api/categories"
全部类目(扁平化列表):
curl "https://api.nochda.at/api/categories/all"
某类目的子类目:
curl "https://api.nochda.at/api/categories/123/children"
返回格式:{ "parent": {...}, "children": [...] }。
按名称搜索类目:
curl "https://api.nochda.at/api/categories/search?q=auto"
对于存在重名的类目,会额外提供 disambiguatedLabel 字段用于区分(例如:"PKW (Auto/Motorrad)")。
所有类目对象均包含以下字段:id、label、parentCategoryId、image。
错误响应均为 JSON 格式:{"error": "Description"}。
| 状态码 | 含义 |
|---|---|
| 400 | 参数无效或缺失 |
| 404 | 资源未找到 |
| 429 | 请求频率超限 — 请根据 Retry-After 响应头指定的时间间隔后重试 |
| 500 | 服务器内部错误 |
url 字段所指向的页面,以便其在 willhaben 上查看完整商品信息相关专题
热门下载
相关下载
精品课程
共6课时 | 54.7万人学习
共89课时 | 134.3万人学习
共49课时 | 82.7万人学习
最新文章