← 返回
开发者工具 Key 中文

SerpAPI Search

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.
通过 SerpAPI 搜索 Google(涵盖网页、新闻、本地服务)。适用于联网搜索、查找新闻或查询本地商家。支持按国家/语言定位以获取特定区域的结果。
ericsantos
开发者工具 clawhub v1.0.0 1 版本 99454.4 Key: 需要
★ 3
Stars
📥 3,586
下载
💾 232
安装
1
版本
#latest

概述

SerpAPI Search

Search Google via SerpAPI with country/language targeting.

Quick start

# Google Search
{baseDir}/scripts/search.sh "artificial intelligence B2B" --country br --lang pt

# Google News
{baseDir}/scripts/search.sh "inteligência artificial" --engine google_news --country br --lang pt

# Google Local
{baseDir}/scripts/search.sh "AI companies" --engine google_local --country us --location "San Francisco, California"

Engines

EngineUse caseKey results field
-------------------------------------
googleWeb search (default)organic_results
google_newsNews articlesnews_results
google_localLocal businesses/placeslocal_results

Options

FlagDescriptionDefault
----------------------------
--enginegoogle, google_news, google_localgoogle
--country2-letter country code (br, us, de, etc.)us
--langLanguage code (pt, en, es, etc.)en
--locationLocation string (e.g. "São Paulo, Brazil")
--numNumber of results10
--jsonRaw JSON outputoff

API key

Set SERPAPI_API_KEY env var, or store it:

mkdir -p ~/.config/serpapi
echo "your_key_here" > ~/.config/serpapi/api_key
chmod 600 ~/.config/serpapi/api_key

Common country codes

br (Brazil), us (USA), pt (Portugal), de (Germany), fr (France), es (Spain), gb (UK), jp (Japan), in (India).

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 12:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 66 📥 179,856
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,734
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 667 📥 323,821