Serper
This document explains the Serper Dev node, which connects to the Google Search API to fetch search results based on user-defined parameters.
Node Inputs
Required Fields
Query:
The search term or keywords to query on Google.
Example: "best restaurants in Paris"
Optional Fields
Country (gl):
Specifies the country for localized search results.
Example: "France (fr)"
Accepted values: [be, ca, fr, de, it, es, ch, gb, us]
Locale (hl):
Sets the language for the search results.
Example: "French (fr)"
Accepted values: [en, fr, de, it, es]
Location:
Provides a specific geographic location for precise local results.
Example: "Paris"
Page:
The result page to retrieve (pagination).
Example: 1
Number of results:
Specifies how many results to fetch.
Default: 10
Example: 20
Auto Correct:
Enables or disables automatic correction of spelling errors in the search query.
Default: Enabled
Blacklist URLs:
A list of URLs to exclude from the search results.
Format: example.com, https://example2.com, *.example3.fr
Example: "example.com, *.adswebsite.com"
Node Output
Google Results:
A dataset containing the search results, including:
- Title
- URL
- Snippet (description)
- Rank (position in search results)
Example Output:
Node Functionality
The Serper Dev node:
- Connects to the Google Search API to perform a search based on user inputs.
- Supports advanced customization like location, language, and URL filtering.
- Returns structured data for easy integration into workflows or further analysis.
- Enables pagination to retrieve additional search results.
- Offers localization to adapt searches to specific countries and languages.