Google AI Mode API

Using the Google AI Mode API, you can scrape Google AI Mode results without worrying about proxy rotation and data parsing. Our API is fast and reliable.

Each successful request will cost you 10 API credits.

You have to send a GET request to https://api.scrapingdog.com/google/ai_mode with the below-given parameters.

Note: Various countries still don’t support Google AI Mode publicly (i.e., without logging into Google). So, you may encounter errors there.

Parameters

Scrapingdog Parameters

Parameters
Description

api_key

required

Your personal API key. Available on your dashboard Type: String

html

This will return the full HTML of the Google page. Default Value - false Type - Boolean

Search Query

Parameters
Description

query

required

The query you want to search in Google AI Mode. Type - String

Geographic Location and Localization

Parameters
Description

country

This parameter specifies the country for the Google search using a two-letter country code (e.g., US for the United States, UK for the United Kingdom, or FR for France). For a complete list of supported countries, visit the Google countries page. Default Value - us Type - String

uule

It is a parameter that specifies the geographic location or locale for which the search results should be tailored. Possible Value could be w+CAIQIFJlbGF5IFN0YXRlcw==

Type - String

location

This parameter specifies the origin location of the search. It cannot be used in combination with the uule parameter. For best results and to closely mimic a real user's search behavior, it's recommended to set the location at the city level. Type - String

Advanced Filters

Parameters
Description

safe

To filter the adult content set safe to active or to disable it set off. Default: off

Type: String

API Example

API Response

Last updated