Google Search API

Google Search API

Capture platform data in real time to gain pricing insights, monitor competitors, and accurately collect user reviews.

19 toolsUpdated 2026.11.23
Start for free

Overview

Request parameters

ParameterDescription
qSearch QueryDefines the search query.
jsonOutput FormatThis parameter defines the output format of the collected results. Available formats are JSON and HTML (download supported), default is JSON. json=1 returns data in JSON format, json=2 returns data in JSON+HTML format, json=3 returns data in HTML format.
google_domainDomainThis parameter defines the Google domain to use. Defaults to `google.com`.
glCountry CodeThis parameter defines the country/region to use for Google search. It is a two-letter country/region code (e.g., `us` for United States, `uk` for United Kingdom, `fr` for France).
hlLanguage CodeThis parameter defines the language to use for Google search. It is a two-letter language code (e.g., `en` for English, `es` for Spanish, `fr` for French).
crMultiple Countries/RegionsThis parameter defines one or more countries to restrict the search to. It uses country{two-letter uppercase country code} to specify the country, and I as the separator. (e.g., countryFRIcountryDE will search only pages from France and Germany).
lrMultiple LanguagesThis parameter defines one or more languages to restrict the search to. It uses lang_{two-letter language code} to specify the language, and I as the separator. (e.g., lang_frIlang_de will search only pages in French and German).
locationLocationThis parameter defines the geographic location from which the search is made. If multiple locations match the requested location, we will choose the most popular one. This parameter cannot be used together with the `uule`, `lat`, and `lon` parameters.
uuleThis parameter is the Google encoded location you want to use for the search. This parameter cannot be used together with the location, lat, lon, and radius parameters.
startStart OffsetThis parameter defines the result offset. It skips the specified number of results and is used for pagination. (e.g., 0 (default) is the first page of results, 10 is the second page, 20 is the third page, and so on).
tbsAdvanced Search ParametersThis parameter defines advanced search parameters that cannot be set in the regular query field. (e.g., advanced search for patents, dates, news, videos, images, apps, or text content).
safeSafe SearchThis parameter defines the filtering level for adult content. It can be set to active or off; by default Google blurs explicit content.
nfprAutocorrect ExclusionWhen the original query is misspelled, this parameter defines whether to exclude results from the autocorrected query. It can be set to 1 to exclude those results, or 0 to include them (default).
filterSimilar/omitted results filteringThis parameter defines whether the "similar results" and "omitted results" filters are on or off. It can be set to 1 (default) to enable these filters, or 0 to disable them.
deviceDeviceThis parameter defines the device used to fetch the results. It can be set to desktop (default) to use a regular browser, tablet to use a tablet browser (currently iPad), or mobile to use a mobile browser.
render_jsJS RenderingIf true, the system will use a browser to execute the page scripts and return the fully rendered HTML. Note: enabling this significantly increases crawl time, so use it as needed.
no_cacheDisable CacheBy default, search results for identical parameters are cached for 5 minutes. Set no_cache to true to skip the cache, or false (default) to use cached results. Cached searches are free and are not counted toward your search statistics.
ai_overviewAI OverviewControls whether to fetch the AI Overview (AI Overview) content in Google search results. Billing: successfully fetching an AI Overview usually counts as 1 response. When the first request returns only page_token, the second request automatically made by the system is billed additionally, consuming 2 responses in total.

Sample response

JSON preview
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  "search_metadata": {
    "id": "yw8vhje5dsy1dr1346kgdwz7dtwgzd5k",
    "spider_url": "https://www.google.com/search?q=pizza&oq=pizza&sxsrf=1MTTPqPI0JGcoKCvGwsUWH2sHCH4kn56pHmsGOHvtNa:1794799325170&ei=1v39q7KFYIE-cKebHs1YoS",
    "total_time_taken": 1.1665,
    "created_at": "2026-11-16 11:22:05",
    "processed_at": "2026-11-16 11:22:06",
    "status": "Success"
  },
  "spider_parameter": {
    "engine": "google",
    "device": "desktop",
    "domain": "https://www.google.com/",
    "q": "pizza",
    "render_js": false,
    "render_png": false,
    "ai_overview": false
  },
  "search_information": {
    "total_results": "About 100 results",
    "results_for": "Côte-Des-Neiges—Notre-Dame-De-Grâce, Montreal",
    "query_displayed": "pizza",
    "organic_results_state": "Results for exact spelling"
  },
  "snack_pack_map": {
    "image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAowAAADICAMAAABVu0C3AAAACXBIWXMAAAAcAAAAHAAPAbmPAAABxVBMVEX39/fx8/Tv8fP19vbW3ub+/v7t8PL////5+fnj5ejn6+/z9PXf4eXb4unl6u7m5eHZ4Ojf5ev8/Pz7+/vr7vH9/f3t7e3j6O3Y4Of49vHa3N7P2ePs6uP29vb28umysbDT1NXW2d3w7ebLy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