desearch-web-search について
desearch-web-search は、Desearch API を使ってウェブをリアルタイム検索するスキルです。タイトル、リンク、スニペットを含む構造化結果を返し、ページネーションにも対応します。
主な機能
- 01ウェブのリアルタイム検索
- 02タイトル、リンク、スニペットの取得
- 03--start によるページネーション
- 04DESEARCH_API_KEY による認証
活用シーン
- 01トピックを検索して結果の要約を確認
- 02ページネーションで後続の結果を取得
- 03調査で構造化されたウェブ結果を利用
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ desearch-ai/ desearch-openclaw-skills --skill desearch-web-searchインストール後、Claude Code で/desearch-web-searchを入力して読み込まれたか確認します。
同梱ファイルscripts/desearch.py
詳細
Desearch によるウェブ検索
タイトル、リンク、スニペットを含む、SERP 形式の構造化された結果を返すリアルタイムのウェブ検索です。
クイックスタート
- https://console.desearch.ai から API キーを取得します
- 環境変数を設定します:
export DESEARCH_API_KEY='your-key-here'
使用方法
# Basic web search
desearch.py web "quantum computing"
# Paginated results
desearch.py web "quantum computing" --start 10
オプション
| オプション | 説明 |
|---|---|
--start | ページネーションのオフセット(デフォルト:0)です。次のページの結果を取得するために使用します。 |
レスポンス
例
desearch.py web "best sights in Georgia"
{
"data": [
{
"title": "Cool places and fun things to do in Georgia ? : r/solotravel",
"snippet": "I was in Georgia earlier this month. My favorite place was Mtirala National Park in Adjara. The mountains and forest were absolutely beautiful ...",
"link": "https://www.reddit.com/r/solotravel/comments/py4wls/cool_places_and_fun_things_to_do_in_georgia/",
},
]
}
注記
- 1 ページあたり最大 10 件の結果を返します。ページネーションには
--startを使用します。
エラー
ステータス 401、未認証(API キーがない、または無効な場合など)
{
"detail": "Invalid or missing API key"
}
ステータス 402、支払いが必要です(残高が不足している場合など)
{
"detail": "Insufficient balance, please add funds to your account to continue using the service."
}
リソース
コメント
Markdown 対応