スキル一覧に戻る
s-hiraoku

brave-search-api

by s-hiraoku

8🍴 5📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: brave-search-api description: This skill enables web searching using Brave Search API directly via curl. Use when searching for current information, news, articles, or web content. MCP server not required - calls API directly.

Brave Search API (Direct)

Overview

This skill enables web searching using the Brave Search API directly via curl commands. No MCP server required - saves context tokens.

API Key

Environment variable: BRAVE_API_KEY

Endpoint

GET https://api.search.brave.com/res/v1/web/search

Parameters

  • q (required): Search query
  • count (optional): Results count (1-20, default 10)
  • offset (optional): Pagination offset

Usage

Generate and execute this curl command:

curl -s "https://api.search.brave.com/res/v1/web/search?q=QUERY&count=10" \
  -H "Accept: application/json" \
  -H "X-Subscription-Token: $BRAVE_API_KEY"

Example

curl -s "https://api.search.brave.com/res/v1/web/search?q=xterm.js+WebGL+tutorial&count=5" \
  -H "Accept: application/json" \
  -H "X-Subscription-Token: $BRAVE_API_KEY" | jq '.web.results[] | {title, url, description}'

Endpoint

GET https://api.search.brave.com/res/v1/local/search

Usage

curl -s "https://api.search.brave.com/res/v1/local/search?q=coffee+near+Shibuya" \
  -H "Accept: application/json" \
  -H "X-Subscription-Token: $BRAVE_API_KEY"

Response Processing

Use jq to extract relevant fields:

# Get titles and URLs
| jq '.web.results[] | {title, url}'

# Get descriptions
| jq '.web.results[] | {title, description}'

# Get first 3 results
| jq '.web.results[:3]'

Common Workflows

Research a Technology

curl -s "https://api.search.brave.com/res/v1/web/search?q=VS+Code+extension+development+2024&count=10" \
  -H "Accept: application/json" \
  -H "X-Subscription-Token: $BRAVE_API_KEY" | jq '.web.results[:5] | .[] | {title, url}'

Find Error Solutions

curl -s "https://api.search.brave.com/res/v1/web/search?q=WebGL+context+lost+solution&count=10" \
  -H "Accept: application/json" \
  -H "X-Subscription-Token: $BRAVE_API_KEY" | jq '.web.results[] | {title, url, description}'

Notes

  • URL encode spaces as + or %20
  • API key must be set in environment
  • Rate limits apply per subscription tier

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です