airbnb-search-listing
できること
Airbnbの検索ページに表示される掲載を読み取り、ページを移動する方法を説明します。宿泊先を比べる旅行者や、短期賃貸市場を調べる分析担当者向けです。
使う場面
- ✓料金と評価付きで、目的地のAirbnb滞在先の一覧がほしいとき。
- ✓分析担当者が、都市の掲載結果から賃貸市場を調べたいとき。
- ✓Airbnbの検索結果の次のページが必要なとき。
スキルのリンク
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/airbnb-search-listing/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“検索ページに表示されているリスボンのAirbnb滞在先を、料金と評価付きで教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、ブラウザーで検索ページを開き、そこに埋め込まれた結果を読み取ります。各掲載を、ID、名前、場所、評価、料金、バッジとともに一覧にします。次のページのカーソルも返します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Airbnb — Search Listing Extraction
Navigate to Airbnb search URL → extract listing results from SSR-embedded data
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Extract accommodation listing results from an Airbnb search page using SSR-embedded niobeClientData JSON.
Prerequisites
- Target search page is already open in the browser:
https://www.airbnb.com/s/{destination}/homes - No login required — search results are publicly accessible
Pre-execution Checks
1. Tool Readiness
If browser-act has been confirmed available in the current session → skip this step.
Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
Capability Components
This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. JS code is encapsulated in Python files under the
scripts/directory, invoked viaeval "$(python scripts/xxx.py {params})".$(...)is bash syntax; it is recommended to use the bash tool for execution.
DOM: extract search results (SSR niobeClientData)
Navigate to the search URL first, wait for the page to load, then run:
eval "$(python scripts/search-listing.py)"
URL construction pattern:
https://www.airbnb.com/s/{destination}/homes?checkin={YYYY-MM-DD}&checkout={YYYY-MM-DD}&adults={N}&children={N}&infants={N}&pets={N}&price_min={N}&price_max={N}&min_beds={N}&min_bedrooms={N}&min_bathrooms={N}&cursor={base64_cursor}
All URL parameters are optional except destination. Omit any parameter to use the Airbnb default.
Full invocation sequence:
navigate https://www.airbnb.com/s/{destination}/homes?{params}wait stableeval "$(python scripts/search-listing.py)"
Output example:
{
"items": [
{
"id": "5476930",
"url": "https://www.airbnb.com/rooms/5476930",
"name": "Bright Studio in Notting Hill",
"lat": 51.5101,
"lng": -0.1949,
"rating": "4.85",
"title": "Entire studio in London",
"price_total": "$120 total",
"price_qualifier": "before taxes",
"photos": ["https://a0.muscache.com/im/pictures/...jpeg"],
"badges": ["Guest favorite"]
}
],
"count": 18,
"total_pages": 13,
"cursors": ["eyJzZWN0aW9uX29mZnNldCI6MCwiaXRlbXNfb2Zmc2V0IjoxOCwidmVyc2lvbiI6MX0="]
}
Error handling: If error: true is returned, verify the current page is an Airbnb search results page (URL contains /s/ and /homes), then retry once after wait stable. If niobeClientData is not found, the page may still be loading — wait and retry.
Pagination
URL Pagination: URL pattern https://www.airbnb.com/s/{destination}/homes?{filters}&cursor={cursor}. Each page returns a cursors array where cursors[0] is the current page, cursors[1] is page 2, cursors[2] is page 3, etc. total_pages equals the length of cursors. Termination: index >= total_pages OR count is 0.
Paginate by taking the cursor from the previous result and navigating:
- First page: navigate without cursor; extract
cursorsarray from result - Page 2:
navigate https://www.airbnb.com/s/{destination}/homes?{filters}&cursor={cursors[1]} wait stableeval "$(python scripts/search-listing.py)"- Page N: use
cursors[N-1]from the original page-1cursorsarray - Stop when page index >= total_pages or count is 0
Success Criteria
count >= 1 AND items[0].id is not null AND items[0].url is not null
Known Limitations
- Returns up to 18 listings per page (Airbnb's default page size)
- Maximum ~240 results total across all pages (Airbnb's search cap)
ratingmay be null for new listings with no reviewsprice_totalis null when no dates are specified in search
Execution Efficiency
- Batch orchestration: Write a bash script to loop through cursors serially; do not parallelize within one browser session
- Test before batch execution: After writing a batch script, test with 1-2 pages before running full pagination
- Error resumption: Save results page by page; resume from the last successful page on failure
Experience Notes
Path: {working-directory}/browser-act-skill-forge-memories/airbnb-scraper-airbnb-search-listing.memory.md
Before execution: If the file exists, read it first — i
よくある質問
ログインは必要ですか?
いいえ。スキルは、検索結果は公開されていると説明しています。
複数ページ取得できますか?
はい。次のページを要求できるよう、ページ送りの情報を返します。
各結果には何が含まれますか?
掲載ID、URL、名前、座標、評価、料金、写真、バッジが含まれます。
詳細
作者による元の説明
Extracts Airbnb accommodation search results from a destination query via SSR-embedded data, returning listing ID, URL, name, coordinates, rating, price, photos, and badge info for each result, plus pagination cursors for multi-page retrieval. Use when user mentions Airbnb search results, Airbnb listings, vacation rental search, short-term rental listings, scrape Airbnb, get Airbnb data, find rentals on Airbnb, Airbnb destination search, Airbnb property list, Airbnb stays search, Airbnb accommodation results, pull Airbnb listings, collect Airbnb search data, Airbnb scraper, Airbnb search page
repo: browser-act/skills
人気
- GitHubのスター
- 6.3k
- ランキング
- #14248
- ライセンス
- MIT
- 更新日
- 2026/8/24
コメント
- …
このリポジトリの他のスキル
browser-act-skill-forge
6.3k一度サイトを調べて、スクリプト付きの再利用できるスキルを保存するのを支援します。そのサイトからのデータ取得が次回から速くなります。
browser-act
6.3kブラウザー自動化ツールで、ページを開いて内容を読んだり、フォーム入力、スクリーンショット、ログイン状態の維持を行えるよう支援します。
1688-product-detail
6.3k1688.comの卸売ページから、価格帯、バリエーション、販売者の評価、属性などの商品詳細を取得するのを支援します。
airbnb-listing-detail
6.3kAirbnbの掲載IDから、写真、設備、評価、宿泊ルールなど、公開されている詳細情報を取得するのを支援します。
似ているスキル
tavily
394kTavilyでウェブを検索し、特定のWebページから本文を取り出すようエージェントを支援します。深さ、ドメイン、日付のオプションも使えます。
blogwatcher
394kブログやRSS・Atomフィードを追跡し、新しい記事を確認して、読んだ記事に印を付けるようエージェントを支援します。
data-scraper-agent
280kエージェントが公開されているさまざまな情報源からデータを自動で収集できるよう支援します。スケジュール実行、情報の補強、結果の保存が可能です。オンラインデータの監視や追跡に役立ちます。