HasData icon

HasData

Scrape data from various websites

Google SERP → Get Google Search Results

AI-generated

Summary

Scrapes Google Search Engine Results Page for a specified query, returning result metadata with configurable filters and pagination.

Inputs

  • q — Specify the search term for which you want to scrape the SERP.
  • gl — The two-letter country code for the country you want to limit the search to.
  • hl — The two-letter language code for the language you want to use for the search.
  • num — Number of results per page, ranging from 10 to 100.
  • start — Result offset for pagination; 0 indicates the first page, values indicate number of results to skip.
  • tbm — Specify the type of search.
  • deviceType — Specify the device type for the search.
  • safe — Adult Content Filtering option.
  • filter — Defines whether to enable or disable the filters for 'Similar Results' and 'Omitted Results'.
  • nfpr — Controls if auto-corrected results are shown; 0 includes (default), 1 shows only original query.
  • domain — Google domain to use. Default is google.com.
  • lr — The 'lr' parameter specifies the language of the websites to return results from.
  • tbs — Advanced Search Parameters supporting various filters like time ranges and sort options.

Output shape

Array of search result objects containing title, link, snippet, and SERP metadata.

Exact return shape depends on search type and filters applied; refer to node execution results for full data structure.

Examples

Example 1: Basic search for 'n8n workflow editor' with US English results.

Set 'q' to 'n8n workflow editor', leave 'gl' as default 'us', and 'hl' as default 'en'.

Links

Discussion