Back to SEO and search

Google Search Scraper

Apify

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

Capability
Web search
Current price
$0.0048/search page
Availability
Ready to run
Last accepted verification

What this API does

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

Agents select this operation with tool ID apify.apify-google-search-scraper, then inspect its current executable contract before a run.

Public input and output shape

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

This reviewed worked example is shared with inspect. Inspect also returns the current executable schema and price estimate before a paid run.

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"
    }
  ]
}
Teaching errors and limitations

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

Updated
21 August 2026

Use Google Search Scraper with Scrollport

Scrollport identifies and validates the best-in-class API tools and provides them on a pay-as-you-go basis so you don't need to maintain a separate provider account, subscription or credits.

Give your agent the setup prompt to receive $1 in trial credit and start using the tools right away.