1.3 KiB
1.3 KiB
| summary | read_when | ||
|---|---|---|---|
| Serper Google Search API setup for web_search |
|
Serper Google Search API
Clawdbot can use Serper Google Search API as a search provider for web_search. Serper provides fast and cost-effective access to Google Search results in structured JSON format.
Get an API key
- Create a Serper API account at https://serper.dev/
- Generate an API key in your dashboard
- Store the key in config (recommended) or set
SERPER_API_KEYin the Gateway environment.
Config example
{
tools: {
web: {
search: {
provider: "serper",
apiKey: "SERPER_API_KEY_HERE",
maxResults: 5,
timeoutSeconds: 30
}
}
}
}
Notes
- Serper provides a free tier (2,500 queries) plus paid plans; check the Serper dashboard for current limits and pricing.
- Serper is fast and cost-effective, returning traditional Google Search results (title, URL, snippet) similar to Brave Search.
- Supports country (
country) and language (search_lang) parameters for region-specific results. - Does not support
freshnessfiltering (Brave-only feature).
See Web tools for the full web_search configuration.