[Google Hotels API] Vacation rental searches miss the expanded results from surrounding areas
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- api
Research direction
Start with the Google Hotels parser and the vacation_rentals=true path, then compare the saved Inspect output against the Google Hotels page. The missing data is the expanded section labelled "places that don't exactly match your search", which loads beyond the initial map area. Done means the historic wilmington nc query returns results from surrounding areas, and the search-area parameter is a separate decision for maintainers.
Written by the indexing model from the issue text.
Description
Split from #3100, where this case was reported.
A customer searching vacation rentals for historic wilmington nc gets 3 results through the API, all strictly in the historic district, while Google Hotels with the same parameters returns 85 results by including surrounding areas:
Playground | Inspect | Google Hotels page | Intercom
Cause: Google Hotels loads an expanded results section — "places that don't exactly match your search" — beyond the initially shown map area. The API scrapes only that first, more zoomed-in view, so properties from surrounding areas never appear. The Google Hotels parser has no handling for the expanded section. The request's origin country doesn't explain the gap: both searches ran with gl=us.
What we scrape:
What Google Hotels loads for the same query:
Queries like "near wilmington nc", "10 miles from wilmington nc" or "close to wilmington nc" don't work around it.
The customer also suggested a parameter to control how large an area the search covers (like zooming the map out), which would be useful for vacation-rental searches especially.
- Dominant language
- No language data
- Stars
- 159
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from serpapi/public-roadmap
-
status: freezer type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
serpapi/public-roadmap#4356 · 1 comment ·
-
status: freezer type: improvement
Difficulty 1/5 Under an hour Newbie friendliness 68/100
serpapi/public-roadmap#2989 ·
-
status: freezer
Difficulty 1/5 Under an hour Newbie friendliness 72/100
serpapi/public-roadmap#1615 ·
-
type: bug
Difficulty 4/5 Over a week Newbie friendliness 15/100
serpapi/public-roadmap#4661 · 2 comments ·
-
status: triage type: feature
Difficulty 5/5 Over a week Newbie friendliness 5/100
serpapi/public-roadmap#4659 · 1 comment ·
All issues in serpapi/public-roadmap
Similar issues
-
Upload-Concat partial URLs are not parsed as URLs (404 with -base-path / and with query strings)Open
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 5 days
-
pre-existing
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
bug math graph
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
facebookresearch/atlas-lean#10282 ·
Maintainers usually reply within 1 day