Google Search Async API

Scrape Google Search asynchronously and get real-time, location-based results, without worrying about captchas.

Scraping Google Search results asynchronously takes a lot of effort in the background, as Google has multiple ways to detect and prevent scrapers. Luckily, with the Google Async API, you don’t have to deal with anything other than sending a GET request to our async endpoint—our engine will immediately return a snapshot_id, which you then pass to our Snapshot API to fetch the results as soon as they’re ready. No captcha handling, no extra headaches—just two simple calls and your data in almost no time.

Scrape Google Search Results

Google Search Async API Integration Examples

We will use following URL as an example for this request:

Ready to Use Google Async Search Scraping Scripts:

Google Search Specific Parameters

#1: Query Parameter

Parameter
Type
Description

q Required

string

The keywords that you are searching for on Google (the query).

#2: Request Customization Parameters

Parameter
Type
Description

tbm

string

The parameter defines the type of search you want to do. It can be:

- isch for images

- vid for videos

- nws for news

- shop for shopping. * If left unset it will continue with the regular Google search.

ibp

string

The parameter is used for Jobs search type. Example: - ibp=htl;jobs

#3: Device and Geolocation Parameters

Parameter
Type
Description

device

string

The device used for your Google search. Can be set to desktop, mobile or tablet.

domain

string

The Google domain that you want to use for your search.

uule

string

The Google encoded location that you want to use for your search. A list of all the geotargeting locations can be found here.

hl

string

The language you want to use for your Google search. List of supported languages

gl

string

The country you want to use for your Google search. List of supported countries

#4: Pagination Parameters

Parameter
Type
Description

start

int

The offset of the Google Search results. Represents the number of results that you want to skip.

num

int

The number of results returned on each page.

Response Example

Retrieving Results Using the Snapshot API

Once you've submitted a request to the Google Async API and received a snapshot_id, you can use the Snapshot API to retrieve the processed results. This allows you to fetch data asynchronously once it's ready, ensuring smooth and efficient operation.

We will use following URL as an example of getting results from a snapshot_id

When the data is ready, the API will return a JSON response containing the scraped results. Here's an example of the response structure:

Response Example

Last updated