New advertisers: 50% off your first month with code FIRSTMONTHSee slots
brave avatar

Web Search

Primary web search endpoint returning ranked results with snippets, URLs, and metadata, with freshness and SafeSearch controls.

skills.sh installs
4.8K
GitHub stars
197
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the Brave Search web endpoint, with GET and POST requests and X-Subscription-Token authentication
  • Includes parameters for country, search_lang, count, offset pagination, freshness, safesearch, and goggles custom ranking
  • Provides structured results with titles, URLs, snippets, page ages, thumbnails, and schema.org data such as recipes and products
  • Designed for search interfaces and data extraction, and requires a Brave Search API key on the Search plan

Install

$ npx -y skills add brave/brave-search-skills --skill web-search -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Web Search

Requires API Key: Get one at https://api.search.brave.com

Plan: Included in the Search plan. See https://api-dashboard.search.brave.com/app/subscriptions/subscribe

Quick Start (cURL)

Basic Search

curl -s "https://api.search.brave.com/res/v1/web/search?q=python+web+frameworks" \
  -H "Accept: application/json" \
  -H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}"

With Parameters

curl -s "https://api.search.brave.com/res/v1/web/search" \
  -H "Accept: application/json" \
  -H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
  -G \
  --data-urlencode "q=rust programming tutorials" \
  --data-urlencode "country=US" \
  --data-urlencode "search_lang=en" \
  --data-urlencode "count=10" \
  --data-urlencode "safesearch=moderate" \
  --data-urlencode "freshness=pm"

Endpoint

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

Note: Both GET and POST methods are supported. POST is useful for long queries or complex Goggles.

Authentication: X-Subscription-Token: <API_KEY> header

Details

Repository
github.com/brave/brave-search-skills
Category
Browser Automation & Scraping
First seen
Apr 16, 2026

More from brave/brave-search-skills

All 11