brave-search
Brave Search API wrapper
Decision gist · record as of 2026-08-14
Yes, with conditions. The package is actively maintained, has low install friction, and fills a clear need for privacy-preserving search integration. However, the license is unclear—verify the actual terms before use in proprietary contexts. The note that it is 'under active development' suggests the API surface may change; pin your version if stability is critical. No known vulnerabilities and reasonable dependency choices make it safe to try.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Brave API key, passed via BRAVE_API_KEY environment variable or as an argument to the Brave class.
- Low install friction with a pure-Python wheel distribution.
- Active maintenance with recent commits and no known vulnerabilities.
License · maintenance · safety
(unclear) — License status is unclear—no SPDX identifier or raw license text is recorded in the package metadata. Verify the actual license before use in proprietary or restricted contexts.
last release 2024-04-27 (839 days) · last repo commit 2026-05-17 · 90 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 88,161 downloads/mo, #13,745 on PyPI
Alternatives
Verify before relying
pip install brave-search
from brave import Brave
brave = Brave()
search_results = brave.search(q="cobalt mining", count=10)
web_results = search_results.web_results- Whether the package is production-ready given the note 'under active development, functionality may change'.
- Actual license terms and compatibility with your use case (license metadata is unclear).
- Performance and rate-limit behavior under typical usage loads.
What it is and what it does
brave-search is a Python client for the Brave Search API, which provides privacy-preserving search results as an alternative to Google Search. The package wraps Brave's REST endpoints and returns structured data for web, news, and video results. It supports both synchronous and asynchronous request patterns, letting you choose based on your application's concurrency model.
Beyond basic search, the package includes convenience methods for extracting and aggregating data from results—downloading PDFs found in results, extracting product prices and review scores, and applying Brave Goggles (custom re-ranking rules) to alter result ordering. Configuration is straightforward: pass your API key as an environment variable or constructor argument, then call search() with your query and optional parameters like result count or country filter.
Use it for
- Build a privacy-focused search application or metasearch tool that queries Brave instead of tracking-heavy alternatives.
- Extract and aggregate product pricing or review data from search results for price comparison or market research.
- Apply custom Goggles to re-rank search results for domain-specific queries (e.g., academic sources, thought leadership).
- Integrate privacy-preserving search into an async Python application without blocking I/O.
- Download and process PDFs discovered in search results for document research or archival workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
The package is actively maintained, has low install friction, and fills a clear need for privacy-preserving search integration. However, the license is unclear—verify the actual terms before use in proprietary contexts. The note that it is 'under active development' suggests the API surface may change; pin your version if stability is critical. No known vulnerabilities and reasonable dependency choices make it safe to try.
Install
brave-search on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with recent commits and no known vulnerabilities. Six runtime dependencies (requests, httpx, tenacity, pydantic, pytest-asyncio, numpy) are all stable, widely-used packages.
Requires a Brave API key, passed via BRAVE_API_KEY environment variable or as an argument to the Brave class.
License in practice
License status is unclear—no SPDX identifier or raw license text is recorded in the package metadata. Verify the actual license before use in proprietary or restricted contexts.
Quickstart
pip install brave-search
from brave import Brave
brave = Brave()
search_results = brave.search(q="cobalt mining", count=10)
web_results = search_results.web_results
Verify before relying
- Whether the package is production-ready given the note 'under active development, functionality may change'.
- Actual license terms and compatibility with your use case (license metadata is unclear).
- Performance and rate-limit behavior under typical usage loads.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release <4.0,>=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesrequestshttpxtenacitypydanticpytest-asyncionumpy |
| Maintenance | Actively maintained 839 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 88,161 / month, #13,745 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: brave_search-0.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “brave search api wrapper”
- brave-searchWrapper for the Brave Search API that provides both synchronous and…
- brave-search-python-clientA Python client library for the Brave Search API that supports web,…
- ddgsAggregates web search results from multiple search engines (Bing,…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also brave-search-python-client · yelpapi · googlesearch-python · brightdata-sdk · azure-search-documents · censys · ddgs · newsapi-python · adguardhome · python-documentcloud