Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Google Search API] does not return any results for a query, but there are. #2278

Open
alexpoldelrio opened this issue Jan 2, 2025 · 2 comments
Labels
status: queued Ready to work on type: bug Something is broken

Comments

@alexpoldelrio
Copy link

alexpoldelrio commented Jan 2, 2025

The result is empty but if I click the Search Engine Query there are results.
1
399706110-49259da9-1fb8-445e-8dd0-09193fde5ce4

3

@alexpoldelrio alexpoldelrio added the type: bug Something is broken label Jan 2, 2025
@alexpoldelrio alexpoldelrio changed the title Google Search API does not return any results for a query, but there are. [Google Search API] does not return any results for a query, but there are. Jan 2, 2025
@alexbarron
Copy link

Thank you @alexpoldelrio. We're investigating this.

Inspect

@martin-serpapi
Copy link

Hi @alexpoldelrio , thank you for reporting this issue. The problem is that the actual Google Search engine doesn't return results for your search query in the United States:

image

Google Search

Since you're not providing a location parameter in your request, the location of the proxy is used instead for your search. Please note that most of the proxies we use are based in the United States.

When you open the URL in your browser the location based on your IP is used and you're receiving different results from our Google Search API based on that.

If you add location= Barcelona, Catalonia, Spain parameter in the request to the Google Search API, results are returned successfully:

image

Playground | Inspect

Can you please test it on your side as well? Let me know if it works.

@martin-serpapi martin-serpapi added the status: queued Ready to work on label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: queued Ready to work on type: bug Something is broken
Projects
None yet
Development

No branches or pull requests

3 participants