Skip to content

domain-skills(expedia): typeahead API, property URLs, affiliate shortlink chain#422

Open
britter21 wants to merge 1 commit into
browser-use:mainfrom
britter21:domain-skills-expedia
Open

domain-skills(expedia): typeahead API, property URLs, affiliate shortlink chain#422
britter21 wants to merge 1 commit into
browser-use:mainfrom
britter21:domain-skills-expedia

Conversation

@britter21

@britter21 britter21 commented Jun 11, 2026

Copy link
Copy Markdown

Field-tested 2026-06 while building a Booking→Expedia property matcher:

  • Unauthenticated hotel typeahead API (/api/v4/typeahead/...&lob=HOTELS) — returns hotelId, names, and coordinates; works with plain curl_cffi chrome impersonation. 10× faster than scraping search results.
  • Property URL routing: .h{id}. is the only routing key (slug cosmetic, Expedia 301s to canonical); startDate/endDate/rm1=a2:c8 pre-fill dates + occupancy.
  • Trap: property pages 429 curl-ish clients while the typeahead stays 200 — construct URLs, don't fetch pages.
  • expedia.tpx.lv shortlinks decoded: Travelpayouts → vio.com → Partnerize (prf.hn) → Button → expedia POS; marker recoverable from the vio hop; programmatic minting via the Travelpayouts links API (not chain reconstruction). HEAD dies mid-chain (405) — GET only.

🤖 Generated with Claude Code


Summary by cubic

Adds a field-tested guide for Expedia covering the unauthenticated hotel typeahead API, property URL routing, and expedia.tpx.lv affiliate shortlinks. Enables faster (10x vs scraping) and more reliable property matching by constructing hotelId-based URLs with date/occupancy params and avoiding direct page fetches; includes GET-only guidance for shortlink chains.

Written for commit 1db9b4e. Summary will update on new commits.

Review in cubic

…ffiliate chain

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@browser-harness-review

Copy link
Copy Markdown

✅ Skill review passed

Reviewed 1 file(s) — no findings.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant