Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
博查搜索 API 插件,从全网搜索网页信息,结果准确、摘要完整,适合 AI 使用。
博查搜索 API 插件,从全网搜索网页信息,结果准确、摘要完整,适合 AI 使用。
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
基于博查 AI 搜索 API 的网页搜索插件,返回结构化的搜索结果,适合大模型使用。
🔍 全网搜索,结果准确 📝 可选返回网页摘要 (summary) ⏰ 支持时间范围过滤 🌐 Response 格式兼容 Bing Search API
编辑 config.json: { "apiKey": "sk-your-api-key" }
export BOCHA_API_KEY="sk-your-api-key" API Key 获取:https://open.bochaai.com → API KEY 管理
node scripts/search.js <query> [options]
参数类型必填说明<query>string✅搜索关键词--count <n>number❌返回结果数量,范围 1-50,默认 10--freshness <v>string❌时间范围过滤,默认 noLimit--summaryflag❌是否返回网页摘要
值说明noLimit不限时间 (默认,推荐)oneDay一天内oneWeek一周内oneMonth一个月内oneYear一年内YYYY-MM-DD..YYYY-MM-DD自定义日期范围,如 2025-01-01..2025-04-06YYYY-MM-DD指定日期,如 2025-04-06 ⚠️ 推荐使用 noLimit,搜索算法会自动优化时间范围。指定时间范围可能导致无结果。
node scripts/search.js "沪电股份"
node scripts/search.js "人工智能" --count 5
node scripts/search.js "DeepSeek" --summary
node scripts/search.js "AI新闻" --freshness oneWeek --count 10
node scripts/search.js "阿里巴巴ESG报告" --count 5 --freshness oneMonth --summary
{ "type": "search", "query": "搜索词", "totalResults": 12345, "resultCount": 10, "results": [ { "index": 1, "title": "网页标题", "url": "https://example.com/page", "description": "网页内容的简短描述", "summary": "网页内容的详细摘要 (需 --summary)", "siteName": "网站名称", "publishedDate": "2025-01-01T12:00:00+08:00" } ] }
{ "type": "error", "code": "401", "message": "Invalid API KEY", "log_id": "xxxx" }
错误码说明处理方式400参数缺失检查 query 参数401API Key 无效检查 config.json 或环境变量403余额不足前往 open.bochaai.com 充值429请求频率限制稍后重试
博查开放平台:https://open.bochaai.com API 文档:https://bocha-ai.feishu.cn/wiki/RXEOw02rFiwzGSkd9mUcqoeAnNK
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.