Google Search Scraper

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

by ApifyReady to run$0.0048 per search page · $0.48 per 100 search pages

Example

You ask your agent

“Search Google for coffee roasters in Wellington and give me the top two results.”

You get

First of 2 results

Title
12 Specialty Coffee Spots To Visit in Wellington, New Zealand
URL
https://www.doubleskinnymacchiato.com/2017/11/wellington-new-zealand-specialty-coffee-guide-map-cafes-roasters.html
Type
organic
Position
1
Description
A guide to independent coffee shops and roasters in Wellington.
Website title
Double Skinny Macchiato
What your agent sends and gets back (JSON)

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

Request

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

Response

{
  "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"
    }
  ]
}

Use it with your agent

Copy the prompt and paste it into your agent, then 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.

Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.

Other tools for this job

Compare all 6 →

Questions

Is Google Search Scraper by Apify free?

Scrollport has no free tier: it costs $0.0048 per search page ($0.48 per 100 search pages), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

Do I need an API key from Apify?

No. Your agent runs it through your Scrollport connection (MCP, the Scrollport CLI or the HTTP API), and Scrollport handles access to Apify, so you don't sign up with Apify or manage an API key.

Details

About this tool

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

All inputs and outputs

Input

inputobject · optional

Provider-specific public source, URL or search criteria.

maxItemsnumber · optional

Maximum number of records to return.

Output

hasNextPageboolean
organicResultsarray
searchQueryobject
urlstring

URL of the record.

Errors and limits

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