Serper provides web search results for a query. Use the returned titles, snippets, and URLs as inputs to later workflow steps, and configure the search options listed below.
Usage Instructions
Integrate Serper into the workflow. Can search the web.
Actions
Web Search
A powerful web search tool that provides access to Google search results through Serper.dev API. Supports different types of searches including regular web search, news, places, images, videos, and shopping. Returns comprehensive results including organic results, knowledge graph, answer box, people also ask, related searches, and top stories.
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | The search query (e.g., "latest AI news", "best restaurants in NYC") |
num | number | No | Number of results to return (e.g., 10, 20, 50) |
gl | string | No | Country code for search results (e.g., "us", "uk", "de", "fr") |
hl | string | No | Language code for search results (e.g., "en", "es", "de", "fr") |
type | string | No | Type of search to perform. Must be one of "search", "news", "places", "images", "videos", "shopping", "scholar", "patents" — any other value is rejected. |
apiKey | string | Yes | Serper API Key |
Output
| Parameter | Type | Description |
|---|---|---|
searchResults | array | Search results with titles, links, snippets, and type-specific metadata (date for news, rating for places, imageUrl for images, duration/source for videos, price/source for shopping) |
↳ title | string | Result title |
↳ link | string | Result URL |
↳ snippet | string | Result description/snippet |
↳ position | number | Position in search results |
↳ date | string | Publication date (news/videos) |
↳ imageUrl | string | Image URL (images/news/shopping) |
↳ source | string | Source name (news/videos/shopping) |
↳ rating | number | Rating (places) |
↳ ratingCount | number | Number of reviews (places) |
↳ address | string | Address (places) |
↳ price | string | Price (shopping) |
↳ duration | string | Duration (videos) |