4 ms·
Show HN: I built an API for Google autocomplete
- michaelmior 3y 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 3y 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 3y agoInteresting. I haven't heard of SerpApi but that is indeed surprising.
- sour-taste 3y agoI was also serprised
- benzible 3y 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 3y 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 3y agoThere's many services like this that want/need access to Google search results. Another is ahrefs which is geared towards SEO.
- deleted 3y ago[deleted]
- sdfhbdf 3y 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 3y 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 3y 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 3y 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 3y 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 3y agoYes, this. Also, why pay when you can do what they did and get the autocompletions for free?
- sMarsIntruder 3y 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 3y agoIsn't Google more likely to detect that this service is consuming their API and then blocking them?
- RockRobotRock 3y agoThat's the entire value of the API. They deal with the proxies and reverse engineering for you.
- redprince 3y 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 3y 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 3y agoLove it for it's simplicity.
- kwhitefoot 3y agoWhat's it for? Also it doesn't give the same results as using google.com in the browser.
- jefc1111 3y 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 3y ago[dead]
- slayflayfish 3y agoAwesome, many things this could be useful for. How often does it update?
- lobito14 3y agoAren't these suggestions based on the user and their location? If so, how does this project account for that?