3
local_results not being parsed on certain searches
under review
J
James Newman
On certain searches, typically searches where the local_results are beneath other google elements, the local_results and local_results.places are not being parsed.
Here is an example search
If you look at the related HTML https://serpapi.com/searches/a2dcf06e296d494e/61f2646137b24a9905c37dc1.html
the local_results are present on the page, but are not included in the search result JSON
Image is attached for reference

Activity
Newest
Oldest
Illia Zub
under review
Illia Zub
Merged in a post:
Google Local Results Missing from JSON
Skyler Reeves
Ran a test on approx. 10,000 queries. SERPAPI failed to return JSON data for
local_results
on 99% of queries.Example Failure:
- Query: dallas truck accident attorneys
- Playground String: https://serpapi.com/playground?q=dallas+truck+accident+attorneys&location=United+States&gl=us&hl=en
Example Success:
- Query: henderson truck accident lawyers
- Playground String: https://serpapi.com/playground?q=henderson+truck+accident+lawyers&location=United+States&gl=us&hl=en
After reviewing a few dozen queries, the common denominator seems to be that whenever the
local_results
appear below another element (e.g. local_ads
or organic_results
(e.g.g. when the local_results
are in the middle of the organic results)) that is when things fail.Justin O'Hara
Thank you James Newman for reporting this. I made a note of this internally and our engineers will take look into it.
J
James Newman
Thanks Justin O'Hara !