Scrapes Google Search engine result pages (SERPs) and extracts results in JSON format.
What is Google Search Results API?
Google Search Results API, as the name implies, scrapes Google Search engine result pages (SERPs) and obtains a bunchful of organic and paid results along with ads, related links and more. It provides you multiple aspects of experience with the selection of custom country and/or language, and more, it’s capable of retrieving shopping results and mobile pages.
It extracts the followings when you perform a request:
- Organic results
- Ads
- Related queries
- Shopping results
Worth to mention, though, this API doesn’t scrape special types of search results for such as Google Images and Google News.
What is Input Parameters?
Specifying the location
You can make a geolocation aware search by specifying either the “uule” region parameter or the country parameter.
If the country parameter is set, the scraper will grab a random residential IP address from the country and make the actual call using it. We support more than 170 countries so far (yay!), so it is probably the most convenient way of making location aware searches.
As we suggested, It is also possible to set the uule parameter. To learn more about uule, just check here.
Specifying the browser language
Specifying the browser language is another way of performing the search. It is as simple as setting the “lang” parameter. It should be a 2-character language code.
Specifying the Google Domain
You can perform your search on any Google domains you’d like. Just pass the domain parameter with an actual value such as google.co.uk or google.ee and we’ll use this google domain for search. It is best to use this parameter in combination with the country and lang parameters to mimic an actual user behavior.
Scraping Shopping Results
Google Shopping is a controversial but trending Google Service as it satisfies the beginner online shoppers. In order to fetch the Google Shopping results, just set the “shopping” parameter to true and there you go!
Emulating the mobile browser
It’s a piece of cake to set the mobile parameter to “true” and we’ll use a mobile screen to fetch the results for you.
Fetching similar results
If you set the “show_similar” parameter to true, we’ll also scrape the similar results from the search results.
Safe Results
As the saying goes “safety first”, taking care of minors’ safety is on the top. If you wish to scrape the child-safe results, just set the “safe_search” parameter to true and we’ll take this request into account.
Pagination
Pagination is as simple as setting the “start” parameter to any integer. We’ll scrape the results starting from that value. If your first page has 10 results, than setting this parameter to 11 will grab the results from the second page. So simple.
What is use cases for Google Search API?
Let’s face it: we ask Google more than anyone else! It’s the major key of our daily internet experience. Every business cares about how they rank on Google and would try anything to get on top of another one. Unfortunately, there isn’t any public API Google Search provides -for now- so the ultimate solution to oversee the search results and ranking is to use a web scraping tool.
Typical use cases for Google Search Results API include:
- Search engine optimization (SEO) is the first thing that comes to mind. It gives you the insight you need for your website’s performance on Google Search results and ranking.
- You can track how your competitors’ are doing by checking both organic & paid results.
- You can check the ads for certain set of keywords and see what’s the trend
- You can scrape and collect reviews about a specific kind of products for further market research and trends
How to try Google Search API?
Just subscribe to this API for free and start experimenting. There is a free tier available and no credit cards are needed to try