5 ms·
Show HN: I built an API for Google autocomplete
- michaelmior 2y agoUndoubtedly useful, but I'd be shocked if this wasn't violating Google's ToS and I can't imagine building something important using this.
- vjshah 2y agoi had the same reaction, but i looked to see what google's tos was for things like this and i found https://serpapi.com/ https://serpapi.com/ , which apparently has been around for 5 years and also offers paid services for scraping google search. if their homepage is to be believed, there are large companies using their service. i'm very surprised that google hasn't taken steps to block them.
- michaelmior 2y agoInteresting. I haven't heard of SerpApi but that is indeed surprising.
- sour-taste 2y agoI was also serprised
- benzible 2y agoNote that part of SerpApi's product seems to be indemnification from liability. On their pricing page, the Developer plan specifies "No Legal US Shield" and the Production plan specifies "Legal US Shield". From their FAQ: > What are scraper legal protections? > SerpApi, LLC assumes scraping and parsing liabilities for both domestic and foreign companies unless your usage is otherwise illegal.
- vjshah 2y agoif i were evaluating serpapi, my concern wouldn't be my own legal liability. i'd be worried about serpapi getting blocked one day and my own application suffering as a result
- yellow_lead 2y agoThere's many services like this that want/need access to Google search results. Another is ahrefs which is geared towards SEO.
- deleted 2y ago[deleted]
- sdfhbdf 2y agoI wouldn’t be surprised if actually it’s just a ChatGPT prompt “What google search autocomplete would return for this query:” seems easier than reverse engineering/scraping google search autocomplete
- jonwinstanley 2y agoDefinitely easier but will be not be factually correct. Will be ok if you just want some ideas but not if you’re tracking keywords performance in Google
- dns_snek 2y agoYou can use Google without agreeing to their ToS, so technically it shouldn't matter, but practically, if their lawyers come knocking, that's a different story.
- michaelmior 2y agoI'm not sure what the connection is here. I wouldn't be so worried about violating the ToS myself if I was using the service. I'd be worried about Keyword Quill violating the ToS, getting shut down, and a service I was depending on disappearing.
- gaucheries 2y agoNice work, but I am surprised that you would charge people money to use this, and I imagine that it will be promptly shut down by Google.
- relyks 2y agoYes, this. Also, why pay when you can do what they did and get the autocompletions for free?
- sMarsIntruder 2y agoSEOs and digital marketing departments needs this kind of services, especially for a huge number of this queries. Getting this kind of data for “free” is not so straightforward when Google detects that.
- relyks 2y agoIsn't Google more likely to detect that this service is consuming their API and then blocking them?
- RockRobotRock 2y agoThat's the entire value of the API. They deal with the proxies and reverse engineering for you.
- redprince 2y agoThat certainly helps with not having to deal with the undocumented (?) Google API yourself. The following is what chrome would use to perform autocomplete searches: curl 'https://google.com/complete/search?client=chrome&hl=en&gl=en&q=air%20fryers https://google.com/complete/search?client=chrome&hl=en&gl=en...'
- sour-taste 2y agoI built a little game based on a similar idea, where you enter a search query and then try and guess what the autocompletes will be. It's still very beta but feel free to try it out. Feedback welcome. https://autocomplete-guess.blaise.gg/ https://autocomplete-guess.blaise.gg/ I was able to get completions by just querying this endpoint: https://www.google.com/complete/search?q=$QUERY_GOES_HERE&client=gws-wiz&xssi=t https://www.google.com/complete/search?q=$QUERY_GOES_HERE&cl...
- srameshc 2y agoLove it for it's simplicity.
- kwhitefoot 2y agoWhat's it for? Also it doesn't give the same results as using google.com in the browser.
- jefc1111 2y agoI built https://wwwww.today/ https://wwwww.today/ as a vanity project last year. It's in the same space but is almost completely pointless. Pro tip: clicking through to individual results is probably the most interesting thing you can do. At some point I'll look at the aggregated data collected over the whole period. I'm curious to see which were the most fleeting autocomplete results.
- gabriella4151 2y ago[dead]
- slayflayfish 2y agoAwesome, many things this could be useful for. How often does it update?
- lobito14 2y agoAren't these suggestions based on the user and their location? If so, how does this project account for that?