AI Overviews
Last updated
Last updated
The google_search
source, together with render
parameter set to html
, is designed to retrieve AI Overview (formerly known as Search Generative Experience (SGE)) results.
Explore data dictionary for some of the AI Overview SERP features.
We use synchronous Realtime integration method in our examples. If you would like to use Proxy Endpoint or asynchronous Push-Pull integration, refer to the integration methods section.
Basic setup and customization options for scraping Google Web search results.
Parameter | Description | Default Value |
---|---|---|
- mandatory parameter
When scraping, you might find it useful to combine Google advanced search operators with your query. It enables you to customize the scope of the search, ensuring that the results are more relevant and focused. Explore these special commands here and here. See an example below.
Adapt search results to specific geographical locations, domains, and languages.
Controls for managing the pagination and retrieval of search results.
The SERP Scraper API fully supports Google Search continuous scroll. It automatically detects continuous scrolling layouts, efficiently loading the requested organic results without any extra parameters required.
To use this feature, include a JSON array with JSON objects containing the following data:
Options to filter and refine search results based on various criteria.
Additional advanced settings and controls for specialized requirements.
All of the available keys within AI Overview SERP feature are defined in the table below:
Explore examples of AI Overview results below, categorized by different search queries: Item, Recipes, Instruction.
In the following example, "Emporio Armani EA3192" query was used.
Bullet list
Products
In the following example, "recipe for an apple pie" query was used.
Recipes
In the following example, "recipe of a juicy succulent steak" query was used.
In the following example, "docker exec commands explained" query was used.
Answer text command
Note: details are rendered in the same array as for item related search query, however, one new type of key (command) appears for instruction related type of query
Parameter | Description | Default Value |
---|---|---|
Parameter | Description | Default Value |
---|---|---|
Parameter | Description | Example |
---|---|---|
Parameter | Description | Default Value |
---|---|---|
Parameter | Description | Default Value |
---|---|---|
Key (results.ai_overview) | Description | Type |
---|---|---|
Key (results.ai_overview.answer_text) | Description | Type |
---|---|---|
Key (results.ai_overview.bullet_list) | Description | Type |
---|---|---|
Key (results.ai_overview.products) | Description | Type |
---|---|---|
Key (results.ai_overview.source_panel) | Description | Type |
---|---|---|
Key (results.ai_overview.additional_questions) | Description | Type |
---|---|---|
Key (results.ai_overview.recipes) | Description | Type |
---|---|---|
Key (results.ai_overview.info_list) | Description | Type |
---|---|---|
Key (results.ai_overview.answer_text) | Description | Type |
---|---|---|
source
Sets the scraper.
google_search
query
UTF-encoded keyword.
-
render
Enables JavaScript rendering when set to html
. More info.
-
parse
Returns parsed data when set to true
. Explore output data dictionary.
false
callback_url
URL to your callback endpoint. More info.
-
user_agent_type
Device type and browser. The full list can be found here.
desktop
geo_location
The geographical location that the result should be adapted for. Using this parameter correctly is extremely important to get the right data. For more information, read about our suggested geo_location
parameter structures here.
-
domain
Domain localization for Google. The full list of available domains can be found here.
com
locale
Accept-Language
header value which changes your Google search page web interface language. More info.
-
context
:
results_language
Results language. List of supported Google languages can be found here.
-
start_page
Starting page number.
1
pages
Number of pages to retrieve.
1
limit
Number of results to retrieve in each page.
10
context
:limit_per_page
Scrape multiple pages using the same IP address and session (cookie set). By specifying the page numbers in a JSON array with the page
key and indicating the number of organic results per page using the limit
key, you can minimize the chance of seeing overlapping organic results across pages (e.g., the last organic result on the first page being the same as the first organic result on the second page). See example.
-
page
The number of the page you would like to scrape. Any integer value greater than 0
will work
1
limit
The number of results on the page in question. Any integer value between 1
and 100
(inclusive) will work.
90
context
:filter
Setting the value of this parameter to 0
lets you see results that would otherwise be excluded due to similarity to other results.
1
context
:safe_search
Safe search. Set to true
to enable it.
false
context
:
tbm
To-be-matched or tbm
parameter. Accepted values are: app
, blg
, bks
, dsc
, isch
, nws
, pts
, plcs
, rcp
, lcl
-
context
:
tbs
tbs
parameter. This parameter is like a container for more obscure google parameters, like limiting/sorting results by date as well as other filters some of which depend on the tbm
parameter (e.g. tbs=app_os:1
is only available with tbm
value app
). More info here.
-
context
:
fpstate
Setting the fpstate
value to aig
will make Google load more apps. This parameter is only useful if used together with the render
parameter.
-
context
:
nfpr
true
will turn off spelling auto-correction
false
answer_text
General information about the Google Search query term.
array
bullet_list
Indicates information on items rendered in a bulleted list within the AI Overview SERP feature.
array
products
A list of products with their respective details.
object
source_panel
A list of sources used to generate AI Overview result in Google SERP feature.
object
additional_questions
A list of additional questions with their respective details.
object
recipes
A list of recipes with their respective details.
object
info_list
A list of information most frequently used to represent steps of a process relevant to the search query.
array
text
A short answer on the Google Search query.
array
pos
An indicator denoting the position of a given item among all AI Overview answer results.
integer
pos_overall
An indication of the position of the AI Overview Answer result within the AI Overview SERP feature.
integer
list_title
The title of the bullet list.
string
points
The items rendered in the bullet list. All items are comma-separated.
array
pos
An indicator denoting the position of a given item among all AI Overview bullet list results.
integer
pos_overall
An indication of the position of the AI Overview bullet list results within the AI Overview SERP feature.
integer
items
A list of products with their respective details.
array
items.product_name
The name of the product.
string
items.price
The current price of the product.
string
items.previous_price
The initial price of the product (if applicable).
string
items.seller
The seller of the product.
string
items.shipping
The type of shipping available for the product.
string
items.url
The URL of the product.
string
items.pos
An indicator denoting the position of a given item among all AI Overview Product results.
integer
pos_overall
An indication of the position of the AI Overview Products result within the AI Overview feature.
integer
items
A list of sources used to generate AI Overview result in Google SERP feature.
object
items.url
The URL of the website.
string
items.source
The name of the website.
string
items.date
The date when the article has been published.
string
items.title
The title of the article.
string
items.pos
An indicator denoting the position of a given item among all AI Overview source panel results.
integer
pos_overall
An indication of the position of the AI Overview Source panel result within the AI Overview feature.
integer
additional_questions.items
A list of comma-separated Additional questions relevant to the original search query.
array
additional_questions.pos_overall
An indication of the position of the AI Overview Additional questions result within the AI Overview feature.
integer
items
A list of recipes with their respective details.
array
items.description
A short description of the recipe.
string
items.image
A base64-encoded thumbnail image of the recipe.
string
items.source
The name of the site where the recipe is published.
string
items.rating
The rating of the recipe.
string
items.rating_count
The number of ratings.
string
items.duration
The time that is needed to prepare the dish.
string
items.url
The URL to the full recipe.
string
items.title
The title of the recipe.
string
pos_overall
An indication of the position of the Recipes result within the AI Overview SERP feature.
integer
list_title
The title of the list.
string
list_items
Contains a list of items with their respective details.
array
list_items.title
The title of the section within the list.
string
list_items.content
A short description of the section.
string
list_item.pos
An indicator denoting the position of a given item among all AI Overview Info list results.
integer
list_items.pos_overall
An indicator denoting the position of a given item among all AI Overview Info list results.
integer
command
An instruction given to a computer or software to perform a specific task.
string