Back to Get Google search results

Google Search Scraper

Apify

Collect Google search result pages for queries, countries and languages.

Use this tool with your AI agent

  1. Copy the prompt
  2. Paste it into your agent
  3. Tell it what you need

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Google Search Scraper (tool ID: apify.apify-google-search-scraper). Ask me for the details you need, then show me the result.

Already connected
Your agent can use that connection.
New user
Your agent will guide you through setup, sign-in and authorisation.

Provider access is included.

Connect your first agent to receive $1 trial credit.

Current price
$0.0048/search page
Availability
Ready to run

Tool details

About this tool

Collect Google search result pages for supplied queries, countries and languages.

Inputs and outputs

Input

inputobject · optional

Provider-specific public source, URL or search criteria.

maxItemsnumber · optional

Maximum number of records to return.

Output

hasNextPageboolean

Returned has next page value.

organicResultsarray

Returned organic results value.

searchQueryobject

Returned search query value.

urlstring

Returned url value.

Example request and output

Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.

Request

{
  "tool_id": "apify.apify-google-search-scraper",
  "input": {
    "input": {
      "queries": "coffee roasters wellington",
      "maxPagesPerQuery": 1
    },
    "maxItems": 2
  }
}

Output

{
  "url": "http://www.google.com/search?q=coffee+roasters+wellington",
  "hasNextPage": true,
  "searchQuery": {
    "url": "http://www.google.com/search?q=coffee+roasters+wellington",
    "page": 1,
    "term": "coffee roasters wellington",
    "type": "SEARCH",
    "device": "DESKTOP",
    "domain": "google.com",
    "countryCode": "US",
    "languageCode": null,
    "resultsPerPage": 10
  },
  "organicResults": [
    {
      "url": "https://www.doubleskinnymacchiato.com/2017/11/wellington-new-zealand-specialty-coffee-guide-map-cafes-roasters.html",
      "type": "organic",
      "title": "12 Specialty Coffee Spots To Visit in Wellington, New Zealand",
      "position": 1,
      "description": "A guide to independent coffee shops and roasters in Wellington.",
      "websiteTitle": "Double Skinny Macchiato"
    },
    {
      "url": "https://richcoffee.co.nz/",
      "type": "organic",
      "title": "Rich Coffee Roasters",
      "position": 2,
      "description": "Wellington specialty coffee roaster.",
      "websiteTitle": "richcoffee.co.nz"
    }
  ]
}
Errors and limitations

No listing-specific teaching errors are published. Inspect the tool before running to receive the current schema and error guidance.