Actions10
- VectorSnap Actions
- PulseSnap Actions
- SubdoSnap Actions
- SerpApi Actions
SerpApi → Search
AI-generatedSummary
Searches the web for a required query and returns ranked Google results. You can narrow the search by country, file type, language, site, recency, or SafeSearch, and choose the result page and count.
Inputs
- Search Query (required) — The search text, as you would enter it into Google.
- Count — Maximum results for the selected page; defaults to 10 and accepts 1–50. Use Page to retrieve later results.
- Country — Two-letter country code to bias results, such as us.
- File Type — Restrict results to a file type, such as pdf.
- Language — Two-letter interface language code, such as en.
- Page — Result page, from 1 to 10; page 2 starts at result 11. Defaults to 1.
- Safe Search — Enable SafeSearch filtering; defaults to false.
- Site — Restrict results to a domain, including its subdomains.
- Time Range — Restrict results by recency: day, week, month (default), or year.
Output shape
A single data object containing the search response.
The response is extracted from the API's data property. The operation description says results include ranked Google results with target URLs and related searches; exact fields are not specified.
Examples
Example 1: Search for threat intelligence APIs, filtering to recent results from github.com.
Set Search Query to “threat intelligence api”, Site to github.com, and Time Range to Month (the default).