← 返回
未分类 Key 中文

Tinyfish Search

Run web searches via TinyFish Search API and get structured JSON results (title, snippet, URL) ready for LLM consumption. Use when you need fresh web search...
通过 TinyFish Search API 执行网页搜索,获取结构化 JSON 结果(标题、摘要、URL),可直接供 LLM 使用。适用于需要最新网页搜索的场景。
bunsdev
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 439
下载
💾 0
安装
1
版本
#latest

概述

TinyFish Search

Search the web via the TinyFish Search API. Returns a JSON array of ranked results with title, snippet, site name, and URL.

Requires: TINYFISH_API_KEY environment variable.

Pre-flight Check (REQUIRED)

Before calling the API, verify the key is present:

[ -n "$TINYFISH_API_KEY" ] && echo "TINYFISH_API_KEY is set" || echo "TINYFISH_API_KEY is NOT set"

If the key is not set, stop and ask the user to add it. Get one at . Do NOT fall back to other search tools.

Basic Search

curl -G "https://api.search.tinyfish.ai" \
  -H "X-API-Key: $TINYFISH_API_KEY" \
  --data-urlencode "query=web automation tools"

Geo / Language Targeting

curl -G "https://api.search.tinyfish.ai" \
  -H "X-API-Key: $TINYFISH_API_KEY" \
  --data-urlencode "query=boulangerie paris" \
  --data-urlencode "location=FR" \
  --data-urlencode "language=fr"

Helper Script

scripts/search.sh [--location CC] [--language LL] wraps the curl call:

scripts/search.sh "top trending openclaw youtube video"
scripts/search.sh "boulangerie paris" --location FR --language fr

Response Shape

{
  "query": "web automation tools",
  "results": [
    {
      "position": 1,
      "site_name": "example.com",
      "title": "Top 10 Web Automation Tools",
      "snippet": "A preview of the page content…",
      "url": "https://example.com/top-automation"
    }
  ],
  "total_results": 1234
}

Use results[] directly — each entry already has everything needed to cite or open the source.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 04:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Tinyfish Fetch

bunsdev
通过 TinyFish Fetch API 获取网页,返回干净的 Markdown、HTML 或截图,支持 JS 渲染和代理。适用于需要读取特定页面的场景。
★ 0 📥 414

EPUB ↔ PDF Converter

bunsdev
双向互转 EPUB 与 PDF。EPUB→PDF 保持排版便于分析;PDF→EPUB 压缩重排用于分发和阅读器。
★ 0 📥 335

Tinyfish Agent Run

bunsdev
对 URL 运行 TinyFish 自动化代理,并以单行 JSON 形式流式返回实时进度事件(STARTED / PROGRESS / COMPLETE)。在你想要…时使用。
★ 0 📥 403