[Google Search API] Missing `total_results` count for some searches
A long-time customer reported they've seen an increasing number of searches where we don't return total_results. This appears to be caused by Google hiding the count under the "Tools" menu in search results. Clicking "Tools" in real Google search results reveals the count.
Before click:
After click:
Our results:
Public links: Playground
Internal links: Intercom (but customer only mentioned issue on call with me) | Search Inspect | Search Inspect
Thanks for your previous work on this @btaunt . Unfortunately it looks like Google is rolling this out again in a different way for some searches. A user reported another search where total results is buried under "Tools". In this case, we return total_results=0, even though there are organic and other results.
Thanks for the heads up @alexbarron
I'm still doing some testing, but I think this might be an "issue" on Google's side while transitioning between newer layouts?
In the rendered HTML provided by the inspect you included, Google themselves render the total results as 0: https://serpapi.com/searches/8e3a73116f1b6e91/67ffaae029f264e18d830fd9.html
Setting parameter no_cache to true seems to consistently give me the "newer" tools layout, which includes proper total results inline:
Playground (no cache) | Inspect
The original customer who reported this in March has flagged this issue again. It seems to affect the linked query below about 50% of the time.
Additional fix has been released.
Missing search_information stats are now back.