websearchapi
网页/新闻/财经/视频/地图/酒店/航班搜索工具,基于 SearchAPI (Google)。支持多种搜索类型,适合 Agent 获取实时网络信息。
Why use this skill?
Enhance your OpenClaw agent with WebSearchAPI. Perform real-time web, news, finance, and travel searches using Google data with easy JSON output.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/1990huwei/websearchapiWhat This Skill Does
The WebSearchAPI is a powerful tool designed for the OpenClaw AI agent, enabling it to perform real-time information retrieval across the internet. By leveraging the SearchAPI (powered by Google), this skill bridges the gap between static LLM knowledge and live data. It supports a wide array of search categories including standard web pages, news, video metadata, finance tracking, local business/maps, hospitality, and flight information. With built-in retry logic and structured JSON output, it ensures that your AI agents receive clean, actionable data to fulfill complex queries, making it an essential utility for research-oriented or information-dense workflows.
Installation
To integrate this skill into your environment, use the OpenClaw CLI tool. Execute the following command in your terminal:
clawhub install openclaw/skills/skills/1990huwei/websearchapi
After installation, navigate to the directory and configure your API key obtained from SearchAPI.io by running:
node websearchapi.js config set-key YOUR_API_KEY
Use Cases
- Market Intelligence: Quickly pull the latest stock performance data or financial news about public companies.
- Content Research: Aggregate multiple viewpoints or recent articles on a specific topic for summary reports.
- Travel Planning: Retrieve real-time flight details and hotel availability to assist with scheduling.
- Local Discovery: Identify businesses or locations using the integrated Maps search feature.
Example Prompts
- "Find the latest market news on NVIDIA and explain how it might impact the semiconductor industry."
- "Search for the best-reviewed boutique hotels in Kyoto and return the information in a JSON format."
- "Look up the current stock price and recent analyst ratings for AAPL using the finance search tool."
Tips & Limitations
- API Usage: Ensure you have a valid API Key from SearchAPI.io; the service provides a free tier but is subject to individual usage limits.
- JSON Output: Always use the
--jsonflag when calling the tool from an agent workflow to ensure the data is immediately ready for parsing. - Performance: While the tool includes automatic retries, heavily rate-limited connections or network timeouts can occur; increase the
--retrycount if you find your environment has unstable connectivity. - Precision: For financial queries, always provide the specific stock ticker symbol rather than the company name for more accurate results.
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-1990huwei-websearchapi": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api