serpapi
Search Google via SerpAPI (Google Search, Google News, Google Local). Use when you need to search the web, find news articles, or look up local businesses. Supports country/language targeting for region-specific results.
Why use this skill?
Integrate Google Search, News, and Local Maps into your OpenClaw agent. Get real-time, localized web data and insights with this powerful SerpAPI integration.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ericsantos/serpapi-searchWhat This Skill Does
The SerpAPI skill enables your OpenClaw agent to perform powerful, targeted queries across Google's search infrastructure. By acting as a bridge between the agent and the SerpAPI service, this skill allows for real-time web lookups, news aggregation, and local business discovery. It goes beyond simple keyword searches by supporting granular configuration, including location-based results, language localization, and multi-engine selection. Whether you are researching international market trends, tracking breaking news in specific regions, or scouting local service providers, this tool provides a structured data format that the agent can digest and interpret to solve complex user requests.
Installation
To install this skill, run the following command in your terminal: clawhub install openclaw/skills/skills/ericsantos/serpapi-search. After installation, you must configure your API credentials. Set the SERPAPI_API_KEY environment variable directly in your shell or, for persistent storage, create the directory ~/.config/serpapi and save your key into the api_key file. Ensure this file is restricted using chmod 600 to maintain security for your API token.
Use Cases
- Market Research: Gather competitive intelligence or B2B insights by searching industry-specific keywords across different global markets.
- Content Curation: Aggregate the latest news articles for specific regions to keep a newsletter or briefing document updated with fresh, localized data.
- Local Logistics: Find business listings, addresses, or contact information for local enterprises in specific cities around the world.
- Trend Analysis: Compare search engine results for the same topic across different countries to understand cultural and regional variations in search trends.
Example Prompts
- "Search for the latest trends in renewable energy in Brazil and summarize the top three news articles in Portuguese."
- "Find the top 5 AI-focused software development companies located in San Francisco and list their primary service offerings."
- "Look up the current status of the tech industry in Germany using Google search and provide a brief overview of recent developments."
Tips & Limitations
- Rate Limits: Remember that your SerpAPI plan has specific limits. Check your SerpAPI dashboard to ensure your usage remains within your tiered subscription.
- Precision: Use the
--locationflag for local results rather than just adding city names to the search query, as the API handles geolocation parameters more reliably. - Privacy: Be aware that all queries are routed through external API endpoints. Avoid searching for highly sensitive or proprietary data.
- Localization: Always combine
--countrywith the appropriate--langflag to ensure the most relevant results from the target region's index.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ericsantos-serpapi-search": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
perplexity
Deep search via Perplexity API. Three modes: search (quick facts), reason (complex analysis), research (in-depth reports). Returns AI-grounded answers with citations.
relay-to-agent
Relay messages to AI agents on any OpenAI-compatible API. Supports multi-turn conversations with session management. List agents, send messages, reset sessions.
jina-reader
Web content extraction via Jina AI Reader API. Three modes: read (URL to markdown), search (web search + full content), ground (fact-checking). Extracts clean content without exposing server IP.
show-my-ip
Show the current public IP address of the server. Use when asked about IP, public IP, or network identity.
messaging
NexusMessaging Protocol client — ephemeral agent-to-agent sessions. Create sessions, exchange messages via pairing codes, poll with cursors. Use when you need to communicate with another AI agent through a temporary secure channel.