360 Secure SkillHub
360 安全技能中心

Airbnb Search

通过 Python 命令行脚本按地点、入住与退房日期、价格区间和卧室数等条件检索 Airbnb 房源,输出房源名称、房型、评分、评论数、总价和链接,支持表格与 JSON 两种输出格式;依赖 Airbnb 公开前端接口,无需用户自备 API key,接口变动时可能失效。

awlevin
awlevin
热度 96.56
最近更新 2026-05-11 15:54:00
分类:搜索依赖:代码执行 / 第三方 API应用场景:旅行 / 推荐

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add airbnb-search
Metadata
name
airbnb-search
description
Search Airbnb listings with prices, ratings, and direct links. No user API key required (uses Airbnb's public frontend API key). Use when searching for Airbnb stays, vacation rentals, or accommodation pricing.
license
MIT
metadata
{"author":"Olafs-World","version":"0.1.3"}

Airbnb Search

Search Airbnb listings from the command line. Returns prices, ratings, and direct booking links.

Requirements

  • Python 3.8+
  • requests library (auto-installed via uv run --with)

Quick Start

# Run directly (no install needed)
uv run --with requests scripts/airbnb-search.py "Steamboat Springs, CO" --checkin 2025-03-01 --checkout 2025-03-03

# JSON output
uv run --with requests scripts/airbnb-search.py "Denver, CO" --checkin 2025-06-01 --checkout 2025-06-05 --json

Options

query                Search location (e.g., "Steamboat Springs, CO")
--checkin, -i DATE   Check-in date (YYYY-MM-DD)
--checkout, -o DATE  Check-out date (YYYY-MM-DD)
--min-price N        Minimum price filter
--max-price N        Maximum price filter
--min-bedrooms N     Minimum bedrooms filter
--limit N            Max results (default: 50)
--json               Output as JSON
--format FORMAT      table or json (default: table)

Example Output

📍 Steamboat Springs, CO
📊 Found 300+ total listings

==========================================================================================
Cozy Mountain Cabin 🏆
  2BR/1BA | ⭐4.92 | 127 reviews
  💰 $407 total
  🔗 https://airbnb.com/rooms/12345678

Notes

  • Dates are required for accurate pricing
  • Prices include cleaning fees in the total
  • No user API key needed — uses Airbnb's public frontend API key (hardcoded, same key used by airbnb.com in the browser)
  • May break if Airbnb changes their internal GraphQL API
  • Be respectful of rate limits

Links